Commit Graph

33668 Commits

Author SHA1 Message Date
Jason Orendorff
e48c02c29e Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust. 2014-06-06 11:15:21 -04:00
Jason Orendorff
89f5b4b3cc Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett. 2014-06-05 13:23:40 -04:00
Jason Orendorff
feb5c344e3 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Jason Orendorff
617916990c Bug 1017292 - Make jstests.py start much faster when running only a few tests. r=terrence. 2014-06-05 13:18:52 -04:00
Jason Orendorff
c216f0178a Bug 1021001 - Fix some GCC warnings. r=terrence. 2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
3401eb8b0d Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE 2014-06-06 15:49:45 +02:00
Lars T Hansen
cb3a49ad4e Bug 933313: Per-worker generational GC for PJS. Take 2. r=jandem, r=shu, r=terrence, r=jonco 2014-06-06 11:42:10 +02:00
Bobby Holley
29a27a547e Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Jan de Mooij
09f077a98b Bug 1020420 followup - Add explicit template instantiations to fix b2g opt compile errors on a CLOSED TREE. r=bustage 2014-06-06 12:00:48 +02:00
Jan de Mooij
a4eee954a6 Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn 2014-06-06 11:17:52 +02:00
Jan de Mooij
66afe359e5 Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn 2014-06-06 11:17:51 +02:00
Jan de Mooij
7585ece26e Bug 1020420 part 2 - Refactor js_strtod. r=njn 2014-06-06 11:17:49 +02:00
Jan de Mooij
bf5026e75f Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn 2014-06-06 11:17:47 +02:00
Jan de Mooij
c5a77bbf50 Bug 1020892 - Quell some GCC warnings. r=luke 2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
1f3b65a7e2 Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE 2014-06-06 10:18:04 +02:00
Lars T Hansen
6eab9bb8a5 Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence 2014-06-06 09:21:52 +02:00
Eric Faust
9da3a7dfbb Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
997870d7ce Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Bobby Holley
39ad5659cd Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
011d301bcf Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
d8d9bb0da7 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
fe21607285 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
e068af9052 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
bd1f06fe45 Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
23f82282b6 Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
c1024a1099 Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-05 22:32:38 -07:00
Bobby Holley
8b18cc3256 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
Bobby Holley
14943a03e1 Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-05 22:32:37 -07:00
Bobby Holley
1e02a0c208 Bug 987111 - Introduce a method to determine whether a given PropertyDescriptor is an accessor prop. r=terrence 2014-06-05 22:32:37 -07:00
Bobby Holley
d0c454279b Bug 987111 - Add an assign() method to MutablePropertyDescriptorOperations. r=terrence
It's unfortunate the we need to operate on the raw JSPropertyDescriptor for
|other|, but the specialization that makes Handle<JSPropertyDescriptor> work is
declared later in the file, which isn't kosher.
2014-06-05 22:32:37 -07:00
Bobby Holley
333e3921f1 Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley
40b9a11acf Bug 1021312 - use a fresh zone for xpcshell. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley
b6f5a8c755 Bug 1021312 - Wrap strings in CloneNonReflectors. r=mccr8 2014-06-05 22:32:36 -07:00
Wes Kocher
f56f262ffb Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE 2014-06-05 18:23:22 -07:00
Eric Faust
8cd0b6c43e Bug 978236 - Implement Proxy.[[DefineProperty]] to ES6 standard. (r=jorendorff) 2014-06-03 13:00:59 -07:00
Nathan Braswell
3cb264cd82 Bug 1017275 - Make Number.isNaN and Number.isFinite inlinable. r=jwalden
--HG--
extra : rebase_source : 3a1bc67198c948b29efdfa96e86f7fbdc22ce8d0
2014-06-05 15:40:20 -07:00
Eric Faust
9532f00a71 Bug 1002737 - Fix PropDesc vector rooting in DebugObject_defineProperties. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
7df8b2e42b Bug 1002737 - Implement PropDesc::wrapInto as JSCompartment::wrap. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
013d6ea97f Bug 1002737 - Assert more about PropDesc definedness in various functions. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
865167cb7b Bug 1002737 - Convert PropDesc::pd_ to a JSObject *. (r=jorendorff) 2014-06-03 12:37:44 -07:00
Eric Faust
0ca0b376aa Bug 1002737 - Make PropDesc::setUndefined() play nicer with our asserts. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
9fc9c1d840 Bug 1002737 - Make AutoPropDescRooter into an AutoVectorRooter. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
aaec6b5787 Bug 1002737 - Find a new home for PropDesc::unwrapDebuggerObjectsInto. (r=jorendorff) 2014-06-03 12:37:43 -07:00
Eric Faust
815a36ef4b Bug 997894 - Part 2: Replace existing externally rooted PropDesc sites with Rooted<PropDesc>. (r=terrence) 2014-06-03 12:05:48 -07:00
Eric Faust
fbb2eed3cd Bug 997894 - Part 1: Implement Rooted API for PropDesc. (r=terrence) 2014-06-03 12:05:46 -07:00
Eric Faust
b6a5d37cd3 Bug 997894 - Part 0: Factor PropDesc out into its own header. (r=jorendorff) 2014-06-03 12:01:08 -07:00
Bobby Holley
fd0a382cac Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-05 16:24:07 -07:00
Nicholas Nethercote
b1ede4a8e8 Bug 1019825 - Fix leak in error path in JS_NewRegExpObject(). r=mccr8.
--HG--
extra : rebase_source : be80e04714af0d3ea1108be562047195e1fa3f0a
2014-06-04 22:45:40 -07:00
Shu-yu Guo
b16f977db1 Bug 1016523 - Followup: fix include order. 2014-06-05 15:41:55 -07:00
Jon Coppeard
773bc32603 Bug 1020690 - Type exact stack rooting machinery. r=sfink
--HG--
extra : rebase_source : 366ff0579912b8a03f29abb882cabcc982a44d47
2014-06-05 10:38:00 -04:00