Commit Graph

21976 Commits

Author SHA1 Message Date
David Mandelin
123828cfe4 Bug 619004: fix JS shell split object mark function, r=jorendorff 2011-01-10 12:14:34 -08:00
Andreas Gal
f4c8022172 Rename Proxy enumerateOwn to keys (bug 600642, r=jorendorff,brendan). 2011-01-10 11:42:11 -08:00
Andreas Gal
fb7ccc9f25 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Daniel Holbert
5f44c1fb89 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
b3a6cb56ed 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
e95fc08cbe Bug 624168 - inconsistency in crossCompartment wrapper data structure r=gal 2011-01-08 20:06:29 -08:00
Mike Shaver
1c96467849 Bug 624205: fix warning due to mismatched export declarations on MarkContext. 2011-01-08 18:55:54 -08:00
David Anderson
19da7b603a Remove unsound global optimizations (bug 618007, r=brendan). 2011-01-08 16:27:48 -08:00
David Anderson
a869e7d227 Use the right shape when watching objects (bug 624050, r=jimb). 2011-01-08 15:28:31 -08:00
Gregor Wagner
3614636778 Enable per-compartment garbage collection (bug 605662, r=gal). 2011-01-07 23:44:57 -08:00
Jim Blandy
019b7543b8 Bug 609832: Fix message wording. r=brendan 2011-01-07 21:46:21 -08:00
Paul Biggar
189e70029f Bug 623859 - Add missing OOM checks during array allocation (r=lw) 2011-01-07 18:55:35 -08:00
Brendan Eich
e46b1cc3ac Get rid of JSOP_{GET,CALL}UPVAR and simplify code greatly (592202, r=jorendorff). 2010-12-29 23:46:50 -08:00
Jim Blandy
1e88e69991 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
169b4469d6 Bug 576837: Conform to old invalid character-class range error. (r=Waldo) 2010-11-08 18:08:32 -08:00
David Anderson
6c413022e9 Restrict global checks to the TR's global (bug 597940 followup, r=luke). 2011-01-07 16:54:55 -08:00
Jeff Walden
c540b5de0c 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
fa0c5fb908 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
1a8a996034 Fix crash in object-wrapped string length IC (bug 623474, r=dvander). 2011-01-07 14:30:10 -08:00
David Anderson
9936c43e58 Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Luke Wagner
ee7ecf86db Bug 623441 - JSCompartment::wrap missing NULL check (r=gal)
--HG--
extra : rebase_source : 9ddb81b96239889550e085619743c38300c0cdfc
2011-01-07 09:19:54 -08:00
Luke Wagner
2c71e097b0 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
bfc2400b84 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
d82b3299d7 Bug 514568 - Add JSObject::callIsForEval rather than using JSObject::getCallObjCallee() == NULL. r=igor 2011-01-05 14:54:04 -06:00
Jeff Walden
befd834f0d 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
e1bab86660 Back out 86285f568e0c for orange. 2011-01-07 15:03:39 -06:00
David Mandelin
03ca00840b 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
aefc48c2f9 ES5 directives should not trigger 'useless expression' errors (559402, r=jimb). 2010-12-27 13:10:25 -08:00
Jeff Walden
967b31ceca 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
303567b028 Bug 623915: about:memory reporter for string char data, r=lw 2011-01-07 03:03:34 -08:00
Jeff Walden
550585b968 Bug 622167 - Properly handle infinite recursion of heavyweight functions. r=dvander 2011-01-06 02:22:21 -06:00
Jeff Walden
32f74752c1 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
49037a53bc Don't swallow errors in FindTearOff (bug 612225, r=gal). 2011-01-07 02:15:14 -08:00
Andreas Gal
b9019854fa Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff). 2011-01-07 02:03:14 -08:00
Chris Leary
6806325137 Merge tracemonkey and mozilla-central. 2011-01-07 00:17:35 -08:00
Ben Turner
9b0dc88cb6 Bug 622042 - 'IndexedDB: Rework events and requests'. r=sicking, a=sicking. 2011-01-06 22:21:36 -08:00
Ben Turner
5f9dd9d69f Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Mike Shaver
5816101b08 missed a file, sigh 2011-01-06 22:17:13 -08:00
Mike Shaver
d2606fc67e 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
1ac2d80563 Backed out changeset 013bde94ad94 2011-01-06 21:41:59 -05:00
Jeff Walden
f068c1f307 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
f9d0ddbe68 Fix joined method leak via arguments.callee.caller (586482, r=igor). 2011-01-04 12:27:18 -08:00
Eric Hennigan
7a7ab3fa3e Bug 622503 - Build failure when JS_TRACER is not defined r=gal, gregor 2011-01-06 06:13:48 -08:00
Chris Leary
156cf3168b Bug 587288: 1. Non-atomic RegExp refcount, compartment checks. (r=gal) 2011-01-05 18:44:30 -08:00
Chris Leary
6255efce92 Bug 587288: 0. Compartmentalize regexp allocator, remove ExecutablePool atomic refcounts. (r=gal) 2011-01-05 18:44:30 -08:00
David Anderson
b443abe346 Backed out changeset 48a2416b7f41 2011-01-05 22:11:18 -08:00
David Anderson
8b5a9105c8 Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Andreas Gal
6d6e6a903d Disallow non-native global objects (609990, r=brendan). 2011-01-05 19:56:42 -08:00
David Anderson
b4d33227f7 ICs for typed arrays (bug 594247, r=cdleary,vlad). 2011-01-05 19:16:41 -08:00
David Mandelin
6f64880260 Bug 622691: fix unlock order in AutoLockDefaultCompartment, r=gal 2011-01-05 17:26:31 -08:00