Commit Graph

12849 Commits

Author SHA1 Message Date
David Mandelin
3933a8dec7 Bug 624041: skip elements deleted via shift or reverse in iteration, r=igor 2011-01-10 18:39:46 -08:00
David Mandelin
7ad6a4c643 Backed out changeset 000cb7431848 -- bad commit messaage 2011-01-11 11:42:29 -08:00
David Mandelin
28e3bcfb71 [mq]: fix-iter.diff
* * *
[mq]: fix-iter2.js
* * *
[mq]: itertest.js
2011-01-10 18:39:46 -08:00
Brendan Eich
14b2bbd7d8 Fix C++ violation tolerated by GCC and MSVC, caught by Clang (623303, rs=luke). 2011-01-11 11:12:59 -08:00
Brendan Eich
65022439fd Remove partial flat closure hold-over that has O(n^2) complexity (617430, r=dmandelin). 2011-01-10 18:12:46 -08:00
Nicholas Nethercote
46d0ab1e6b Fix some compiler warnings. r=gcc. 2011-01-10 20:33:53 -08:00
Nicholas Nethercote
1e6051046d Bug 621816 - "Assertion failure: unexpected constantly false guard detected" with typed array. r=vlad. 2011-01-10 20:26:20 -08:00
Bill McCloskey
d0dc154275 Bug 607539 - Change how profiler aborts work (r=dmandelin) 2011-01-10 20:18:09 -08:00
Bill McCloskey
c330d39d5c Bug 606890 - Factor array reads and equality into profiler decision (r=dmandelin) 2011-01-10 20:14:35 -08:00
Bill McCloskey
b24c82d79d Bug 606890 - Change how profiler recognizes "expensive" inner loops (r=dmandelin) 2011-01-10 20:12:31 -08:00
David Anderson
e13fc6b1de Disallow for-in initializers that use let (bug 617288, r=brendan). 2011-01-10 16:58:22 -08:00
David Anderson
f423d604af Fix rare double-prologue execution in tracer integration logic (bug 624100, r=luke). 2011-01-10 16:33:30 -08:00
Brendan Eich
18d6f28c0d Try a back-out to cure XPCOM leaks (WTF?). 2011-01-10 16:30:00 -08:00
Jason Orendorff
6acc6ad7bd Bug 615859 - Deserialize with null argument crashes/asserts (shell-only). r=Waldo. 2011-01-10 17:46:20 -06:00
Brendan Eich
8d763a272f Remove partial flat closure hold-over that has O(n^2) complexity (617430, r=dmandelin). 2011-01-08 23:56:31 -08:00
Jason Orendorff
d2e6cd8509 Add test case for bug 617171, recently fixed under bug 618007.
--HG--
extra : rebase_source : f3b3018abb75de48f3430e881cbeb3ff7ec9a2f9
2011-01-10 16:36:45 -06:00
Jim Blandy
fa5b741256 Bug 547712: Disable remaining scatter-based test. r=jorendorff
This test fails intermittenly, and uses now-unsupported functionality.

The test relies on the JS shell's 'scatter' function, which runs multiple
threads in the same compartment, so it's not even an API or behavior we
want to support any more. There is a more drastic patch in the bug that
removes scatter and deletes the tests that use it (all currently skipped),
but that probably should wait until after FF4. This is less drastic, and
avoids intermittent failures until we are ready to clean house.
2011-01-10 14:29:32 -08:00
Bill McCloskey
e7a095d58f Bug 606890 - Profile short loops twice (r=dmandelin) 2011-01-10 14:27:30 -08:00
David Mandelin
8c3cb2bd6d Bug 619004: fix JS shell split object mark function, r=jorendorff 2011-01-10 12:14:34 -08:00
Andreas Gal
b8f4800d4e Rename Proxy enumerateOwn to keys (bug 600642, r=jorendorff,brendan). 2011-01-10 11:42:11 -08:00
Andreas Gal
108bc95880 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Daniel Holbert
887a7839a3 Bug 624011: #ifdef out a debugging struct in C code, since it uses a type that's not C-kosher. r=lw 2011-01-09 10:42:52 -08:00
Daniel Holbert
7be8c1da30 Bug 622647: (basically NPODB) Add 'ifdef MOZ_ENABLE_LIBXUL' guard around libxul-only function, to fix 'not used' build warning in non-libxul builds. r=dwitte 2011-01-06 11:54:59 -08:00
Gregor Wagner
2239d8a65d Bug 624168 - inconsistency in crossCompartment wrapper data structure r=gal 2011-01-08 20:06:29 -08:00
Mike Shaver
4329aad018 Bug 624205: fix warning due to mismatched export declarations on MarkContext. 2011-01-08 18:55:54 -08:00
David Anderson
aed4f14946 Remove unsound global optimizations (bug 618007, r=brendan). 2011-01-08 16:27:48 -08:00
David Anderson
89dead6837 Use the right shape when watching objects (bug 624050, r=jimb). 2011-01-08 15:28:31 -08:00
Gregor Wagner
cbc0a9cb10 Enable per-compartment garbage collection (bug 605662, r=gal). 2011-01-07 23:44:57 -08:00
Jim Blandy
df5fe34f4c Bug 609832: Fix message wording. r=brendan 2011-01-07 21:46:21 -08:00
Paul Biggar
602b3440e8 Bug 623859 - Add missing OOM checks during array allocation (r=lw) 2011-01-07 18:55:35 -08:00
Brendan Eich
0b7d9754dc Get rid of JSOP_{GET,CALL}UPVAR and simplify code greatly (592202, r=jorendorff). 2010-12-29 23:46:50 -08:00
Jim Blandy
5ebab69e1a Bug 609832: Function statements should be banned (for now) in ES5 strict mode. (r=cdleary) 2011-01-07 17:56:22 -08:00
Chris Leary
0ae1d79202 Bug 576837: Conform to old invalid character-class range error. (r=Waldo) 2010-11-08 18:08:32 -08:00
David Anderson
28d275b6fc Restrict global checks to the TR's global (bug 597940 followup, r=luke). 2011-01-07 16:54:55 -08:00
Jeff Walden
21bab7c739 Bug 514568 - Put the Call object for strict mode scripts in the methodjit. r=dvander 2011-01-07 17:58:31 -06:00
David Mandelin
f018264c7f Bug 622691 followup: invert statement order in AutoUnlockDefaultCompartment to get update inside lock, r=gal 2011-01-06 11:30:15 -08:00
Tom Schuster
acbe1325b9 Fix crash in object-wrapped string length IC (bug 623474, r=dvander). 2011-01-07 14:30:10 -08:00
David Anderson
9e176a411b Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Luke Wagner
fe23536656 Bug 623441 - JSCompartment::wrap missing NULL check (r=gal)
--HG--
extra : rebase_source : 9ddb81b96239889550e085619743c38300c0cdfc
2011-01-07 09:19:54 -08:00
Luke Wagner
c6da67d0e1 Bug 614131 - Don't leave wrapped exception in the context on failure to enter compartment (r=gal)
--HG--
extra : rebase_source : 325d545ef79b88f3983b86a7dde262acf9e60e1f
2011-01-07 09:13:00 -08:00
Luke Wagner
97a75fa583 Bug 620637 - Flush tracker completely when doing tree call (r=dvander)
--HG--
extra : rebase_source : 94a4e6b98bafae208066ef6c3d7521364bcd4abe
2011-01-06 14:31:55 -08:00
Jeff Walden
7b5179a175 Bug 514568 - Add JSObject::callIsForEval rather than using JSObject::getCallObjCallee() == NULL. r=igor 2011-01-05 14:54:04 -06:00
Jeff Walden
e93935e339 Bug 514568 - Trace strict eval frame Call objects correctly, keep the eval script safe from GC, and properly put strict eval Call objects when the script completes. r=igor 2011-01-05 13:55:18 -06:00
Jeff Walden
d6e9eb57fe Back out 86285f568e0c for orange. 2011-01-07 15:03:39 -06:00
David Mandelin
fd202dfe55 Bug 610973 part 1: use scope chain to get string prototype to bake in, r=dvander 2011-01-07 11:31:21 -08:00
Brendan Eich
b3c3ba870e ES5 directives should not trigger 'useless expression' errors (559402, r=jimb). 2010-12-27 13:10:25 -08:00
Jeff Walden
8e764445c1 Bug 623301 - Properly root arguments names during a call to Function(). r=brendan
--HG--
extra : rebase_source : 62f1e5d974ef8a208d8c661dfb29f292371f8c14
2011-01-05 16:50:30 -06:00
Mike Shaver
bb3528195e Bug 623915: about:memory reporter for string char data, r=lw 2011-01-07 03:03:34 -08:00
Jeff Walden
223cabf7a9 Bug 622167 - Properly handle infinite recursion of heavyweight functions. r=dvander 2011-01-06 02:22:21 -06:00
Jeff Walden
4b88bf7958 Bug 622321 - While { x: 1, x: 1 } is a syntax error only in strict mode, any other name collision between property assignments in an object literal is a syntax error regardless whether the literal is in strict mode code or not. r=dmandelin
--HG--
extra : rebase_source : 04493a7d56924ab968d5524b8bee57ecde37068a
2011-01-01 02:41:00 -06:00