Commit Graph

13058 Commits

Author SHA1 Message Date
Blake Kaplan
f6e1daac94 Bug 611485 - Don't enter the foreign compartment when calling through Xray wrappers. r=gal 2011-01-25 15:06:45 -08:00
timeless@mozdev.org
313f426282 Bug 615834 warning: inline function ‘JSCompartment* JSObject::getCompartment() const’ used but never defined. r=gal
r=mrbkap

--HG--
extra : rebase_source : fe12e4864bb95a55802be395bd119a064af64baf
2011-01-18 14:25:46 -08:00
Chris Leary
074bd0c596 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Andreas Gal
3c34eab945 Follow-up fix for bug 625559. 2011-01-26 19:19:33 -08:00
Blake Kaplan
8f27ca08f2 Catch chrome eval escaping into content (bug 625559, r=gal). 2011-01-26 18:28:49 -08:00
Jeff Walden
d1158ba854 Followup to change a no-longer-passed-by-us test after the last push for bug 497869. r=orange
--HG--
extra : rebase_source : de824bfb0a7d718e555a85cfad907fb42a5346c0
2011-01-26 16:46:25 -08:00
David Mandelin
62ff5f09d8 Bug 611653: clear values instead of scope when global window shuts down, r=brendan,smaug 2011-01-21 18:37:30 -08:00
Andreas Gal
809f0911fc Remove JSAutoRequest from Handle::ToJSObject (bug 628930, r=jst). 2011-01-26 15:20:20 -08:00
Andreas Gal
c6e66c8f0b Fix compartment mismatches in js/jetpack (bug 624366, r=jst). 2011-01-26 15:18:51 -08:00
Jeff Walden
b33b7b3c3e Bug 497869 - Switch ES5's FutureReservedWords to be reserved only in strict mode, because we foolishly unreserved them once in the past. r=brendan 2011-01-26 15:02:07 -08:00
David Anderson
70bb6ed2af Clone lambdas in heavyweight scopes (bug 625157, r=brendan). 2011-01-26 12:41:15 -08:00
Andreas Gal
f2f643add9 In Proxy get(own)PropertyDescriptor return undefined if property doesn't exist (bug 582967, r=brendan/jorendorff). 2011-01-26 10:43:10 -08:00
Chris Leary
96ff8c4ba9 Follow up fix 2 for bug 623435. (r=brendan)
--HG--
extra : rebase_source : 5c9b8aec39f707f0539b1a9e299f8a5fcc5ee753
2011-01-25 18:00:31 -08:00
Chris Leary
e9f1beb7d9 Follow up fix for bug 623435. (r=brendan) 2011-01-25 17:16:38 -08:00
Chris Leary
986ed207fa Bug 623435: Rip out deprecated RegExp.compile. (r=brendan) 2011-01-25 14:32:53 -08:00
Luke Wagner
36e619deba Bug 627227 - Remove retval-jsval optimization in CallMethod; take the normal wrapping path (r=jst)
--HG--
extra : rebase_source : 899a628dd668efc48d91bd7098010f9c8d4ae61c
2011-01-25 12:27:17 -08:00
David Mandelin
618cf9a71d Bug 624041: skip elements deleted via shift or reverse in iteration, r=igor
--HG--
extra : rebase_source : 4e6862e68ee808b172c782412a2983ad0ea5ac4a
2011-01-10 18:39:46 -08:00
Jeff Walden
4c28b52d07 Oops, shell-only test. r=sparky 2011-01-25 11:48:32 -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
Luke Wagner
acc89d7129 Bug 627959, part 2 - wrap exception in XPCThrower::ThrowExceptionObject (r=gal)
--HG--
extra : rebase_source : ea39e580d733130b63d0a71c19c32e773e50f50b
2011-01-24 16:30:16 -08:00
Luke Wagner
9ff73cbdc7 Bug 627959, part 1 - Also assert same compartment on strings (r=me)
--HG--
extra : rebase_source : c6d45ea9f46d68b12b03efd13192d4d217ed4783
2011-01-24 16:30:08 -08:00
Jeff Walden
55ae2cef53 Add tests for behavior of function statements inside with. r=tests
--HG--
extra : rebase_source : c8088e21fb5aeca0b8f62dd8364435ac67e6aa6e
2011-01-24 16:49:26 -08:00
Steve Fink
dc0764a56d Improve comment. Related to bug 627943.
--HG--
extra : rebase_source : ba7505cfd9c0b1957172ba12a0fd39f44050916f
2011-01-24 23:16:48 -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
afccee8a2d Bug 627943 - Bad ordering of exception save/wrap/restore, r=gal
--HG--
extra : rebase_source : bc2bdd4af8c4639456a8a7c77f8a0353e44ac1d2
2011-01-21 17:32:00 -08:00
Chris Leary
1771b7c232 Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Andreas Gal
390064e4c9 Trigger appropriate proxy trap for Object.getOwnPropertyNames (bug 628333, r=jwalden). 2011-01-24 22:39:58 -08:00
Chris Leary
a490c5bc24 Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-24 19:47:52 -08:00
Chris Leary
e41aa73d24 Back out changeset 72cb2f4a893c 2011-01-24 19:45:08 -08:00
Andreas Gal
6629b9fa11 Trigger appropriate proxy trap for Object.getOwnPropertyNames (bug 628333, r=jwalden). 2011-01-24 16:10:54 -08:00
Bill McCloskey
3b8a90ccae Bug 627475 - Fix missing return stmt for Android (fixes changeset 4031baed59f7) 2011-01-24 15:16:27 -08:00
Steve Fink
db1cdf9f0a Backed out changeset e13f3b909fa2 2011-01-24 15:12:18 -08:00
Steve Fink
c862f01fdc Backed out changeset 6dcf1547ea08 2011-01-24 15:11:58 -08:00
Steve Fink
937c639424 Backed out changeset 47678330818a 2011-01-24 15:11:34 -08:00
Steve Fink
08a1d24071 Backed out changeset 8743def9e748 2011-01-24 15:11:13 -08:00
Steve Fink
2dacef3f04 Backed out changeset b7e91bafdcd9 2011-01-24 15:10:52 -08:00
Steve Fink
31df3a402a Backed out changeset d54eac606dd7 2011-01-24 15:10:23 -08:00
Steve Fink
8beba6e0ff Backed out changeset c10e63cba3b6 2011-01-24 15:07:00 -08:00
Steve Fink
aa873a798d Improve comment. Related to bug 627943.
--HG--
extra : rebase_source : 66619f6ab6ed81dd0a7d01df5a03274229b5e12e
2011-01-24 14:43:39 -08:00
Steve Fink
b500ebd4d9 Bug 626830 - XPConnect should turn debugging off immediately, without waiting for a quiescent stack
--HG--
extra : rebase_source : 62a7bb8024313841b4c40c86ccaedd1ae9f56ad1
2011-01-24 13:24:52 -08:00
Steve Fink
e2145da10c Bug 626830 - Allow JSD to turn on debugging when no JS code is running, not just when XPConnect stack is completely empty, r=dmandelin
--HG--
extra : rebase_source : 3f177904d2708642dfec8d5937964ec8fc83427a
2011-01-24 13:21:18 -08:00
Steve Fink
65d69cfc54 Bug 627758 - Detect forced GC end case to fix jsd.off() giving NS_ERROR_NOT_AVAILABLE, r=dmandelin
--HG--
extra : rebase_source : 6525e0b9abca2b0096d3fe0d5b8248dcfaebe7ba
2011-01-20 22:10:54 -08:00
Steve Fink
431720e0ac Bug 626743 - Set debug mode for whole runtime, avoiding compartment-less contexts, r=dmandelin
--HG--
extra : rebase_source : 198e9c85fd8126ef0ec24eb390641ece2f2cd61e
2011-01-19 15:33:34 -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
Steve Fink
82dbc5d4cf Bug 627943 - Bad ordering of exception save/wrap/restore, r=gal
--HG--
extra : rebase_source : c317f6f3357885077c7182834d3b29412a5606f2
2011-01-21 17:32:00 -08:00
Bill McCloskey
d2d16afad0 Bug 627475 - Clean up methodjit OOM handling (r=dmandelin) 2011-01-24 14:36:34 -08:00
Bill McCloskey
bc4fee0689 Bug 610088 - Don't assert when DecompileValueGenerator called from script prologue (r=dmandelin) 2011-01-24 11:55:02 -08:00
Bill McCloskey
7cf78aa843 Backed out changeset f3b470fb91a9 (orange) for bug 623297 2011-01-24 11:18:53 -08:00
Bill McCloskey
b7ffccbd4b Bug 623297 - To decide JS_ON_TRACE, check the thread, not the compartment (r=gal) 2011-01-24 10:36:28 -08:00