Commit Graph

41470 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
1b7af4be90 Bug 845478 - Part 5: Use JS::CallArgs instead of vp in js/src/. r=evilpie 2014-03-24 08:49:44 -04:00
Birunthan Mohanathas
1fa74b1644 Bug 845478 - Part 4: Use JS::CallArgs instead of argc in js/src/builtin/. r=evilpie 2014-03-24 08:49:27 -04:00
Birunthan Mohanathas
c48ed081dd Bug 845478 - Part 3: Use JS::CallArgs instead of argc in js/src/. r=evilpie 2014-03-24 08:49:11 -04:00
Birunthan Mohanathas
87879c1566 Bug 845478 - Part 2: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/. r=evilpie 2014-03-24 08:48:52 -04:00
Birunthan Mohanathas
cbe2cfc4fb Bug 845478 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/shell/. r=evilpie 2014-03-24 08:48:37 -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
Phil Ringnalda
6b1d7eec4c Merge m-c to f-t 2014-03-22 17:48:30 -07:00
Shu-yu Guo
aec5110535 Bug 986717 - Fix typo in SnapshotIterator::allocationReadable. 2014-03-21 22:38:39 -07:00
Bobby Holley
b1aad59d64 Bug 986304 - Augment JSAPI to give callers the option to not define named functions on the scope object. r=terrence 2014-03-21 23:31:02 -03:00
Jeff Walden
8b9c5bf591 Bug 980962 - Fix the AsmJSArrayBuffer function when called using |new|. r=terrence over IRC
--HG--
extra : rebase_source : 6050d0283041fb5fbb549780abece586d1e9f918
2014-03-21 15:28:46 -07:00
Jeff Walden
85e409d130 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Jeff Walden
40a47ea060 Remove an unused variable in the shell. No bug, r=themaid
--HG--
extra : rebase_source : 2793c32ddb79901439d93f19136a906c96e3371a
2014-03-20 15:09:05 -07:00
Terrence Cole
b94991c554 Bug 985562 - Do not allocate large call objects in the nursery; r=jandem 2014-03-20 14:38:51 -07:00
Boris Zbarsky
25b6f9a6ac Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
0421d9d17b Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Jan de Mooij
f08e44a314 Bug 983709 part 2 - Fix MBinaryInstruction to not override congruentTo. r=h4writer 2014-03-21 15:53:00 +01:00
Jan de Mooij
a359e5e7c8 Bug 983709 part 1 - Don't mark shift instructions as commutative. r=h4writer 2014-03-21 15:48:27 +01:00
Lars T Hansen
469542aa31 Bug 983675 - Intrinsify and inline TypeDescrIsArrayType, TypeDescrIsUnsizedArrayType, TypeDescrIsSizedArrayType, TypeDescrIsSimpleType, ObjectIsTypedObject. r=shu 2014-03-21 09:18:09 -04: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
Lars T Hansen
c79d698110 Bug 983577 - Improvements to parallel and sequential map for TypedObject. r=shu 2014-03-21 09:05:37 -04: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