Граф коммитов

206 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com 8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
timeless%mozdev.org 22de97b33b Bug 302100 I just downloaded Firefox 1.06, and it crashes at 004A6170 whenever I try to view any page [@ nsJSPrincipalsSubsume] using PAC
r=mrbkap sr=shaver a=bsmedberg
2005-07-28 15:26:05 +00:00
brendan%mozilla.org 58d03eb4ca Restore JSClass.addProperty compatibility: it can mutate the nominal initial value (296967, r=shaver). 2005-07-19 21:13:19 +00:00
brendan%mozilla.org deb9f0c764 Add a subsumes relation to principals so JS can handle all cases when checking indirect eval (and the like) calls (300008, r=caillon/dveditz, sr/a=shaver). 2005-07-08 23:26:36 +00:00
joshmoz%gmail.com d9027016bd remove XP_MAC stuff from js. b=281889 r=brendan a=brendan 2005-07-07 22:35:40 +00:00
brendan%mozilla.org 2f532b789e Unregress indirect eval for benign cases such as venkman chrome calling content eval (293933, r=shaver). 2005-07-06 03:14:08 +00:00
brendan%mozilla.org c7b1f76398 Defend against [[DefaultValue]] divergence (295666, r=shaver). 2005-07-05 21:18:13 +00:00
brendan%mozilla.org 3b5174c57b Use runtime-wide access check hook as a default per-object (296397, r=shaver, sr=jst, a=drivers). 2005-06-21 21:31:26 +00:00
brendan%mozilla.org fb36f6a978 Add JS_EnumerateResolvedStandardClasses, and fix a few lazy-standard-class-init glitches hindering it (292903, r=shaver, a=me). 2005-06-16 04:24:03 +00:00
brendan%mozilla.org 578a39586d Better fix for 296397 (r=shaver, sr=jst). 2005-06-11 01:33:44 +00:00
brendan%mozilla.org 40e8b7f18a Another 293782 followup, to restore lost perf in call_enumerate (called from js_PutCallObject, imp. for closure perf). 2005-05-17 17:44:57 +00:00
brendan%mozilla.org 71f828e98c Followup patch for bug 293782 etc., to unregress 137000 (r/a=shaver). 2005-05-17 01:06:35 +00:00
brendan%mozilla.org 5cd5bba496 Hide function arg/var properties, to hide pre-ECMA design decision that horks ECMA-conformance and sanity in multiple cases (293782 and its deps, r+a=shaver). 2005-05-15 18:24:31 +00:00
brendan%mozilla.org ea9fd4132c Find active native function principals when walking the JS stack, and beef up eval-ish native safeguards (281988, r=shaver/caillon, sr=jst, a=drivers). 2005-05-04 06:28:36 +00:00
brendan%mozilla.org 89f668af1b Use 64-bit-friendly ptr/int macros. 2005-04-17 18:17:23 +00:00
brendan%mozilla.org e4e03bd453 Defense in depth for eval on what should be an inaccessible scope (217195, r+sr=jst, a=chase). 2005-04-12 01:35:05 +00:00
brendan%mozilla.org bb7b3cd85f Revert kludge, want a general fix. 2005-04-07 19:48:57 +00:00
brendan%mozilla.org b02c276f35 Stop evals and Script object calls/execs that cross trust domains (289074, r=shaver, sr=jst, a=drivers). 2005-04-07 02:22:24 +00:00
brendan%mozilla.org e676c738fd Fix ancient misordering of addProperty before slot store (279289, r=shaver). 2005-03-29 19:24:33 +00:00
brendan%mozilla.org 67a8f727f7 Fix so JSNewResolveOp can define id in an unrelated object and return it (not needed now for 274784, may be useful later, good for js, r=shaver). 2005-03-24 22:28:09 +00:00
brendan%mozilla.org 8e1b9d4f60 Fix instanceof to throw a TypeError if the RHS doesn't have a [[HasInstance]] internal method, per ECMA-262 Ed. 3 (r=shaver). 2005-02-24 00:06:43 +00:00
shaver%mozilla.org c6a1ca5969 Bug 273931: pop With objects from scope chain as appropriate, when resetting
stack depth due to exception-handling flow control jumps. r=brendan.
2005-02-18 16:06:49 +00:00
brendan%mozilla.org 203a9641ad Fix Detecting to cope with no active frames on cx (281984, r=jst). 2005-02-15 19:20:00 +00:00
brendan%mozilla.org c4f9945247 Remove bogus assert in MarkGCThing, fix order of operation in js_NewObject to avoid losing the newborn root (278725, r=shaver). 2005-01-19 02:25:40 +00:00
jst%mozilla.jstenback.com 0472c0073e Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org 2005-01-12 19:56:32 +00:00
brendan%mozilla.org 92552356eb Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver, TAKE 2). 2005-01-05 06:15:03 +00:00
brendan%mozilla.org 412eb31b82 Back out, broke liveconnect at least. 2005-01-05 03:58:19 +00:00
brendan%mozilla.org 90eaa50664 Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver). 2005-01-05 02:56:36 +00:00
brendan%mozilla.org 931f64581c Propagate a flag induced by JSOPTION_XML into script and context version fields, for proper run- and compile-time consistency (275742, r=shaver). 2004-12-24 00:03:59 +00:00
brendan%mozilla.org 91272a112c Fix for bug 244619 from aviary/1.7 branches, r=shaver. 2004-12-16 00:25:03 +00:00
brendan%mozilla.org 54e9fe4050 Null, not false (fix copy-paste error). 2004-12-10 01:31:16 +00:00
brendan%mozilla.org 5c38e1a00c Implement Deutsch-Schorr-Waite, plus related GC metering improvements, to avoid stack overflow crashes when marking very deep object lists (203278, r=igor@fastmail.fm and Igor wrote the tail-recursion elimination code). 2004-12-06 23:17:19 +00:00
brendan%mozilla.org 428b8a8546 E4X, configured off, code-complete. 2004-11-17 07:43:01 +00:00
brendan%mozilla.org 04b24dd95c Skip deleted/misidentified properties in js_obj_toSource (233483, patch from shaver+timeless, r=me). 2004-11-04 01:52:28 +00:00
brendan%mozilla.org 5eb78fc669 Initial E4X check-in, configured off (246441, rs=shaver). 2004-10-05 10:19:07 +00:00
brendan%mozilla.org a7487d7136 Add JSRESOLVE_DECLARING and JSRESOLVE_CLASSNAME support for better DOM quirk emulation (257602, r=shaver). 2004-09-01 20:51:39 +00:00
brendan%mozilla.org 5a95353303 Add scoped local root support, plus a few cleanups from the huge e4x patch (40757, r=shaver). 2004-08-19 17:57:36 +00:00
brendan%mozilla.org 1efe559390 Fix bug 254375 by quoting negative integer property ids in js_obj_toSource. 2004-08-05 08:06:26 +00:00
brendan%mozilla.org 652a45f1d5 Improve JSRESOLVE_DETECTING to handle typeof, ==, !=, etc.; don't give undefined property strict warning for detecting cases (253150, r=shaver). 2004-07-29 20:44:20 +00:00
brendan%mozilla.org d608b3e898 Update map->freeslot in js_SetRequiredSlot if obj has its own scope (245890, r=shaver); also clear pending exceptions as needed in js_TryMethod (old unreported bug, r=self). 2004-07-22 15:47:22 +00:00
brendan%mozilla.org c654a3f978 Improve JSRESOLVE_DETECTING by treating 'terminal' uses of, e.g., document.all as detecting (248549, r=jst). 2004-07-15 18:53:59 +00:00
brendan%mozilla.org bb87816784 Add JSRESOLVE_DETECTING (246964, r=shaver). 2004-06-16 21:15:35 +00:00
brendan%mozilla.org 1a78cd61c8 Give JSObjectOps.setRequiredSlot a JSBool return value so it can propagate errors (part of 245890, r=shaver). 2004-06-12 01:50:09 +00:00
brendan%mozilla.org c44082952a Back out patch for bug 245890 for now. 2004-06-09 19:39:53 +00:00
brendan%mozilla.org e4dad6cb67 Fix bug caused by bug 165201's checkin, where regexp-valued slots in function object clones might dangle after GC (245890, r=shaver). 2004-06-08 21:58:52 +00:00
brendan%mozilla.org 6e8f8f0e72 Make dynamically defined getters and setters enumerable (per afri posting to m.jseng; consistent with original getter=/setter= support in jsinterp.c). 2004-05-12 00:44:23 +00:00
brendan%mozilla.org 320d95637a Sigh, go back to requiring a native object for the global object in FindConstructor, to unbreak lazy class init. 2004-04-20 18:02:49 +00:00
brendan%mozilla.org ab1b721b28 Fix old watchpoint function vs. clone bug (240577) and undo bogus strict warning from lazy class init (240404 in part). 2004-04-15 09:05:46 +00:00
brendan%mozilla.org f3e73b9da0 Er, let's try caillon's patch (bug 240458, r=me). 2004-04-14 02:36:37 +00:00
brendan%mozilla.org e4d5924763 Fix cosmetic bug pointed out by caillon, passing JS_FALSE rather than 0 to js_DecompileValueGenerator (API change wasn't tracked long ago). 2004-04-14 02:35:34 +00:00