Commit Graph

32826 Commits

Author SHA1 Message Date
Hannes Verschore
73aa7b095c Bug 777262: IonMonkey: Inline more compare operations, r=jandem 2012-12-22 23:07:59 +01:00
Hannes Verschore
574decbf04 Bug 824005: Fix for v8-richards regression introduced in bug 813784, r=nbp 2012-12-22 17:09:32 +01:00
Boris Zbarsky
53a5112fb0 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Cameron McCormack
186baf5f18 Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted 2012-12-22 16:35:51 +11:00
Cameron McCormack
f4017c00cd Back out 047534c22207 and f95b0378d4ee (bug 820124) for reftest manifest parsing failures. 2012-12-22 12:54:38 +11:00
Sean Stangl
74475b85c9 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
372242a943 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Jeff Walden
ac06f32c75 Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when determining whether to check for an undeclared variable, when possibly adding a fast-path expando to the global object for assignment to a non-existent property. Instead examine the current bytecode to see if it's an undeclared variable access. r=bz, r=luke
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : aa656c52edc95cd95bb109dbfe2c40d8303dbe34
2012-12-19 16:49:30 -05:00
Masatoshi Kimura
9595813922 Bug 823080 - Fix warning spam on MSVC. r=sphink 2012-12-22 09:16:50 +09:00
Gavin Sharp
daab774d8a Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
Shu-yu Guo
fa2273f6d9 Bug 823390 - Kill clearParent and clearType calls in CloneScriptRegExpObject. (r=bhackett) 2012-12-20 21:13:37 -08:00
Jim Blandy
fd988f989e Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-21 14:49:21 -08:00
William Chen
de026650c9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent 2012-11-01 11:18:08 -07:00
Geoff Brown
8a13e7b206 Bug 823730 - Simplify make xpcshell-tests-remote make target; r=jmaher 2012-12-21 12:44:45 -07:00
Peter Van der Beken
f931ddad9f Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz.
--HG--
extra : rebase_source : f85002d801871a3a99c1b8bc121509ae87d2f665
2012-11-22 12:09:57 +01:00
Bobby Holley
f681aaffe9 Bug 809652 - Deny nativeCall for SecurityWrapper except under specific circumstances. r=jorendorff 2012-12-20 22:33:26 -08:00
Bobby Holley
4c226c845b Bug 809652 - Add gross one-off predicates to jsfriendapi. r=jorendorff 2012-12-20 22:33:26 -08:00
Bobby Holley
ee5cb1d935 Bug 809652 - Have SecurityWrapper::enter default to deny, and override SecurityWrapper::objectClassIs. r=jorendorff 2012-12-20 22:33:26 -08:00
Hannes Verschore
2177e96cef Bug 813784: Allow inlining of |arguments| in IM, r=nbp 2012-12-21 18:53:19 +01:00
Benjamin Peterson
0183064a12 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
893e85fa56 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
6f6a341ee2 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
2995d3615f Bug 804834 - Part 2: Disable for-each-in from content by default. r=waldo 2012-12-21 20:48:36 +09:00
Masatoshi Kimura
4b5034efa3 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
a9b9e9b3b7 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
071cbe12d2 Bug 823715 - Initialize FakeDOMObject.prototype in the shell. r=bz 2012-12-21 10:07:06 +01:00
Nicholas Nethercote
d978552677 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
5ba8900099 backout 6b17e37a0762 (Bug 822563) for build failure on windows 2012-12-20 14:02:11 -08:00
Jim Blandy
ef6e51ee3c Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-20 13:24:45 -08:00
Bobby Holley
efd3605ec9 Bug 822383 - Allow arbitrary proxies on the scope chain. r=luke 2012-12-20 11:26:35 -08:00
Bobby Holley
8547c57386 Bug 822961 - Implement JS_WrapId. r=billm 2012-12-20 11:26:35 -08:00
Jan de Mooij
5b8c87e3bc Bug 822385 - Add getter, setter and method with jitinfo to the shell. r=bz 2012-12-20 15:27:54 +01:00
Tom Schuster
82ff6c66fd Bug 822265 - Implement negateDouble cross-platform wise and use it for CodeGenerator. r=jandem 2012-12-20 15:06:37 +01:00
Tom Schuster
4c471ba78d Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden 2012-12-20 15:06:37 +01:00
Nicolas B. Pierron
67a0674c59 Bug 823061 - GetPropertyCache supports length properties of arrays. r=jandem 2012-12-20 04:14:26 -08:00
Nicholas Nethercote
27bfd27b37 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
09fa6b630b 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
4d4f84e2ba 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
a382d6628d 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
456e98911f Bug 822145 - Use correct allocator for CompileInfo on inlined frames, r=sstangl. 2012-12-19 16:24:42 -07:00
Jon Coppeard
7ee8836f06 Bug 820186 - Various crashes/assertions with gczeal(10) and random recursion. r=billm 2012-12-18 13:27:28 +00:00
Brian Hackett
01e32e3e59 Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-19 10:32:17 -07:00
Ed Morley
23dfce457d Backout 70f1b2db9f5f (bug 822116) for M2 crashes 2012-12-19 09:16:26 +00:00
Brian Hackett
57b542ce27 Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-18 21:26:09 -07:00
Kannan Vijayan
bd51eae35f Bug 819635 - Add explicit shape change check before generating setprop-add stub. r=dvander 2012-12-18 22:17:21 -05:00
Makoto Kato
9a7ebf8914 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Ryan VanderMeulen
f440c12fc5 Backed out changeset f7fee43555d8 (bug 822831) for bustage. 2012-12-18 21:26:39 -05:00
Steve Fink
7df87ecc1a Bug 822831 - Do not use Unrooted in a signal handler. r=billm 2012-12-18 17:33:25 -08:00
James Kitchener
1a57af8f67 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
d96eecbc71 Bug 821340 - Add test (r=test) 2012-12-18 17:02:57 -08:00
Norbert Lindenberg
0efc18e74f 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
e159649875 Merge m-c to inbound. 2012-12-18 18:45:16 -05:00
Brian Hackett
c236f2958e Bug 822089 - Don't compile off thread when profiling scripts, r=dvander. 2012-12-18 16:34:34 -07:00
Olli Pettay
68fe3c1606 Bug 790978 - Convert MutationObserver to webidl, r=bz
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Gary Kwong
27d934af03 Workaround YARR assert (bug 808478, r=sstangl). 2012-12-17 16:57:48 -08:00
Benjamin Peterson
794ff95ee7 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
9807c3a6de 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
5e6610fecb 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
a0f7ee362b 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
9b919115c4 No bug - Remove unused IonBuilder::jsop_deflocalfun. rs=Ms2ger on IRC 2012-12-18 16:56:23 +01:00
Nicolas B. Pierron
9163749e2d Bug 819865 - Make the callee canonical in IonBuilder. r=jandem 2012-12-18 06:04:43 -08:00
Nicholas Cameron
8582190667 Bug 818816; use conditional breakpoints for alignment checking; r=mjrosenb 2012-12-18 23:55:12 +13:00
Nicholas Cameron
a0e8029ae0 Bug 818816; add conditional breakpoints for the ARM macro assembler. r=mjrosenb 2012-12-18 23:55:12 +13:00
Jeff Walden
c6182723a8 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
ae897f07e2 Bug 821103 - Don't spit out strict warnings on non-strict code. r=njn 2012-12-17 19:11:44 -05:00
Masatoshi Kimura
b60e9c8e09 Bug 822094 - Part 1: Unwrap the transfable parameter if allowed. r=sfink 2012-12-17 17:43:45 -05:00
Gene Lian
6caa0f32d4 Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking 2012-12-17 13:29:00 +08:00
Brian Hackett
197107ea00 Bug 821735 - Cleanup/fix population and checking of register and slot information in safepoints, r=jandem. 2012-12-17 15:32:03 -07:00
Brian Hackett
3f1041b33c Bug 821788 - Prevent elimination of phis and resume point operands for operands of inline calls, r=jandem. 2012-12-17 15:10:12 -07:00
Ed Morley
55542c23dd Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE 2012-12-17 21:35:12 +00:00
Steve Fink
eedf2ba5aa Bug 821389 - Rooting for testLooselyEqual.cpp. r=terrence
--HG--
extra : rebase_source : f9190f387808dcacf86db265266f7bf7f7ca1ca2
2012-12-17 11:55:44 -08:00
Steve Fink
918b7d10bd Bug 817818 - Miscellaneous rooting fixes. r=terrence
--HG--
extra : rebase_source : 0b26361bc48a8c6879b85d9fa356e94f48b7b980
2012-12-17 11:55:15 -08:00
Steve Fink
6e044d1c7c Bug 821123 - do not assume the first rooter has been scanned. r=terrence
--HG--
extra : rebase_source : a59926b74388195337a066cb56786f119f7fe15c
2012-12-17 11:55:02 -08:00
Steve Fink
adf6a17149 Bug 822409 - Need definition of JSFlatString. r=jimb
--HG--
extra : rebase_source : b74378ab44fe8a206b669159376998094ff609ea
2012-12-17 11:54:17 -08:00
Jeff Walden
37bd17d951 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 : 0081cf0155a2ca30cee859db9dd9bf2e3374b204
2012-09-15 11:19:54 -07:00
Jim Mathies
f5694be27d Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
Bill McCloskey
e34c47ac9f Bug 811587 - Limit scheduledForDestruction assert to brain transplants (r=luke)
--HG--
extra : rebase_source : 95c4634f5862508d8a798a9c651fd9aba808ca25
2012-12-17 11:27:48 -08:00
Nicholas Nethercote
0a28025a76 Bug 821470 - Avoid calling TokenStream::strictMode() from the BytecodeEmitter. r=benjamin
--HG--
extra : rebase_source : 6099c1231425ca7b5fd5bf28ca9b712c840a31d2
2012-12-16 21:08:11 -08:00
Ed Morley
804adf7a93 Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures 2012-12-17 13:21:18 +00:00
Bill McCloskey
f3df68b8d2 Bug 819635. r=bhackett 2012-12-16 19:59:51 -05:00
Masatoshi Kimura
b92c391adc Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz 2012-12-16 19:57:12 -05:00
Trevor Saunders
0179193261 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Till Schneidereit
e95164a4cf Bug 784293 - Support creating and lazily cloning arbitrary objects in self-hosted code. r=jwalden
--HG--
extra : rebase_source : fd34d2f604ee41e7e44307f3095227d202c8fb55
2012-10-10 22:53:51 +02:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Erick Dransch
0c1a0170aa Bug 808286 - Use enum instead of JSBool for param to js_ErrorReportNumber. r=Waldo 2012-12-10 18:11:17 -08:00
Marty Rosenberg
b43c4fb0a4 Don't spew uninitialized memory. (bug 822042, r=evilpie) 2012-12-15 16:38:36 -05:00
Boris Zbarsky
1a4bc06879 Bug 773911 part 1. Inline js::GetContextCompartment. r=waldo 2012-12-15 11:53:15 -05:00
Jan de Mooij
ebedab03f4 Bug 821816 - Add INITELEM_ARRAY and use it instead of INITELEM in array literals. r=bhackett 2012-12-15 16:29:54 +01:00
Jan de Mooij
a9ea877eb9 Bug 821707 - Refactor INITELEM code in the interpreter. r=jorendorff 2012-12-15 12:12:46 +01:00
Gary Kwong
320471c480 Bug 810767 - Update Valgrind flags in jit_test.py, r=njn 2012-12-14 22:09:58 -08:00
Phil Ringnalda
404e6b04eb Back out 96b591267cb3 (bug 745194) for test failures on a CLOSED TREE 2012-12-14 14:53:06 -08:00
Jason Orendorff
cc7222b1d2 Backout a567cc63a389 (bug 820180) due to red on Windows.
--HG--
extra : rebase_source : 83177da726fdd2945a3c3293b72c8c615ed7b25d
2012-12-14 15:29:02 -06:00
Kannan Vijayan
d3beb89155 Bug 820084 - Fix handling of thisv value when top-level script is entered into via enterJIT. r=sstangl 2012-12-14 16:24:28 -05:00
Jason Orendorff
3814213457 Bug 817368 - Map.prototype.{keys,values,entries}. r=luke.
--HG--
extra : rebase_source : c802c900efe40c7204747519868051e9fa085e99
2012-12-14 14:33:13 -06:00
Jason Orendorff
4dc4213e81 Bug 820180 - Isolate JS pseudorandom number generator state per compartment. r=luke.
--HG--
extra : rebase_source : 966bf5fd222b342a3ede69c68cb95d97568d98b7
2012-12-14 14:27:22 -06:00
Jason Orendorff
243545fcd7 Bug 745194 - [jsdbg2] Crash on Heap, trying to execute NULL, with Debugger forced return, methodjit, and GC. r=bhackett.
--HG--
extra : rebase_source : f5dbf256b10161f0859df94dcccec123415d7a4b
2012-12-14 13:48:46 -06:00
Sean Stangl
3147f85d0c Bug 808245, Part 6/6 - Add MatchOnly mode and lazify RegExpStatics. r=dvander 2012-12-12 18:11:28 -08:00
Sean Stangl
b129f378d1 Bug 808245, Part 5/6 - Use MatchPairs for RegExp output. r=dvander 2012-12-12 17:42:02 -08:00
Sean Stangl
603410907a Bug 808245, Part 4/6 - Compile RegExpShared at execution time. r=dvander 2012-12-12 17:23:04 -08:00
Sean Stangl
02eafee661 Bug 808245, Part 3/6 - Merge RegExpCode into RegExpShared. r=dvander 2012-12-12 16:54:05 -08:00