Commit Graph

23613 Commits

Author SHA1 Message Date
Bobby Holley
37f8918d37 Bug 809652 - Add gross one-off predicates to jsfriendapi. r=jorendorff 2012-12-20 22:33:26 -08:00
Bobby Holley
a7fd1fbfc7 Bug 809652 - Have SecurityWrapper::enter default to deny, and override SecurityWrapper::objectClassIs. r=jorendorff 2012-12-20 22:33:26 -08:00
Hannes Verschore
c8bb8d3a81 Bug 813784: Allow inlining of |arguments| in IM, r=nbp 2012-12-21 18:53:19 +01:00
Benjamin Peterson
9e26bef53b Bug 823310 - Only report strict warnings when JSOPTION_STRICT is set. r=njn,jorendorff 2012-12-21 11:02:06 -06:00
Peter Van der Beken
b2b3e56308 Fix for bug 820577 (Support reparenting for new DOM binding objects). r=bholley/bz.
--HG--
extra : rebase_source : 66dad56b8f543790ffa7e595ccd684c4673403df
2012-09-26 16:17:46 +02:00
Peter Van der Beken
0730848e6c Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Masatoshi Kimura
2cf80eb0f3 Bug 804834 - Part 2: Disable for-each-in from content by default. r=waldo 2012-12-21 20:48:36 +09:00
Masatoshi Kimura
2a245d47d2 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Jan de Mooij
0d0f5c1c78 No bug - Fix Ion codegen comments (s/DOM_PROTO_INSTANCE_CLASS_SLOT/DOM_OBJECT_SLOT). r=bz on IRC DONTBUILD
--HG--
extra : rebase_source : 178fe45b481b2b35a90300b67dbcffc88a64b250
2012-12-21 10:51:03 +01:00
Jan de Mooij
db701d29c0 Bug 823715 - Initialize FakeDOMObject.prototype in the shell. r=bz 2012-12-21 10:07:06 +01:00
Nicholas Nethercote
9020268c6f Bug 814229 (part 3) - Unbreak JS shell builds that use --enable-threadsafe. r=dvander.
--HG--
extra : rebase_source : 5a0882930fea6aedd7bd08219f8f4648ced53f76
2012-12-20 23:00:12 -08:00
Daniel Holbert
863f2c123c backout 6b17e37a0762 (Bug 822563) for build failure on windows 2012-12-20 14:02:11 -08:00
Jim Blandy
f1078f4dc0 Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-20 13:24:45 -08:00
Bobby Holley
4b6a1fb5a1 Bug 822383 - Allow arbitrary proxies on the scope chain. r=luke 2012-12-20 11:26:35 -08:00
Bobby Holley
3654ad2713 Bug 822961 - Implement JS_WrapId. r=billm 2012-12-20 11:26:35 -08:00
Jan de Mooij
36475635f0 Bug 822385 - Add getter, setter and method with jitinfo to the shell. r=bz 2012-12-20 15:27:54 +01:00
Tom Schuster
309e48cc08 Bug 822265 - Implement negateDouble cross-platform wise and use it for CodeGenerator. r=jandem 2012-12-20 15:06:37 +01:00
Tom Schuster
bed05bdfc1 Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden 2012-12-20 15:06:37 +01:00
Nicolas B. Pierron
06e4e8fb0a Bug 823061 - GetPropertyCache supports length properties of arrays. r=jandem 2012-12-20 04:14:26 -08:00
Nicholas Nethercote
7bd984722f Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
7f52f9e813 Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Boris Zbarsky
a5342bd29d Bug 822340. Make the Ion optimization for DOM method calls sound. r=jandem
The static functions just got moved with no changes made to them
except for a change from inTypes->unknown() to
inTypes->unknownObject() in the first test in TestAreKnownDOMTypes,
becase the rest of the method depends on the stronger condition, and
it was being ensured accidentally before.
2012-12-19 17:47:39 -08:00
Bobby Holley
a4421fa00d Bug 823120 - Fix test. r=philor
<script> moves up to head, and the call to document.getElementById moves into go().
2012-12-19 15:27:49 -08:00
Brian Hackett
bc4fe8f85b Bug 822145 - Use correct allocator for CompileInfo on inlined frames, r=sstangl. 2012-12-19 16:24:42 -07:00
Jon Coppeard
76c7ac5669 Bug 820186 - Various crashes/assertions with gczeal(10) and random recursion. r=billm 2012-12-18 13:27:28 +00:00
Brian Hackett
5226bfbc9e Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-19 10:32:17 -07:00
Ed Morley
85776abd2f Backout 70f1b2db9f5f (bug 822116) for M2 crashes 2012-12-19 09:16:26 +00:00
Brian Hackett
f7e2c2afcd Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-18 21:26:09 -07:00
Kannan Vijayan
709cdefdd7 Bug 819635 - Add explicit shape change check before generating setprop-add stub. r=dvander 2012-12-18 22:17:21 -05:00
Makoto Kato
a59ffbb9b9 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Ryan VanderMeulen
337274748e Backed out changeset f7fee43555d8 (bug 822831) for bustage. 2012-12-18 21:26:39 -05:00
Steve Fink
f5d385cc2b Bug 822831 - Do not use Unrooted in a signal handler. r=billm 2012-12-18 17:33:25 -08:00
James Kitchener
3689e848a7 Bug 818620 - Evaluate all arguments if NaN present in Math.{max, min}(). r=jwalden
--HG--
extra : rebase_source : 9f451ebf817c640428030d338368da4809aac69d
2012-12-18 20:05:43 -05:00
Bill McCloskey
f0654c238f Bug 821340 - Add test (r=test) 2012-12-18 17:02:57 -08:00
Norbert Lindenberg
52cb71fedd Bug 769872 - Add utilities for self-hosted JavaScript code. r=till
--HG--
rename : js/src/builtin/array.js => js/src/builtin/Array.js
extra : rebase_source : 955ce06e402f76c08eeb0a69b142d4d14a7281c4
2012-12-18 18:44:43 -05:00
Ryan VanderMeulen
7b1ce7798e Merge m-c to inbound. 2012-12-18 18:45:16 -05:00
Brian Hackett
0badfa17f1 Bug 822089 - Don't compile off thread when profiling scripts, r=dvander. 2012-12-18 16:34:34 -07:00
Olli Pettay
04a744cce4 Bug 790978 - Convert MutationObserver to webidl, r=bz
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Gary Kwong
c5c4f0dd8f Workaround YARR assert (bug 808478, r=sstangl). 2012-12-17 16:57:48 -08:00
Benjamin Peterson
f9009a7959 Bug 822283 - Make APIs that access strictMode() on the TokenStream private. r=njn
--HG--
extra : rebase_source : 9707c69c9a9dc5fd8f762e770d4fec9a03c98af2
2012-12-17 19:51:54 -05:00
Jeff Walden
6f15ccae09 Bug 792108 - Add more truthiness tests to ensure strict equality isn't affected by JSCLASS_EMULATES_UNDEFINED, and that falsy objects don't compare equal unless they're actually the same object. Just tests, they pass locally for me with the --tbpl driver option to do what Tinderbox does, r=sparky 2012-12-18 17:01:46 -05:00
Bill McCloskey
cf65e80da1 Bug 821340 - Fix non-GC marking of weakmaps (r=mccr8)
--HG--
extra : rebase_source : e46b57a4619aa26cea067336b92a478c2cb4f6e7
2012-12-18 11:52:37 -08:00
Kannan Vijayan
cd2716cd49 Bug 819635 - Dont add setprop-add stub when adding setprop-set stub in ion ICs. r=mjrosenb 2012-12-18 14:29:04 -05:00
Jan de Mooij
4c5e897091 No bug - Remove unused IonBuilder::jsop_deflocalfun. rs=Ms2ger on IRC 2012-12-18 16:56:23 +01:00
Nicolas B. Pierron
1f6485a6d2 Bug 819865 - Make the callee canonical in IonBuilder. r=jandem 2012-12-18 06:04:43 -08:00
Nicholas Cameron
e8bcfc6de8 Bug 818816; use conditional breakpoints for alignment checking; r=mjrosenb 2012-12-18 23:55:12 +13:00
Nicholas Cameron
12c8147a0a Bug 818816; add conditional breakpoints for the ARM macro assembler. r=mjrosenb 2012-12-18 23:55:12 +13:00
Jeff Walden
4aca71290f Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
--HG--
extra : rebase_source : a76167661fffc26adf0e631d0b87c842b5fc0ed5
2012-09-15 11:19:54 -07:00
Benjamin Peterson
2f49579a9e Bug 821103 - Don't spit out strict warnings on non-strict code. r=njn 2012-12-17 19:11:44 -05:00
Masatoshi Kimura
23eedb7035 Bug 822094 - Part 1: Unwrap the transfable parameter if allowed. r=sfink 2012-12-17 17:43:45 -05:00