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
Luke Wagner
2d4d55374d
Don't swallow errors in FindTearOff (bug 612225, r=gal).
2011-01-07 02:15:14 -08:00
Andreas Gal
6b5539dc39
Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff).
2011-01-07 02:03:14 -08:00
Chris Leary
e2855fd450
Merge tracemonkey and mozilla-central.
2011-01-07 00:17:35 -08:00
Ben Turner
cde3f1127c
Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking.
2011-01-06 22:21:36 -08:00
Ben Turner
c926abf576
Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking.
2011-01-06 22:21:30 -08:00
Mike Shaver
29d38baf6c
missed a file, sigh
2011-01-06 22:17:13 -08:00
Mike Shaver
2efe7ec019
Bug 623281: about:memory reporting for method JIT space usage, r=dvander
...
--HG--
extra : rebase_source : 39276fb0279b528f5e17122a980e243ff92fde27
2011-01-04 22:48:46 -08:00
Robert Sayre
493987319f
Backed out changeset 013bde94ad94
2011-01-06 21:41:59 -05:00
Jeff Walden
3bcc7a15d3
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 : 394e4533d1855687f0ec41240aab8f853b568df2
2011-01-01 02:41:00 -06:00
Brendan Eich
042b55be8a
Fix joined method leak via arguments.callee.caller (586482, r=igor).
2011-01-04 12:27:18 -08:00
Eric Hennigan
bb2827afe3
Bug 622503 - Build failure when JS_TRACER is not defined r=gal, gregor
2011-01-06 06:13:48 -08:00
Chris Leary
50ba69b3fa
Bug 587288: 1. Non-atomic RegExp refcount, compartment checks. (r=gal)
2011-01-05 18:44:30 -08:00
Chris Leary
5ada212069
Bug 587288: 0. Compartmentalize regexp allocator, remove ExecutablePool atomic refcounts. (r=gal)
2011-01-05 18:44:30 -08:00