Commit Graph

57 Commits

Author SHA1 Message Date
Bill McCloskey
40b74847a1 Bug 609104 - Move the property tree to the compartment (r=brendan) 2011-02-04 10:59:07 -08:00
Chris Leary
065656dfa2 Fix --disable-tracejit build. (rs=Waldo) 2011-02-03 16:19:13 -08:00
Bill McCloskey
4d89be0bd8 Backed out bug 609104 (csets ac3ba38f20c0 and 7717cabaf20c) (orange) 2011-02-02 14:20:06 -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
Paul Biggar
acf459a83c Bug 628332 - Don't double-free when a compartment is not properly allocated (r=billm)
If allocating a compartment fails, FinishJIT may be called twice. However,
there were not adequate precautions for this, and FinishJIT could free random
memory, or double-free memory. Deal with the former by ensuring that the
relevant pointers were zero-initialized, and the latter by overwriting freed
pointers with NULL.
2011-01-31 17:16:25 -08:00
Andreas Gal
48adc47ad7 Cache result of Function.prototype.toString (bug 629590, r/a=shaver). 2011-01-28 10:19:13 -08:00
Chris Leary
6d0cc31d27 Back out changeset 7d82892cb8df. 2011-01-27 19:43:33 -08:00
Bill McCloskey
a4f9ab0da8 Bug 609104 - Move the property tree to the compartment (r=brendan) 2011-01-27 15:46:39 -08:00
Luke Wagner
d7acf11bcb Bug 627959, part 3 - move dtoaCache into the compartment (r=billm)
--HG--
extra : rebase_source : 19f2f0bebdfa7f8b349086be18847ffeb834ef4e
2011-01-24 16:30:16 -08:00
Steve Fink
f448c5faf9 Bug 627516 - Unconditionally #include assembler/wtf/Platform.h to fix crash with --disable-methodjit, r=cdleary
--HG--
extra : rebase_source : cffc3a025b7f32111f97a6853fc5555282568ffe
2011-01-20 14:03:51 -08:00
Steve Fink
c862f01fdc Backed out changeset 6dcf1547ea08 2011-01-24 15:11:58 -08:00
Steve Fink
3046e8cfdb Bug 627516 - Unconditionally #include assembler/wtf/Platform.h to fix crash with --disable-methodjit, r=cdleary
--HG--
extra : rebase_source : 8381615c16097fd6eb86e63f7c59b7f33587b47c
2011-01-20 14:03:51 -08:00
Andreas Gal
bdd4aa4ade AnyName can't have a NULL parent (bug 617485, r=brendan). 2011-01-21 10:55:39 -08:00
Nicholas Nethercote
ed55695802 Bug 624878 - Remove dangerous uses of vanilla (throw-on-failure) |operator new|. r=lw. 2011-01-17 19:44:10 -08:00
Gregor Wagner
bc39a65c18 Bug 625484 - rename defaultCompartment r=gal 2011-01-13 14:42:36 -08:00
Gregor Wagner
cbc0a9cb10 Enable per-compartment garbage collection (bug 605662, r=gal). 2011-01-07 23:44:57 -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
Andreas Gal
6b5539dc39 Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff). 2011-01-07 02:03:14 -08:00
Robert Sayre
4af90e6de9 Backed out changeset d58e45442c87 2011-01-06 21:39:25 -05:00
Andreas Gal
9b4055e1f5 Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff). 2011-01-06 15:15:00 -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
5ada212069 Bug 587288: 0. Compartmentalize regexp allocator, remove ExecutablePool atomic refcounts. (r=gal) 2011-01-05 18:44:30 -08:00
Igor Bukanov
3441bfebe5 bug 621180 - moving JSThreadData::cachedNativeIterators into the compartment. r=(wmccloskey
--HG--
extra : rebase_source : 460ccf67d3a01e44ab65f1db3b2a38694f3d5411
2010-12-29 20:09:04 +01:00
Bill McCloskey
6232df0383 Bug 621032 - Move MathCache from JSThreadData to JSCompartment (r=igor) 2010-12-23 15:10:25 -08:00
Bill McCloskey
9090d0a347 Bug 584860 - TraceMonitor cleanups (r=igor) 2010-12-22 14:00:06 -08:00
Bill McCloskey
c8eee530e2 Bug 584860 - Move TraceMonitor into compartment (r=gal) 2010-12-22 12:02:25 -08:00
Brian Hackett
9cac74e3d5 Periodically discard JIT code during GC, bug 617656. r=dmandelin 2010-12-17 16:33:04 -08:00
Luke Wagner
d8719356c0 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Robert Sayre
03513401da Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
f48a8e6d43 Merge backout. 2010-10-29 22:36:37 -07:00
Jeff Walden
ff603e73f4 Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre
19cc79ccf3 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
David Mandelin
1f754fcd0f Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin
747cf33686 Backed out changeset ecd2f8753d5a: argh, fixes didn't land for some reason 2010-10-29 16:22:44 -07:00
David Mandelin
7779114001 Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin
867a8a9f10 Backed out changeset 394e0bd325b1: tinderbox bustage 2010-10-29 16:08:47 -07:00
David Mandelin
1932408866 Bug 604798: move JM global data to compartment, r=dvander
--HG--
extra : rebase_source : 459bbec8a3f8ab3739806da7336a0a10cee9bcd1
2010-10-29 15:37:13 -07:00
Andreas Gal
257334300b Backed out changeset 685accd622f0 (bug 606065). 2010-10-24 13:21:33 -07:00
Andreas Gal
61a710e895 Move deflated string cache into compartment (606065, r=jorendorff). 2010-10-24 02:07:42 -07:00
Andreas Gal
4ef624448b Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap). 2010-10-23 16:24:32 -07:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Peter Van der Beken
645d07dc67 Bug 580128. Remove cross origin string wrappers from hash when the wrapped string dies. r=mrbkap.
As a note: this bug took peterv and mrbkap 7 hours to track down using replay debugging after spending hours trying to even catch it on a replay debugging box.
2010-10-10 15:49:38 -07:00
Blake Kaplan
d1776a6e22 bug 580128 - Reparent proxies when we pull them out of the map in order to try to keep their parents sembling something current. r=jst 2010-10-10 15:47:48 -07:00
Andreas Gal
5724ba40ea bug 580128 - Cross origin wrapper needs no waive xray flag. r=mrbkap 2010-10-10 15:47:22 -07:00
Andreas Gal
2975066de7 bug 580128 - Make e4x anyname etc be per compartment, not in the default compartment. r=mrbkap 2010-10-10 15:46:05 -07:00
Blake Kaplan
c563e195ac bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv 2010-10-10 15:36:38 -07:00
Blake Kaplan
b592545085 bug 580128 - Outerize in JS instead of in the rewrap hook so the identity in the wrapper map stays constant. r=gal 2010-09-28 17:02:43 -07:00
Andreas Gal
04c3f3cf48 bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal 2010-09-27 13:49:09 -07:00