Commit Graph

515 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1bad801bdd Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
5ccb1aaad6 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Bill McCloskey
4ed9efec48 Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley) 2014-06-02 18:04:21 -07:00
Bobby Holley
4e0cd0103f Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor 2014-06-02 13:55:20 -07:00
Bobby Holley
a70a6b3d7d Bug 992958 - Add support for prototype JSPropertySpecs on ClassSpec. r=luke 2014-05-23 16:53:03 -07:00
Julien Levesy
bb264024ec Bug 1006692 - Replaced nsScriptSecurityManager::SubjectIsPrivileged and AccessCheck::IsCallerChrome by nsContentUtils::IsCallerChrome. r=bholley 2014-05-19 13:39:00 +02:00
Bobby Holley
9142b5fa4e Bug 1001198 - Explicitly fire up the SSM from nsXPConnect. r=gabor 2014-05-06 23:17:43 -07:00
Bobby Holley
e76375b0e6 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Jon Coppeard
e52714cca7 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Michael Shuen
9d2370cb2f Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Birunthan Mohanathas
00f577316a Bug 866289 - Make mode lines consistent in js/xpconnect/ for 4 space indented files. r=Ms2ger 2014-04-03 07:58:00 -04:00
Jason Orendorff
409179b8a6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff
009c8c80e0 Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Jason Orendorff
b2a996f2e3 Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo. 2014-04-25 16:11:00 -05:00
Jason Orendorff
ff629d2bb4 Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
--HG--
extra : rebase_source : a26eb85a086a18219a4d423cd7ad49a92cfd2584
2014-04-25 15:07:18 -05:00
Peter Van der Beken
333182db64 Bug 993057 - Fix Xrays to disallow indexed expando properties on Xrays for Window with a WebIDL binding. r=bholley.
--HG--
extra : rebase_source : a7762fc56b9ad1801be22aa3380f430b44082f9e
2014-02-15 22:12:35 +01:00
Bobby Holley
681c4916bf Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Bobby Holley
44c28bf386 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
37409460f3 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
0aa740a8ce Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
b392cb1875 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
3e1bc46ccf Bug 975042 - Implement createHolder. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
2ff7bd4ed5 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
126d0ab0f9 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-23 11:02:12 -03:00
Bobby Holley
e9c4522522 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Carsten "Tomcat" Book
f3d2e516ee Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
dacc94b8b8 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
29455a5f1a Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
b2e416c8b8 Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
ba5d2ea41e Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
9f94fcc80e Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
172964cc89 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
571b6e04f0 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Bobby Holley
70a916460f Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
dfee9350c7 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
7d73a1180e Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
067c169f3d Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
91495a5d24 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
5563fd5efe Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
93d2645e45 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Bobby Holley
0746f87f9f Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Bobby Holley
4fb8ea865c Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley
4bf8147d2b Bug 976704 - Make opaque security wrappers non-callable. r=gabor,sr=mrbkap 2014-03-18 19:23:45 -03:00
Peter Van der Beken
79452ebb1f Bug 982112 - Make accesscheck code deal with WebIDL bindings. r=bz. 2013-11-05 09:47:59 +01:00
Jon Coppeard
dd7bb24003 Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Bobby Holley
a811f156cf Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz 2014-03-04 10:05:07 -08:00
Bobby Holley
840a00ea3f Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor 2014-02-25 08:38:33 -08:00
Bobby Holley
8add84b025 Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Bobby Holley
076b37d7fa Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley
58c0c8876c Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor 2014-02-21 15:55:31 -08:00