Commit Graph

22195 Commits

Author SHA1 Message Date
Andreas Gal
8325a9f76e Fix compartment mismatches in js/jetpack (bug 624366, r=jst). 2011-01-26 15:18:51 -08:00
Jeff Walden
5c0538150a 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
2cc9032a48 Clone lambdas in heavyweight scopes (bug 625157, r=brendan). 2011-01-26 12:41:15 -08:00
Andreas Gal
53bf5744ef 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
d74a0eab16 Follow up fix 2 for bug 623435. (r=brendan)
--HG--
extra : rebase_source : 5c9b8aec39f707f0539b1a9e299f8a5fcc5ee753
2011-01-25 18:00:31 -08:00
Chris Leary
e7ce40632d Follow up fix for bug 623435. (r=brendan) 2011-01-25 17:16:38 -08:00
Chris Leary
07bf6c5ab7 Bug 623435: Rip out deprecated RegExp.compile. (r=brendan) 2011-01-25 14:32:53 -08:00
Luke Wagner
2f7dae01d9 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
0660c9134c 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
f9bf2b8764 Oops, shell-only test. r=sparky 2011-01-25 11:48:32 -08:00
Luke Wagner
ac9115d1d4 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
6f0e9958cd 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
e8c23300b2 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
f421f78018 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
e4d11ccf5d Improve comment. Related to bug 627943.
--HG--
extra : rebase_source : ba7505cfd9c0b1957172ba12a0fd39f44050916f
2011-01-24 23:16:48 -08:00
Steve Fink
1eba3b0769 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
83784323ec 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
8a9852db5d Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary
39fad63856 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Andreas Gal
a157e94a69 Trigger appropriate proxy trap for Object.getOwnPropertyNames (bug 628333, r=jwalden). 2011-01-24 22:39:58 -08:00
Chris Leary
f834b150eb Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-24 19:47:52 -08:00
Chris Leary
a091a9aedb Back out changeset 72cb2f4a893c 2011-01-24 19:45:08 -08:00
Andreas Gal
701754985b Trigger appropriate proxy trap for Object.getOwnPropertyNames (bug 628333, r=jwalden). 2011-01-24 16:10:54 -08:00
Bill McCloskey
919e07c3e6 Bug 627475 - Fix missing return stmt for Android (fixes changeset 4031baed59f7) 2011-01-24 15:16:27 -08:00
Steve Fink
1e103f9444 Backed out changeset e13f3b909fa2 2011-01-24 15:12:18 -08:00
Steve Fink
6fb67912db Backed out changeset 6dcf1547ea08 2011-01-24 15:11:58 -08:00
Steve Fink
1e16d933f6 Backed out changeset 47678330818a 2011-01-24 15:11:34 -08:00
Steve Fink
35fc9382af Backed out changeset 8743def9e748 2011-01-24 15:11:13 -08:00
Steve Fink
46129bcee6 Backed out changeset b7e91bafdcd9 2011-01-24 15:10:52 -08:00
Steve Fink
4b221c996d Backed out changeset d54eac606dd7 2011-01-24 15:10:23 -08:00
Steve Fink
4e701c9d70 Backed out changeset c10e63cba3b6 2011-01-24 15:07:00 -08:00
Steve Fink
6dd5148204 Improve comment. Related to bug 627943.
--HG--
extra : rebase_source : 66619f6ab6ed81dd0a7d01df5a03274229b5e12e
2011-01-24 14:43:39 -08:00
Steve Fink
64dc5effd3 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
b42bfa59ab 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
3d8f4dd57d 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
27b68d0c1e 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
621c119c07 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
1675755cdd 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
0e85f02593 Bug 627475 - Clean up methodjit OOM handling (r=dmandelin) 2011-01-24 14:36:34 -08:00
Bill McCloskey
76737b5227 Bug 610088 - Don't assert when DecompileValueGenerator called from script prologue (r=dmandelin) 2011-01-24 11:55:02 -08:00
Bill McCloskey
d36b32a0fa Backed out changeset f3b470fb91a9 (orange) for bug 623297 2011-01-24 11:18:53 -08:00
Bill McCloskey
34bbf897a3 Bug 623297 - To decide JS_ON_TRACE, check the thread, not the compartment (r=gal) 2011-01-24 10:36:28 -08:00
Luke Wagner
e1c6e82e7f Bug 626526 - Change cx->busyArrays to use SystemAllocPolicy; avoid JSContext init subtleties (r=pbiggar) 2011-01-24 09:47:25 -08:00
Jeff Walden
1c5b2161ab Bug 497869 - Forbid let and yield in strict mode code in scripts which are not JS1.7 or greater (that is, any web script not explicitly opted into JS1.7+ with a <script type>). r=brendan 2011-01-24 07:26:26 -08:00
Jeff Walden
f15d2639f5 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
c39dc97aa3 Bug 624110 - Properly traverse the scope chain over strict eval frames in the tracer. r=brendan 2011-01-10 13:09:07 -06:00
Jeff Walden
985dbafd23 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
bfdbd54fa3 Fix redness. jsd being C and not C++ bites again! r=redness 2011-01-23 01:16:34 -08:00
Andreas Gal
808e95244f Don't lose error condition in decompiler (bug 621988, r=brendan). 2011-01-22 23:30:30 -08:00
Jeff Walden
6776177dca Bug 624110 - Properly traverse the scope chain over strict eval frames in the tracer. r=brendan 2011-01-10 13:09:07 -06:00