Commit Graph

3387 Commits

Author SHA1 Message Date
Jon Coppeard
fb6ccb11db Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Masatoshi Kimura
0102f14c73 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Terrence Cole
d2700b6596 Bug 989035 - Track malloced slots attached to the nursery. r=njn 2014-03-27 22:52:02 -04:00
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ms2ger
4eb83267c9 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Ryan VanderMeulen
a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Nathan Froyd
9d5430fc7b Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz 2014-03-22 13:04:09 -04:00
Wes Kocher
2a40007161 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Dave Townsend
980780332d 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
7e1256a594 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
d7c5e3051b Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Gabor Krizsanits
d4b6762114 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
Bobby Holley
830107fc87 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Bobby Holley
de8f0657d6 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
5bda3d8b1b 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
dffeca26fa Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Phil Ringnalda
9493e2fb24 Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Bobby Holley
0d5f47cda8 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
fec43f3ae0 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
4146c05d55 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
56aac00a06 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
a9d3924c56 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
8eb80b2fd1 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
f08d932ce0 Bug 975042 - Implement createHolder. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
60e8547108 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
9c97f0b173 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
c34dd9877d 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
558069c221 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
9099b263ed 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
0bc70db9d7 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
f816ce48b9 Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
ac8230799d Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
2c95000099 Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
5f92d5b6fa Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
9f22e17a78 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
239b34fee5 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
74283775f6 Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
e68a877e8f Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
009cf4dd56 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
1eb065e532 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
d43fdd46b2 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
1973d9aa6a Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
838db9bb08 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
5cc38c0e83 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
3364cb667b Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
a00932c5e2 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
9115f9b416 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
eb2c3f8bbb 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
6567ce6262 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
32333c6983 Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00