Nicholas Nethercote
c79e53c9fa
Bug 824879 - Avoid -Wconstant-conversion warnings in vm/RegExpObject.cpp. r=sstangl.
...
--HG--
extra : rebase_source : c921633cea69a65cced62d56ef6baaa5a5cc2b04
2012-12-26 20:11:34 -08:00
Nicholas Nethercote
884ca45414
Bug 819819 (part 1) - Remove DMDV. r=khuey.
...
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Matt Brubeck
6cc14fe75a
Merge from mozilla-central to mozilla-inbound
2012-12-27 14:53:29 -08:00
Matt Brubeck
c8d17da002
Back out de5db0c4c3ff and ff14e0b88c10 (bug 820124) because of intermittent xpcshell assertions
2012-12-27 14:52:04 -08:00
Nicolas B. Pierron
30ef6fab57
Bug 780549 - AutoEnterCompilation: Handle init error cases. r=bhackett
2012-12-27 07:12:25 -08:00
Sean Stangl
99e3bb67da
Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander
2012-12-26 21:13:24 -08:00
Sean Stangl
91ca3735ad
Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander
2012-12-26 21:11:54 -08:00
Ryan VanderMeulen
e750bea8da
Backed out changesets 038194a2ffc3 and 4a7071b92069 (bug 820124) for mochitest orange. r=TryFTW
2012-12-26 22:48:23 -05:00
Sean Stangl
87bd6bbc66
Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander
2012-12-18 17:28:16 -08:00
Sean Stangl
cfac57f5ce
Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander
2012-12-14 16:07:35 -08:00
Gary Kwong
09df64a24d
Backout 4a66a93f8625 for causing mochitest failures.
2012-12-26 17:59:46 -08:00
Nicolas B. Pierron
aa5b826253
Bug 780549 - Handle init error cases. r=bhackett
2012-12-26 16:00:43 -08:00
Boris Zbarsky
05eeb23844
Bug 819624 part 2. Hook up the HTMLDocument WebIDL API to quickstubs. r=peterv
2012-12-26 13:37:26 -08:00
Daniel Holbert
d7f375cd29
Bug 824648: Add range-check & unsigned cast before comparing signed arg to unsigned array-length, in VMFunctions.cpp's CharCodeAt() impl. r=nbp
2012-12-26 09:29:19 -08:00
Jan de Mooij
3581b422a0
Bug 823482 part 1 - Refactor JSOP_EXCEPTION implementation in the interpreter. r=djvj
...
--HG--
extra : rebase_source : ec8f44feae0e8c74245347b1763f0275867764f5
2012-12-26 15:57:26 +01:00
Jan de Mooij
e7e9374304
Bug 824463 - Fix checkStackAlignment on ARM. r=mjrosenb
...
--HG--
extra : rebase_source : b8ee9a95e13cca2f0e5e00960e68c55e47053e59
2012-12-26 15:45:13 +01:00
Nicolas B. Pierron
35e783b88d
Bug 801775 - Filter IonMonkey C1/Ion spew based on scripts' origin. r=sstangl
2012-12-26 06:59:15 -08:00
Nicolas B. Pierron
69b090ef82
Bug 822938 - LCallee use a register instead of a fixed LArgument. r=jandem
2012-12-26 03:25:26 -08:00
Boris Zbarsky
7138ae455d
Bug 824517. Quickstub window.performance. r=peterv
2012-12-25 14:00:15 -08:00
David Zbarsky
68e3fa30e3
Bug 824604 - Remove quickstubs for nsIDOMSVGElement r=bz
2012-12-25 14:39:24 -05:00
Jan de Mooij
7e15147939
Bug 764310 part 2 - Implement JSOP_DEFFUN in IonMonkey. r=bhackett
2012-12-25 16:12:59 +01:00
Brian Hackett
4ac92d9993
Bug 824257 - Remove type barriers that are redundant with null/undefined checks, r=jandem.
2012-12-25 07:27:48 -07:00
Boris Zbarsky
2a16338145
Bug 816180. Convert DocumentFragment to WebIDL. r=peterv
2012-12-24 19:35:19 -08:00
Jan de Mooij
d66858d925
Bug 764310 part 1 - Refactor interpreter JSOP_DEFFUN logic. r=bhackett
2012-12-24 20:03:26 +01:00
Brian Hackett
b41d8c74d1
Bug 824275 - Improve precision of alias analysis, r=jandem.
2012-12-24 10:29:14 -07:00
James Kitchener
0bf2d770da
Bug 818620 - Testcase to ensure all arguments processed in Math.max/min. r=just-tests
...
--HG--
extra : amend_source : d73f36b24712273b8c56feb3a4a945f25d9a4f0f
2012-12-24 10:44:35 -06:00
Hannes Verschore
0310fbf831
Bug 823887: Correctly do a pre-increment on InlineFrameIterator, r=nbp
2012-12-24 11:57:13 +01:00
David Zbarsky
627bff8456
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
David Zbarsky
b3fd32ba23
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
...
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Boris Zbarsky
b04e54f1bc
Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv
2012-12-23 14:34:22 -08:00
Boris Zbarsky
dc011274dd
Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv
2012-12-23 14:33:33 -08:00
Ms2ger
4b35ea6845
Backout bug 823394 for reftest oranges.
2012-12-23 13:44:04 +01:00
David Zbarsky
3e8c5ab7a3
Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz
2012-12-23 03:22:58 -05:00
David Zbarsky
5941c6d502
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
2012-12-23 03:22:22 -05:00
Hannes Verschore
8700ad430c
Bug 777262: Assertation dropout, r=orange
2012-12-23 00:19:44 +01:00
Peter Van der Beken
6b82e32e41
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Hannes Verschore
6c915d95e6
Bug 777262: Fix windows bustage, r=bustage
2012-12-22 23:40:55 +01:00
Hannes Verschore
89d016b0ce
Bug 777262: IonMonkey: Inline more compare operations, r=jandem
2012-12-22 23:07:59 +01:00
Hannes Verschore
00ffdf6d1a
Bug 824005: Fix for v8-richards regression introduced in bug 813784, r=nbp
2012-12-22 17:09:32 +01:00
Boris Zbarsky
20a6d96dc4
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
f8b803f9d3
Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted
2012-12-22 16:35:51 +11:00
Cameron McCormack
8a7b51e7ad
Back out 047534c22207 and f95b0378d4ee (bug 820124) for reftest manifest parsing failures.
2012-12-22 12:54:38 +11:00
Sean Stangl
de60b6bf80
Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander
2012-12-18 17:28:16 -08:00
Sean Stangl
56b5d225aa
Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander
2012-12-14 16:07:35 -08:00
Jeff Walden
b08b0772fc
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
566d97ecf3
Bug 823080 - Fix warning spam on MSVC. r=sphink
2012-12-22 09:16:50 +09:00
Gavin Sharp
001499e5ee
Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures
2012-12-21 18:50:00 -05:00
Shu-yu Guo
470d8a1a2d
Bug 823390 - Kill clearParent and clearType calls in CloneScriptRegExpObject. (r=bhackett)
2012-12-20 21:13:37 -08:00
Jim Blandy
b28a46ce89
Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink
2012-12-21 14:49:21 -08:00
William Chen
b1c9a409b2
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent
2012-11-01 11:18:08 -07:00
Geoff Brown
696c6075b6
Bug 823730 - Simplify make xpcshell-tests-remote make target; r=jmaher
2012-12-21 12:44:45 -07:00
Peter Van der Beken
621ea014c0
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
2ca33ed4e3
Bug 809652 - Deny nativeCall for SecurityWrapper except under specific circumstances. r=jorendorff
2012-12-20 22:33:26 -08:00
Bobby Holley
c769a0aaa2
Bug 809652 - Add gross one-off predicates to jsfriendapi. r=jorendorff
2012-12-20 22:33:26 -08:00
Bobby Holley
60185d18f7
Bug 809652 - Have SecurityWrapper::enter default to deny, and override SecurityWrapper::objectClassIs. r=jorendorff
2012-12-20 22:33:26 -08:00
Hannes Verschore
a34f0e699f
Bug 813784: Allow inlining of |arguments| in IM, r=nbp
2012-12-21 18:53:19 +01:00
Benjamin Peterson
adc70db303
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
2e848596ed
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
b208a08d09
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
66912dba05
Bug 804834 - Part 2: Disable for-each-in from content by default. r=waldo
2012-12-21 20:48:36 +09:00
Masatoshi Kimura
4a07dc4302
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
2358eaae4b
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
0512b9a934
Bug 823715 - Initialize FakeDOMObject.prototype in the shell. r=bz
2012-12-21 10:07:06 +01:00
Nicholas Nethercote
145ae784ea
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
859070a12f
backout 6b17e37a0762 (Bug 822563) for build failure on windows
2012-12-20 14:02:11 -08:00
Jim Blandy
2e0cd5645a
Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink
2012-12-20 13:24:45 -08:00
Bobby Holley
c10b8bafc7
Bug 822383 - Allow arbitrary proxies on the scope chain. r=luke
2012-12-20 11:26:35 -08:00
Bobby Holley
2b0920646c
Bug 822961 - Implement JS_WrapId. r=billm
2012-12-20 11:26:35 -08:00
Jan de Mooij
fe39a3b765
Bug 822385 - Add getter, setter and method with jitinfo to the shell. r=bz
2012-12-20 15:27:54 +01:00
Tom Schuster
13b8b422f0
Bug 822265 - Implement negateDouble cross-platform wise and use it for CodeGenerator. r=jandem
2012-12-20 15:06:37 +01:00
Tom Schuster
89c79289eb
Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden
2012-12-20 15:06:37 +01:00
Nicolas B. Pierron
05bc31bf1b
Bug 823061 - GetPropertyCache supports length properties of arrays. r=jandem
2012-12-20 04:14:26 -08:00
Nicholas Nethercote
8c3e8f0d58
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
615e573039
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
6aebf1cca6
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
96738ace0c
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
eba2bee6ad
Bug 822145 - Use correct allocator for CompileInfo on inlined frames, r=sstangl.
2012-12-19 16:24:42 -07:00
Jon Coppeard
bd0bc31f63
Bug 820186 - Various crashes/assertions with gczeal(10) and random recursion. r=billm
2012-12-18 13:27:28 +00:00
Brian Hackett
5a77dd1531
Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem.
2012-12-19 10:32:17 -07:00
Ed Morley
807110f8c1
Backout 70f1b2db9f5f (bug 822116) for M2 crashes
2012-12-19 09:16:26 +00:00
Brian Hackett
07df257b21
Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem.
2012-12-18 21:26:09 -07:00
Kannan Vijayan
e71aa03bf9
Bug 819635 - Add explicit shape change check before generating setprop-add stub. r=dvander
2012-12-18 22:17:21 -05:00
Makoto Kato
d7ca789b4a
Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium
2012-12-19 11:49:44 +09:00
Ryan VanderMeulen
a46931ada9
Backed out changeset f7fee43555d8 (bug 822831) for bustage.
2012-12-18 21:26:39 -05:00
Steve Fink
11c38907be
Bug 822831 - Do not use Unrooted in a signal handler. r=billm
2012-12-18 17:33:25 -08:00
James Kitchener
bcf00220b9
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
ea5e9b0d75
Bug 821340 - Add test (r=test)
2012-12-18 17:02:57 -08:00
Norbert Lindenberg
3e0931ef13
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
102a580f26
Merge m-c to inbound.
2012-12-18 18:45:16 -05:00
Brian Hackett
3e90078ed2
Bug 822089 - Don't compile off thread when profiling scripts, r=dvander.
2012-12-18 16:34:34 -07:00
Olli Pettay
9ec599bc27
Bug 790978 - Convert MutationObserver to webidl, r=bz
...
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Gary Kwong
6900e0c183
Workaround YARR assert (bug 808478, r=sstangl).
2012-12-17 16:57:48 -08:00
Benjamin Peterson
944fdebd3e
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
206cbcdb5e
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
4b56853b88
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
6ee49a95f9
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
84e8e73e7f
No bug - Remove unused IonBuilder::jsop_deflocalfun. rs=Ms2ger on IRC
2012-12-18 16:56:23 +01:00
Nicolas B. Pierron
c945b8137c
Bug 819865 - Make the callee canonical in IonBuilder. r=jandem
2012-12-18 06:04:43 -08:00
Nicholas Cameron
cf75409acc
Bug 818816; use conditional breakpoints for alignment checking; r=mjrosenb
2012-12-18 23:55:12 +13:00
Nicholas Cameron
953359c94e
Bug 818816; add conditional breakpoints for the ARM macro assembler. r=mjrosenb
2012-12-18 23:55:12 +13:00