Commit Graph

23901 Commits

Author SHA1 Message Date
Jon Coppeard
0ee880a1ab Bug 824321 - "Assertion failure: !IsThingPoisoned(thing)," r=terrence
--HG--
extra : rebase_source : e1662451f8f90af0b1f25073e7f919cebdf5d410
2013-01-02 17:22:14 +00:00
Jan de Mooij
7329aa7ce5 No bug - Fix jit_test.py help message. rs=mjrosenb on IRC DONTBUILD 2013-01-07 11:53:01 +01:00
Gregory Szorc
538d68d893 Merge mozilla-central into build-system 2012-12-30 13:47:04 -08:00
Jan de Mooij
94461d17f1 Bug 824863 - Fix regalloc bug in JM ionCompileHelper. r=bhackett 2012-12-29 22:02:43 +01:00
Peter Van der Beken
aeb099b863 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
429830ebec Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
3bea4275da Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
9ca46c7fbd Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken
bd72187758 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
Nicolas B. Pierron
dc13c3740c Bug 825599 - Specialize type of switch's conditions. r=h4writer 2013-01-04 16:43:23 -08:00
Jeff Walden
816e713d85 Whitespace tab-killing patrol. No bug, r=sparky 2013-01-04 17:00:43 -06:00
Jeff Walden
f1646c3edf Bug 824217 - Make ChromeObjectWrapper::getPropertyDescriptor not pretend no descriptor exists when the property exists along the prototype chain, when the property is being resolved just before an assignment. r=bholley 2013-01-03 17:55:58 -06:00
Jeff Walden
7db245fd86 Bug 824217 - Remove the mode argument from the PIERCE macro to eliminate all but one use of JSRESOLVE_ASSIGNING from jswrapper.cpp. r=bholley
--HG--
extra : rebase_source : 107e4a30956092daf38887cd4b329a6f3711f025
2013-01-03 16:46:50 -06:00
Ben Turner
6a3e27830f Bug 813867 - 'Report memory for web workers that use ctypes'. r=jlebar+jorendorff.
--HG--
extra : rebase_source : 8ecb268167e840f26dd53a774c7e978b15ae3017
2012-12-30 10:21:52 -08:00
William Chen
8f2a3385ae Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Terrence Cole
f7a2bb0534 Bug 826126 - Just use an assert to check for aliasing; r=benjamin
This appears to be debug code that crept in for bug 767013.

--HG--
extra : rebase_source : 9f616676d77432ec5f05c5dfa7e9998ac649797a
2013-01-02 17:13:16 -08:00
Jeff Walden
86789118e4 Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Gregory Szorc
b269969d04 Merge mozilla-central into build-system 2012-12-24 09:47:35 -08:00
David Zbarsky
cd3a226611 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
29dc901587 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
Gregory Szorc
833f0e5afe Merge mozilla-central into build-system 2012-12-22 15:29:20 -08:00
Cameron McCormack
876ed59253 Back out 047534c22207 and f95b0378d4ee (bug 820124) for reftest manifest parsing failures. 2012-12-22 12:54:38 +11:00
Boris Zbarsky
df1030e8d7 Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv 2012-12-23 14:34:22 -08:00
Boris Zbarsky
b3efacb80d Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Gregory Szorc
9e203b6270 Bug 804865 - Require Python 2.7 to build the tree; r=ted 2012-12-20 15:45:26 -08:00
Nicolas B. Pierron
4b3ce2262c Bug 780549 part 2 - Check returned value of AutoEnterCompilation::init in Ion compilation. r=bhackett a=abillings 2012-12-29 02:36:28 -08:00
Boris Zbarsky
06699d1875 Bug 825365. Fix the softp version of MacroAssemblerARMCompat::passABIArg to not add no-op register moves to the MoveResolver. r=mjrosenb 2012-12-28 20:02:59 -08:00
Benjamin Peterson
023faa1e56 backout bug 810525 for failing jit-tests 2012-12-28 21:52:52 -06:00
Josh Matthews
e73f0795ee Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Brendan Eich
9c451b9ce8 Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=luke) 2012-12-28 16:09:25 -08:00
Josh Matthews
cf70f20916 Backed out changeset a47d98073d4e (bug 823884) 2012-12-28 19:03:49 -05: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
Jeff Walden
ce89319fe6 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Boris Zbarsky
ee882be1d9 Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
0f7b83e7d7 Bug 824823 part 0. Fix a test to keep using an XPCWrappedNative element for now until bug 825053 is fixed. Verbal r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
0635656574 Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv 2013-01-04 12:02:13 -05:00
Hannes Verschore
125c9808e2 Bug 825705: Creating this on caller-side shouldn't query prototype for unknown objects, r=jandem 2013-01-04 17:11:32 +01:00
Ehsan Akhgari
faeec71701 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Brian Hackett
c136667866 Bug 825447 - Populate safepoints directly in backtracking register allocator, r=jandem. 2013-01-04 07:53:20 -07:00
Sean Stangl
2e3d7dac33 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
74378625b2 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Jeff Walden
8965d7c249 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
fd507ef09f Bug 823080 - Fix warning spam on MSVC. r=sphink 2012-12-22 09:16:50 +09:00
Gavin Sharp
5f75f8883d Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
Shu-yu Guo
421bbf65bf Bug 823390 - Kill clearParent and clearType calls in CloneScriptRegExpObject. (r=bhackett) 2012-12-20 21:13:37 -08:00
Jim Blandy
52240918fd Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-21 14:49:21 -08:00
Boris Zbarsky
a5c9ee7be7 Bug 817943 part 2. Make the x86-64 and ARM versions of passABIArg not generate no-op moves and add asserts to the moveResolver that there are no such moves. r=pierron,mjrosenberg 2012-12-28 12:40:45 -08:00
Boris Zbarsky
d4903aebb9 Bug 817943 part 1. Introduce a GetTempRegForIntArg function that can be used to get registers to store things you plan to pass to a function call in, and use it for DOM getters/setters/methods. r=pierron 2012-12-28 12:40:44 -08:00
Hannes Verschore
32c500981e Bug 823884: Make call uninlineable when aborting during inlining, r=nbp 2012-12-28 21:33:07 +01:00
Trevor Saunders
6380733341 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Terrence Cole
f9b3a8e02d Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Tom Schuster
a10416e8fc Bug 822436 - IonMonkey: Inline Math.imul. r=h4writer 2013-01-04 00:10:19 +01:00
Jeff Walden
cec653ab7c Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Nicholas Nethercote
4a7bdc918c Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz. 2013-01-06 20:43:54 -08:00
Nicholas Nethercote
81a169a667 No bug. Fix -Wnewline-eof warning in jsfriendapi.h. r=me. 2013-01-06 20:39:27 -08:00
Hannes Verschore
40298adeaf Bug 827082: Abort when creating this for native non constructing function, r=evilpie 2013-01-06 15:25:19 +01:00
Ms2ger
6e82859d17 No bug - Fix four warnings in js/src; r=sparky 2013-01-06 13:45:56 +01:00
Hannes Verschore
a9fccc4e48 Bug 824347: Remove assertion that became incorrect when inlining functions with arguments object landed, r=nbp 2013-01-05 22:27:13 +01:00
Ehsan Akhgari
b7608f387d Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Nicholas Nethercote
b6939f2c42 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Geoff Brown
8399039307 Bug 821424 - Make target for per-directory cppunittests-remote; r=ted.mielczarek
--HG--
extra : rebase_source : 487887607421f319dc98c1dcb874866cd0f7d09e
2013-01-03 13:02:11 -07:00
Boris Zbarsky
d7e035eff2 Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv 2013-01-03 14:02:52 -05:00
Norbert Lindenberg
e00063b924 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 1). r=jwalden
--HG--
extra : rebase_source : 97642cc28df75a5199e935bdb7ba6045649dd8d6
2013-01-03 12:29:15 -06:00
Norbert Lindenberg
6bfc34b95f Bug 769872 - Add support for default locale for Internationalization API. r=jwalden
--HG--
extra : rebase_source : f4b3275cc8ea9274841e1a144ce33e97c098f193
2013-01-03 12:29:09 -06:00
Jeff Walden
7747b60f9c Bug 752578 - Remove the JS guard object implementation. r=Ms2ger
--HG--
extra : rebase_source : 3802e20dc76c7b18001cf852f748099ccb493d2e
2012-12-27 11:20:22 -06:00
Jeff Walden
ed57d9f01e Bug 752578 - Use mfbt's guard object implementation in js/ipc. r=Ms2ger
--HG--
extra : rebase_source : 503ea2a8098440b99b27ba0b30e5ec0ca14d2db9
2012-12-27 11:20:22 -06:00
Jeff Walden
6b3dd60b64 Bug 752578 - Use mfbt's guard object implementation rather than using our own in the trickier cases. r=Ms2ger
--HG--
extra : rebase_source : 7dd7e730a134114e187fda1b6b0820b37e544f9f
2012-12-27 11:20:22 -06:00
Jeff Walden
430b9a273b Bug 752578 - Use mfbt's guard object implementation rather than using our own in all the easy cases. r=Ms2ger
--HG--
extra : rebase_source : ba7faa490cdc5c9b85b5617ff5bb17246b74868e
2012-12-27 11:20:22 -06:00
Ed Morley
f14bf64427 Backout 119c60543071 (bug 751156) for robocop failures 2013-01-03 18:12:36 +00:00
Jan de Mooij
3bba1e2ed9 Bug 825892 - Remove JSOP_LOOKUPSWITCH. r=bhackett 2013-01-03 18:35:57 +01:00
Jan de Mooij
00cb82cf7d Bug 825966 part 2 - Mark JSOP_CASE/JSOP_DEFAULT targets as safepoint. r=bhackett 2013-01-03 18:35:54 +01:00
Jan de Mooij
6b8eb14148 Bug 825966 part 1 - Remove unused Bytecode::switchTarget. r=bhackett 2013-01-03 18:35:52 +01: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
Nicholas Nethercote
12c4c00d62 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
0a2709a9bb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Matt Brubeck
f0319e6c3c Merge from mozilla-central to mozilla-inbound 2012-12-27 14:53:29 -08:00
Matt Brubeck
147a908575 Back out de5db0c4c3ff and ff14e0b88c10 (bug 820124) because of intermittent xpcshell assertions 2012-12-27 14:52:04 -08:00
Nicolas B. Pierron
3bad100121 Bug 780549 - AutoEnterCompilation: Handle init error cases. r=bhackett 2012-12-27 07:12:25 -08:00
Sean Stangl
3728dd7ebc Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-26 21:13:24 -08:00
Sean Stangl
2540fca405 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-26 21:11:54 -08:00
Ryan VanderMeulen
7551c48558 Backed out changesets 038194a2ffc3 and 4a7071b92069 (bug 820124) for mochitest orange. r=TryFTW 2012-12-26 22:48:23 -05:00
Sean Stangl
a247331c37 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
7f806aa241 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Gary Kwong
0b6271a5d4 Backout 4a66a93f8625 for causing mochitest failures. 2012-12-26 17:59:46 -08:00
Nicolas B. Pierron
2c1022bbbc Bug 780549 - Handle init error cases. r=bhackett 2012-12-26 16:00:43 -08:00
Boris Zbarsky
b8073abc89 Bug 819624 part 2. Hook up the HTMLDocument WebIDL API to quickstubs. r=peterv 2012-12-26 13:37:26 -08:00
Daniel Holbert
18c78d344e 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
be679ba2ac 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
16fa715d6a Bug 824463 - Fix checkStackAlignment on ARM. r=mjrosenb
--HG--
extra : rebase_source : b8ee9a95e13cca2f0e5e00960e68c55e47053e59
2012-12-26 15:45:13 +01:00
Nicolas B. Pierron
00b2d8a0b4 Bug 801775 - Filter IonMonkey C1/Ion spew based on scripts' origin. r=sstangl 2012-12-26 06:59:15 -08:00
Nicolas B. Pierron
53d06365d2 Bug 822938 - LCallee use a register instead of a fixed LArgument. r=jandem 2012-12-26 03:25:26 -08:00
Boris Zbarsky
e845de4094 Bug 824517. Quickstub window.performance. r=peterv 2012-12-25 14:00:15 -08:00
David Zbarsky
4132d3061c Bug 824604 - Remove quickstubs for nsIDOMSVGElement r=bz 2012-12-25 14:39:24 -05:00
Jan de Mooij
753b7b9286 Bug 764310 part 2 - Implement JSOP_DEFFUN in IonMonkey. r=bhackett 2012-12-25 16:12:59 +01:00
Brian Hackett
c9ab8e0aba Bug 824257 - Remove type barriers that are redundant with null/undefined checks, r=jandem. 2012-12-25 07:27:48 -07:00
Boris Zbarsky
ab0dbf07d1 Bug 816180. Convert DocumentFragment to WebIDL. r=peterv 2012-12-24 19:35:19 -08:00
Jan de Mooij
063579a009 Bug 764310 part 1 - Refactor interpreter JSOP_DEFFUN logic. r=bhackett 2012-12-24 20:03:26 +01:00
Brian Hackett
12efb9dccc Bug 824275 - Improve precision of alias analysis, r=jandem. 2012-12-24 10:29:14 -07:00
James Kitchener
97820d8081 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
faa4252ff3 Bug 823887: Correctly do a pre-increment on InlineFrameIterator, r=nbp 2012-12-24 11:57:13 +01:00
William Chen
52de923193 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent 2012-11-01 11:18:08 -07:00
Geoff Brown
8b55dd24fe Bug 823730 - Simplify make xpcshell-tests-remote make target; r=jmaher 2012-12-21 12:44:45 -07:00
Ms2ger
ab46722ce3 Backout bug 823394 for reftest oranges. 2012-12-23 13:44:04 +01:00
David Zbarsky
4612303f43 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
9a8115eee5 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz 2012-12-23 03:22:22 -05:00
Hannes Verschore
5df752742e Bug 777262: Assertation dropout, r=orange 2012-12-23 00:19:44 +01:00
Peter Van der Beken
23f8debd95 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
7a2823c416 Bug 777262: Fix windows bustage, r=bustage 2012-12-22 23:40:55 +01:00
Hannes Verschore
e4fc6ef7c3 Bug 777262: IonMonkey: Inline more compare operations, r=jandem 2012-12-22 23:07:59 +01:00
Hannes Verschore
ce3ece2587 Bug 824005: Fix for v8-richards regression introduced in bug 813784, r=nbp 2012-12-22 17:09:32 +01:00
Boris Zbarsky
c4e0d0fac2 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
83d448ae75 Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted 2012-12-22 16:35:51 +11:00
Terrence Cole
f79ae9115b Bug 799252 - Remove SkipRoots in jsstr.cpp; r=Waldo 2012-10-16 16:30:02 -07:00
William Chen
481bdc8fcd Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey 2013-01-08 09:36:05 -08:00
Ed Morley
61182cf1b5 Backout d62218c74497 (bug 826673) for crashes on a CLOSED TREE 2013-01-08 12:26:38 +00:00
Jon Coppeard
a094e60ee4 Bug 826673 - GC: Only finish sweeping the current compartment group on reset r=billm
--HG--
extra : rebase_source : 2a7e505e2917543c7833f3214a8cb29307f4bf6a
2012-12-13 14:28:13 +00:00
Justin Lebar
2039003bca Bug 826951 - Compact hashtables if they're underloaded, instead of shrinking them by a factor of 2. r=luke 2013-01-08 11:04:19 +01:00
Justin Lebar
afdc381a5c Bug 827234 - Move Swap to js/public/Utility from js/src/jsutil.h. r=terrence 2013-01-08 11:04:19 +01:00
Justin Lebar
2c9102279d Bug 827238 - Fix an out-of-date comment in js/public/HashTable.h r=luke 2013-01-08 11:04:19 +01: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
Peter Van der Beken
09bb1c4675 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
e3b2e4ad4b Bug 809652 - Deny nativeCall for SecurityWrapper except under specific circumstances. r=jorendorff 2012-12-20 22:33:26 -08:00
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
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
Gene Lian
f48d0b7bff 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
e33ad42761 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
88c9f11bcc 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
c55d4f4e1a Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE 2012-12-17 21:35:12 +00:00
Steve Fink
ec2833ff3f Bug 821389 - Rooting for testLooselyEqual.cpp. r=terrence
--HG--
extra : rebase_source : f9190f387808dcacf86db265266f7bf7f7ca1ca2
2012-12-17 11:55:44 -08:00
Steve Fink
a11c81e2f5 Bug 817818 - Miscellaneous rooting fixes. r=terrence
--HG--
extra : rebase_source : 0b26361bc48a8c6879b85d9fa356e94f48b7b980
2012-12-17 11:55:15 -08:00
Steve Fink
2cb1932439 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
7839b02ba3 Bug 822409 - Need definition of JSFlatString. r=jimb
--HG--
extra : rebase_source : b74378ab44fe8a206b669159376998094ff609ea
2012-12-17 11:54:17 -08:00
Jeff Walden
3b056a88f9 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
f5523fcce2 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
b84a200306 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
2e2da37c6a 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
00264a3661 Bug 820471 - Disable test_weakmaps.xul on Windows for too many intermittent failures 2012-12-17 13:21:18 +00:00
Bill McCloskey
65569579db Bug 819635. r=bhackett 2012-12-16 19:59:51 -05:00
Masatoshi Kimura
6b9c763cde Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz 2012-12-16 19:57:12 -05:00
Trevor Saunders
63d7222d76 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Till Schneidereit
01f653aa8e 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
e0523203c9 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
ceec509f17 Bug 808286 - Use enum instead of JSBool for param to js_ErrorReportNumber. r=Waldo 2012-12-10 18:11:17 -08:00
Marty Rosenberg
b92f06d732 Don't spew uninitialized memory. (bug 822042, r=evilpie) 2012-12-15 16:38:36 -05:00
Boris Zbarsky
0f260a660f Bug 773911 part 1. Inline js::GetContextCompartment. r=waldo 2012-12-15 11:53:15 -05:00
Jan de Mooij
a9f28f8855 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
29a70a17f7 Bug 821707 - Refactor INITELEM code in the interpreter. r=jorendorff 2012-12-15 12:12:46 +01:00
Gary Kwong
5d6fc31c8a Bug 810767 - Update Valgrind flags in jit_test.py, r=njn 2012-12-14 22:09:58 -08:00
Phil Ringnalda
aad2348d80 Back out 96b591267cb3 (bug 745194) for test failures on a CLOSED TREE 2012-12-14 14:53:06 -08:00
Jason Orendorff
b118eea739 Backout a567cc63a389 (bug 820180) due to red on Windows.
--HG--
extra : rebase_source : 83177da726fdd2945a3c3293b72c8c615ed7b25d
2012-12-14 15:29:02 -06:00
Kannan Vijayan
0f773e7148 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
3acc2c751c Bug 817368 - Map.prototype.{keys,values,entries}. r=luke.
--HG--
extra : rebase_source : c802c900efe40c7204747519868051e9fa085e99
2012-12-14 14:33:13 -06:00
Jason Orendorff
0f7fe31744 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
bd00a15d85 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
8ca8cb4d91 Bug 808245, Part 6/6 - Add MatchOnly mode and lazify RegExpStatics. r=dvander 2012-12-12 18:11:28 -08:00
Sean Stangl
492a7dd84f Bug 808245, Part 5/6 - Use MatchPairs for RegExp output. r=dvander 2012-12-12 17:42:02 -08:00
Sean Stangl
c6da174664 Bug 808245, Part 4/6 - Compile RegExpShared at execution time. r=dvander 2012-12-12 17:23:04 -08:00
Sean Stangl
9172ef6850 Bug 808245, Part 3/6 - Merge RegExpCode into RegExpShared. r=dvander 2012-12-12 16:54:05 -08:00
Sean Stangl
68b072a280 Bug 808245, Part 2/6 - Remove the unused hackedSource RegExp type. r=dvander 2012-12-12 16:37:15 -08:00
Sean Stangl
2ed198c577 Bug 808245, Part 1/6 - Fix some nits, especially vim modelines. r=dvander 2012-12-12 16:31:49 -08: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