Commit Graph

574 Commits

Author SHA1 Message Date
Boris Zbarsky
eafe8cdc8f Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff 2014-07-23 01:06:33 -04:00
Eric Faust
9db4e68792 Bug 978279 - Implement revocation semantics. (r=jorendorff) 2014-07-22 14:10:31 -07:00
Eric Faust
05f98c317b Bug 978240 - Recomment remaining ES6 proxy traps. (r=jorendorff) 2014-07-22 14:10:30 -07:00
Bill McCloskey
926f8bfdd8 Bug 1017323 - Add-on interposition (r=bholley) 2014-07-14 22:10:05 -07:00
Chris Peterson
d70669b89f Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff 2014-07-14 19:14:54 -07:00
Jan de Mooij
88c3f549f6 Bug 1032238 - Make some API functions handle Latin1 strings. r=luke 2014-07-02 13:04:12 +02:00
Eric Faust
19ae308309 Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
04ec29520a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Eric Faust
d6d3b525f2 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Eric Faust
9cb376b81a Bug 1031243 - Remove FIXMEs invalidated by the removal of [[Origin]] from ES6. Comment only, DONTBUILD. (r=jorendorff) 2014-06-30 12:18:12 -07:00
Carsten "Tomcat" Book
e4f5e9f3a3 Backed out changeset 2c6403818106 (bug 1027402) for bustage on a CLOSED TREE 2014-06-27 14:21:46 +02:00
Carsten "Tomcat" Book
cbe01cdaa8 Backed out changeset 346912776f97 (bug 1027402) 2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f Backed out changeset 285c853fedfa (bug 1027402) 2014-06-27 14:21:20 +02:00
Carsten "Tomcat" Book
0c7ea5265d Backed out changeset 96443362db6f (bug 1027402) 2014-06-27 14:21:17 +02:00
Eric Faust
6f7e434c6b Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
62d61ccf3f Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
6091687271 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Eric Faust
89bdda2ed7 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Jon Coppeard
fd33884f18 Bug 988486 - Make more GCRuntime state private and add necessary accessors r=terrence 2014-06-26 10:07:35 +01:00
Jason Orendorff
3d134987af Bug 645416, part 27 - Implement Object.getOwnPropertySymbols(). r=Waldo.
--HG--
extra : rebase_source : 88b44837f0b845f88a881d4b472d3c9ef44bcbf0
2014-06-23 10:57:03 -05:00
Jason Orendorff
0582d104f2 Bug 645416, part 25 - Add support for enumerating symbol-keyed properties. r=Waldo.
Object.keys, Object.getOwnPropertyNames, and for-in loops skip symbol-keyed
properties per spec, but Object.defineProperties sees them, and a future
Reflect.ownKeys API will need to be able to see them.

This patch changes the comments on JSITER_FOREACH and JSITER_KEYVALUE, but not
the behavior. The comments were just wrong.

--HG--
extra : rebase_source : f1ad99d416df8a8acef5598bef2cde4b72dcdb31
2014-06-23 10:57:03 -05:00
Jason Orendorff
04be8d105f Bug 645416, part 24 - Modify proxy tests to add testing for symbol-keyed properties. r=efaust.
This patch also updates legacy direct proxies to cope with symbols. Uniform
behavior seems like the easiest thing to carry forward.

--HG--
extra : rebase_source : 5e5251c942e879a4440d7c0524343cf6fc744c7e
2014-06-23 10:57:02 -05:00
Eric Faust
827e6407ee Bug 1007334 - Clean up the GetOwnPropertyNames/Keys situation for ES6 proxies. (r=jorendorff) 2014-06-19 15:34:02 -07:00
Eric Faust
1181218fd6 Bug 980565 - Remove defunct Proxy.[[HasOwnProperty]]. (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/proxy/testDirectProxyHasOwn1.js => js/src/jit-test/tests/proxy/testDirectProxyHasOwnProperty.js
2014-06-18 19:46:07 -07:00
Bobby Holley
ad32879f51 Bug 1020609 - Inherit property descriptor attributes for pre-existing own value props in Proxy::set. r=efaust 2014-06-11 15:16:06 -07:00
Eric Faust
755a9e6057 Backout changesets 654a3fc28fa2 and 88fefd05fb64 (bug 1017862) for Cpp and mochitest failures on a CLOSED TREE. r=bustage 2014-06-09 15:48:55 -07:00
Eric Faust
ab659f5424 Bug 978229 - Remove now unused FromGenericPropertyDescriptor(). (r=Waldo over IRC) 2014-06-09 15:32:20 -07:00
Eric Faust
b582dbc630 Bug 1017862 - Followup: Fix bustage on a CLOSED TREE. (r=Waldo over IRC) 2014-06-09 14:34:34 -07:00
Eric Faust
96f3022119 Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-06-09 14:12:17 -07:00
Eric Faust
e9ce83973a Bug 978229 - Remove now unused NormalizeAndCompletePropertyDescriptor(). (r=Waldo) 2014-06-09 12:28:41 -07:00
Jason Orendorff
56cb95f6ad Bug 904723, part 1 - Add new IsConstructor intrinsic for self-hosting. r=till.
This also renames js_IsCallable to js::IsCallable and does some related light
cleaning work.
2014-06-06 11:15:21 -04:00
Jason Orendorff
0d1a9cf9ff Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust. 2014-06-06 11:15:21 -04:00
Jason Orendorff
3362b05761 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Eric Faust
169c1a117d Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
aafd528d5d Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Bobby Holley
560951f0fa Bug 987111 - Proxy::set should create enumerable properties. r=efaust
Properties are supposed to be enumerable by default. It's unfortunate that
the default is reversed in SpiderMonkey.
2014-06-05 22:32:38 -07:00
Eric Faust
e349c0faa8 Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff) 2014-06-03 13:00:59 -07:00
Eric Faust
42141896c8 Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
cc891efb61 Bug 997894 - Part 2: Replace existing externally rooted PropDesc sites with Rooted<PropDesc>. (r=terrence) 2014-06-03 12:05:48 -07:00
Wes Kocher
915f3c652a Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Bobby Holley
dd53b3d419 Bug 987111 - Proxy::set should create enumerable properties. r=efaust
Properties are supposed to be enumerable by default. It's unfortunate that
the default is reversed in SpiderMonkey.
2014-06-04 15:12:26 -07:00
Ed Morley
32efc68c65 Backed out changeset e4279ded250d (bug 997894) 2014-06-04 18:49:31 +01:00
Ryan VanderMeulen
39a95b6e0d Backed out 7 changesets (bug 1002737) for sm-rootanalysis test failures.
CLOSED TREE

Backed out changeset ec411f0ce167 (bug 1002737)
Backed out changeset 8a63bad8faed (bug 1002737)
Backed out changeset 5afce70dad1f (bug 1002737)
Backed out changeset 6d4043272a0a (bug 1002737)
Backed out changeset ad09630ae9a3 (bug 1002737)
Backed out changeset c0dd6b9cc07a (bug 1002737)
Backed out changeset b82adb960c54 (bug 1002737)
2014-06-03 17:07:47 -04:00
Ryan VanderMeulen
9ff23dd001 Backed out changeset e89d2416585f (bug 978236) for jsreftest failures. 2014-06-03 17:06:55 -04:00
Ryan VanderMeulen
5a02d1b5e9 Backed out changesets ea412568c4be and c25abea181d7 (bug 978238) for Linux64 debug crashes during packaging. 2014-06-03 17:06:39 -04:00
Eric Faust
6b5c4c188d Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
d2f6712b36 Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Eric Faust
b62e9a7890 Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff) 2014-06-03 13:00:59 -07:00
Eric Faust
aed6b81d3f Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff) 2014-06-03 12:37:44 -07:00