Commit Graph

3382 Commits

Author SHA1 Message Date
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Nathan Froyd
b937ecac05 Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz 2014-03-22 13:04:09 -04:00
Wes Kocher
f1802a1e54 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Dave Townsend
97c13cdb97 Bug 986757: Defer firing OnNewGlobalObject until after the __URI__ property is set for JS Modules. r=bholley 2014-03-25 16:33:06 -07:00
Vladimir Vukicevic
7be28f189f b=974660, remove unneeded and broken VTune cruft from xpcshell, r=sstangl
DONTBUILD

--HG--
extra : amend_source : f801a3a6b58dfa110e1d95ccf003d6475f589ee7
2014-03-24 15:28:12 -04:00
Ms2ger
8e4b6960fa Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Gabor Krizsanits
941fe47b2d Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
Bobby Holley
ec756ac56d Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Bobby Holley
517fa7aa17 Bug 986940 - Remove Cu.createDateIn. r=gabor
When we switch ObjectWrapper.jsm to use Cu.cloneInto, this became unused.
2014-03-24 11:30:20 -03:00
Birunthan Mohanathas
a4b438c948 Bug 845478 - Part 6: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc, vp in js/xpconnect/. r=bz 2014-03-24 08:49:57 -04:00
Bobby Holley
7f50082a84 Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Phil Ringnalda
233d8c22e3 Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Bobby Holley
a8f19c6cea Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
03d7299cd4 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-23 11:02:14 -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
Dave Townsend
6ab5501ee9 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07: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
Carsten "Tomcat" Book
6aaa55d6fb Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
70e881bcbd Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
05af31f010 Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley
aec13ac96b Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
df104a7ddb Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03: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
Gabor Krizsanits
146867598f Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits
6854f1d657 Bug 985472 - Name fixup in ExportFunction. r=bholley 2014-03-25 16:21:51 +01:00
Nathan Froyd
6593dd9255 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Bobby Holley
681c4916bf Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Bobby Holley
272a1920b3 Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz 2014-03-26 10:59:03 -03:00
Bobby Holley
2eb7cd279e Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz 2014-03-26 10:59:02 -03:00