Commit Graph

13140 Commits

Author SHA1 Message Date
Jim Blandy
b5096a2307 Bug 629723: Don't include directive prologues when decompiling specific expressions for error messages. r=brendan
This also sorts the test list in js/src/tests/ecma_5/extensions; the only
addition to the list is the regression test for this bug.
2011-02-02 10:51:57 -08:00
Bill McCloskey
8cdd8f8e68 Bug 609104 - Fix nits 2011-02-02 10:29:47 -08:00
Bill McCloskey
daa16e64bb Bug 609104 - Move the property tree to the compartment (r=brendan) 2011-01-27 15:46:39 -08:00
Jason Orendorff
e0fa089b50 Sprinkle #ifdef JS_THREADSAFE so the non-threadsafe shell builds again. It was broken by 641a33d0932f (bug 626743). 2011-02-02 11:20:03 -06:00
Steve Fink
61565d4634 Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Jason Orendorff
f94ff10f99 Test for bug 630543 - Constant folding should not assume this is truthy in strict-mode functions. Pushed at brendan's request; see comment 3 in the bug. 2011-02-01 19:01:30 -06:00
Phil Ringnalda
c343ec820a Back out 8fbb8ff7a712 (bug 627692) on suspicion of causing orange 2011-02-01 20:54:04 -08:00
Phil Ringnalda
661df76c18 Back out 252f0e61e918 (bug 630543) on suspicion of causing orange 2011-02-01 20:54:00 -08:00
Paul Biggar
3f34d725dc Bug 620850 (part 2) - don't run silentfail tests on OSX (which lacks ulimit support) (r=igor) 2011-02-01 17:15:48 -08:00
Paul Biggar
6ba1edbad0 Bug 620850 (part 1) - mark slow tests as slow in the manifest (r=igor) 2011-02-01 17:15:30 -08:00
Jason Orendorff
e4e766e6c5 Test for bug 630543 - Constant folding should not assume this is truthy in strict-mode functions. Pushed at brendan's request; see comment 3 in the bug. 2011-02-01 19:01:30 -06:00
Jason Orendorff
abb263f827 Add comments explaining how we cope with clobbering deep bails, and fix a small bug in one of the cases. Bug 627692, r=dvander.
--HG--
extra : rebase_source : af24852232d272776e828c740c041c217f6cecc8
2011-02-01 15:48:46 -06:00
David Mandelin
4db10dcdc0 Bug 630533: fix minor OOM crash involving shapes, r=brendan 2011-02-01 14:54:50 -08:00
Jeff Walden
3de322ba70 Bug 629187 - Strict mode keywords are accepted as argument names and function name for strict mode functions. r=jimb
--HG--
extra : rebase_source : adce872db2d58e32a53995d757a85da50c8f63a4
2011-01-26 16:46:38 -08:00
Andreas Gal
cffdef14c0 Enter compartment in AutoScriptEvaluate (bug 630243, r=jst, a=blocker). 2011-02-01 14:58:00 -08:00
David Mandelin
a4880c2f6d Bug 611652: clear values instead of scope when global window is cleared, r=brendan,enn,jeff,mrbkap,smaug
--HG--
extra : rebase_source : 77e3844d35de229817bee767256a96d030a78bf9
2011-01-21 18:37:30 -08:00
Luke Wagner
5719802a65 Bug 629974 - js_TraceObject doesn't need to mark past slotSpan (r=brendan)
--HG--
extra : rebase_source : 232f2e01121dd89fb1d5ec032b7e0b986068ad49
2011-02-01 14:24:28 -08:00
David Anderson
674cddc8c2 Merge backout. 2011-02-01 13:49:38 -08:00
David Anderson
866500404d Backed out changeset 54a515a97151 2011-02-01 13:49:14 -08:00
David Anderson
0dfec96f2e Merge backout. 2011-02-01 13:48:57 -08:00
David Anderson
54c75ca4a7 Backed out changeset aa1cf1121a20 2011-02-01 13:48:25 -08:00
Bill McCloskey
534c14cb3c Bug 623297 - Fix profiler regression (r=dvander) 2011-02-01 12:57:24 -08:00
Bill McCloskey
301ce68ce7 Bug 628332 - Fix tracedScripts memory leak (causing orange) 2011-02-01 12:24:51 -08:00
David Anderson
5f1c3a6e4f Fix incoherent PC in FixupArity failure case (bug 629650, r=luke). 2011-02-01 12:04:07 -08:00
David Anderson
241bdcf435 Split up MIC structures to avoid bloat (bug 627486 part 2, r=cdleary). 2011-02-01 11:48:58 -08:00
David Anderson
3c1cf67580 Fix global set ICs with branded global objects (bug 627486, r=cdleary). 2011-02-01 11:47:35 -08:00
Chris Leary
90f382d622 Merge mozilla-central to tracemonkey. 2011-02-01 11:53:12 -08:00
Luke Wagner
64d2de0179 Bug 628564 - Make sure we don't miss the AbortIfUnexpectedGlobalWrite check (r=brendan)
--HG--
extra : rebase_source : 1b66dc81ff960db5eb966956c13282cda1796ac1
2011-02-01 11:01:26 -08:00
Bill McCloskey
8e7e07dfaa Bug 623297 - Make JS_TRACE_MONITOR more robust by distinguishing callers (r=gal) 2011-02-01 10:18:06 -08:00
Bill McCloskey
3c8509742b Bug 623297 - Reduce usage of JS_TRACE_MONITOR in jstracer (r=gal) 2011-02-01 10:16:44 -08:00
Brendan Eich
87bd7c3c37 Remove JSOP_THIS case from Boolish to fix ES5 strict this-as-truthy bug (630543, r=me). 2011-02-01 08:40:18 -08:00
Igor Bukanov
0a56a6876b bug 619120 - patch from Wesley W. Garland to add run function to js shell + tiny fixes. r=jorendorff 2011-02-01 15:40:59 +01:00
Igor Bukanov
6a2a31a624 bug 630039 - fixing JSScript size sgtatic assert. r=dmandelin 2011-02-01 14:53:35 +01:00
Andreas Gal
f61583edb4 Disable jetpack service and unit tests (bug 629197, r=shaver). 2011-01-31 19:33:15 -08:00
Chris Leary
4d0ffb7899 Merge the backout head. 2011-01-31 19:10:25 -08:00
Chris Leary
138809d514 Backed out changeset a4ec3ddcfc37 due to failure parsing manifest file. 2011-01-31 19:10:07 -08:00
Paul Biggar
68fbc20b7c Bug 620850 - don't run silentfail tests on platforms without ulimit support (aka OSX) (r=igor)
Also label many slow tests as |slow| in the manifest, so that they are skipped by default (in particular, stop running tests by default which cause the tester's machine to run out of memory).
2011-01-31 17:16:25 -08:00
Paul Biggar
8c53817034 Bug 625141 - Avoid overwriting used register in TypedArray IC (r=dvander)
There was an edge case when creating an IC to store to typed arrays, in which
we would overwrite a register which was a component of the address. Fix by
preserving the address in that case, and restoring it after the overwrite.

This also checks that we save/restore each register only once.
2011-01-31 17:16:25 -08:00
Jim Blandy
2016210905 Bug 554955: Revert fix (changesets 297b1312f534, 18a1effafe19, 26d40e1e80bf, f6117465a979): 14% performance hit as measured by Talos. r=talos 2011-01-31 16:48:26 -08:00
David Mandelin
6242f450e2 Bug 627609 followup 2: add missing helper for tests, r=orange 2011-01-31 16:41:45 -08:00
David Mandelin
8e65dc49e0 Bug 627609 followup: address comments and check for start of opcode stream before atOptionalBracket 2011-01-31 16:15:56 -08:00
David Mandelin
fddedf5950 Bug 627609: make PCRE handling of empty matches within quantified groups match ECMA-262, r=cdleary 2011-01-31 16:03:11 -08:00
Steve Fink
6a333d3f55 Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Jim Blandy
672dd55a28 Bug 621103: Rename js::Anchor to JS::Anchor: 'JS' is the public namespace. r=waldo 2011-01-31 14:42:53 -08:00
Bill McCloskey
fa08e98f10 Bug 630340 - Fix undefined value in compartment assertion (r=Waldo) 2011-01-31 13:54:28 -08:00
Jason Orendorff
bb4fd3c0ab Call a class a class, to avoid MSVC warning. rs=Waldo. 2011-01-31 15:37:13 -06:00
Jeff Walden
2da1a60948 Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin, a=blocking 2011-01-26 13:37:45 -08:00
Jeff Walden
13fb18a6fe Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin
--HG--
extra : rebase_source : be6802a24bd58eb6339369e6803d3eb2fbbc07a5
2011-01-26 13:37:45 -08:00
Jeff Walden
bb7b92659a Detabify js1_6/extensions/regress-312385-01.js for readability. r=tabsmustdie 2011-01-26 10:20:29 -08:00
Chris Leary
86d81ea3d6 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-31 19:43:36 -08:00