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

10381 Коммитов

Автор SHA1 Сообщение Дата
reed@reedloden.com 82f3afa0ed Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
brendan@mozilla.org c18c65386e Try to fix Ts regression (414452, r=shaver). 2008-01-30 00:25:52 -08:00
brendan@mozilla.org 6ac8056119 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-29 22:29:49 -08:00
brendan@mozilla.org 7b19c3d0aa Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-29 22:27:13 -08:00
jst@mozilla.org c0f11e79b8 Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-29 21:55:12 -08:00
igor@mir2.org c215b188ed Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-29 21:35:34 -08:00
brendan@mozilla.org 6c5c3e2535 Dammit. 2008-01-29 21:14:55 -08:00
mrbkap@gmail.com e19f75b999 Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-29 21:13:19 -08:00
brendan@mozilla.org db10d95be4 Oops. 2008-01-29 21:12:45 -08:00
brendan@mozilla.org cac0b8dea5 Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-29 21:10:09 -08:00
crowder@fiverocks.com a1b3b54875 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-29 18:36:33 -08:00
jst@mozilla.org b5f8c91d5b Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-29 18:28:58 -08:00
mrbkap@gmail.com 39cf192e17 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-29 18:16:56 -08:00
crowder@fiverocks.com fa431d439a Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-29 18:11:30 -08:00
mrbkap@gmail.com 96076d19b0 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-29 18:06:17 -08:00
peterv@propagandism.org 17f5f4406d Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com cf3152214f Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-29 16:28:30 -08:00
jst@mozilla.org 555d637342 Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 15:56:49 -08:00
igor@mir2.org dbb75e97c2 Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 14:17:25 -08:00
peterv@propagandism.org 8affa46361 Try to fix orange 2008-01-29 13:42:05 -08:00
reed@reedloden.com 17dee2a4d9 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
peterv@propagandism.org 55896575d9 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
nboyd@atg.com e83839494a Missing ECMA conformance test, see https://bugzilla.mozilla.org/show_bug.cgi?id=392593 2008-01-29 07:02:12 -08:00
brendan@mozilla.org 65dd6882bf Revert last checkin (414452). 2008-01-29 00:45:14 -08:00
brendan@mozilla.org a786eebf13 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-28 23:18:21 -08:00
jst@mozilla.org 0886c37f01 Fixing windows bustage. 2008-01-28 15:54:56 -08:00
mrbkap@gmail.com eab5666aef Backing out to see if this is the cause for apparent random crashes. 2008-01-28 15:52:54 -08:00
jst@mozilla.org e6a7385bbe Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 15:19:51 -08:00
mrbkap@gmail.com ede517d088 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 15:10:30 -08:00
mrbkap@gmail.com e127b20c84 Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 15:07:29 -08:00
mrbkap@gmail.com 10c6e0c9d1 Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 15:03:42 -08:00
igor@mir2.org c195802bc0 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 14:36:59 -08:00
brendan@mozilla.org 4759d85bef Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-27 18:13:00 -08:00
mrbkap@gmail.com bb45b18132 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 09:27:01 -08:00
brendan@mozilla.org 932fb674a1 Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-26 23:58:06 -08:00
jst@mozilla.org 69a56c708b Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-25 16:36:44 -08:00
jst@mozilla.org a116be76ca Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-25 16:28:08 -08:00
jst@mozilla.org 275f61abc4 Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
jst@mozilla.org 33bb88f086 Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-23 17:17:13 -08:00
jst@mozilla.org 2133a00277 Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 14:05:43 -08:00
igor@mir2.org 57c91f16d7 Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 06:20:38 -08:00
igor@mir2.org 8c529adb1c Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00
igor@mir2.org 812a206f33 Bug 413565: GC now put all free cells to free lists. r,a=brendan 2008-01-23 05:05:48 -08:00
igor@mir2.org ad3ec80c7b Bug 411722: backing out again to fix incorrect error recovery 2008-01-23 01:56:28 -08:00
igor@mir2.org d9c8e2ea86 Bug 411722: faster implementation of js_GetLocalNameArray. r,a=brendan 2008-01-23 01:38:32 -08:00
igor@mir2.org 236f0f10fb Bug 411722: the new version of the patch shows the same bad Ts regression, backing out again. 2008-01-22 01:06:06 -08:00
brendan@mozilla.org 38e6d23318 Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB). 2008-01-22 00:56:26 -08:00
igor@mir2.org c60b21490b Bug 411722: faster implementation of js_GetLocalNames. r,a=brendan 2008-01-22 00:21:54 -08:00
sayrer@gmail.com 88dbacb40b Bug 411365. Shark functions. r/sr=brendan 2008-01-21 22:37:53 -08:00
mrbkap@gmail.com 7b788f7834 Use already running code's context when executing JS code from C++. bug 412598, r+sr=jst 2008-01-21 16:27:13 -08:00
jst@mozilla.org 4ad4aba591 Fixing bug 412698. Make XPConnect cache the per thread data for the main thread and use the cache when running on the main thread to save on time getting at the per thread data. r=dbradley@gmail.com, sr=brendan@mozilla.org 2008-01-20 20:51:55 -08:00
jst@mozilla.org b028d9847a Fixing bug 408301. Make more XPConnect wrappers share their JS object maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-20 13:03:52 -08:00
igor@mir2.org afa3a88d13 Bug 413241: fixing bogus assertion in Statements() from jsparse.c. r=brendan,mrbkap a=brendan 2008-01-20 12:55:42 -08:00
igor@mir2.org 587c01d442 Bug 411722: Backing out due to bad Ts regression. 2008-01-20 11:11:59 -08:00
igor@mir2.org 950a93d935 Bug 411722: faster implementation of js_GetLocalNames. r=brendan a=blocking1.9+ 2008-01-20 09:42:38 -08:00
peterv@propagandism.org cc0c8428bf Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-20 09:29:35 -08:00
timeless@mozdev.org 6ebd0d5466 Bug 334195 XPCWrappedNative::HandlePossibleNameCaseError dereferences an unitialized value if !set r=dbradley sr=jst a=mtschrep 2008-01-20 03:21:36 -08:00
igor@mir2.org db688a1770 Bug 410649: function statement and destructuring parameter name clash now favours the function. r,a=brendan 2008-01-20 02:34:06 -08:00
reed@reedloden.com 5eaa89d176 I'm dumb. Please forgive me. Yes, that includes you, shaver. 2008-01-20 01:54:09 -08:00
reed@reedloden.com c031ce7f17 Bug 331545 - "Use _InterlockedCompareExchange for js_CompareAndSwap" [p=mmoy@yahoo.com (Michael Moy) r+a1.9=brendan a=blocking1.9+] 2008-01-19 20:39:10 -08:00
jwalden@mit.edu dae8a6b9a4 Fix typo noted by igor, bug 409476 2008-01-19 18:52:23 -08:00
sayrer@gmail.com 95af9eef8d Bug 412874. Need Shark functions in JS component global scope. r/sr=brendan 2008-01-19 18:31:10 -08:00
shaver@mozilla.org fb0b46ab3c Config file for Solaris 10 from Wesley Garland (wes@page.ca), r=shaver. 2008-01-19 18:12:59 -08:00
jwalden@mit.edu 24f7096762 Bug 409476 - js_ValueToBoolean is pure, remove cx and out parameters and just return a boolean value for better perf. r+a=brendan 2008-01-19 16:56:08 -08:00
igor@mir2.org 6b9e1e7766 Bug 411025: temp rooting implemenation cleanup, r,a=brendan 2008-01-19 16:46:37 -08:00
sayrer@gmail.com ab17fc5d6c Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
igor@mir2.org c526c4b477 Bug 413104: access to JSString is hidden behind macros even for a flat string. 2008-01-19 13:15:08 -08:00
reed@reedloden.com d10363409b Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb. 2008-01-19 00:06:45 -08:00
igor@mir2.org bb8f471f9d Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+ 2008-01-18 18:56:51 -08:00
peterv@propagandism.org 09001414ad Back out remainder of patch for bug 412491 to try to fix orange. 2008-01-18 07:36:28 -08:00
peterv@propagandism.org 733973188f Back out to try to fix orange. 2008-01-18 05:59:07 -08:00
peterv@propagandism.org 442e717108 Fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-18 05:29:06 -08:00
reed@reedloden.com f015d06d01 Back out patch from bug 411579, as there may be a Ts perf regression. 2008-01-18 02:36:40 -08:00
reed@reedloden.com e2f4447ded Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)] 2008-01-18 01:09:18 -08:00
reed@reedloden.com cd2af3de01 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-18 01:08:09 -08:00
reed@reedloden.com 4a77dda5cf Bug 411968 - "Finishing JS_AlreadyHasOwnProperty" (CHECK_REQUEST(cx) in JS_AlreadyHasOwn{,UC}Property) [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-01-17 02:28:57 -08:00
sayrer@gmail.com f2a9049b13 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 12:42:50 -08:00
igor@mir2.org e5294ff020 Bug 412047: optimizing regexp upper/lower. r=crowder,a=blocking1.9 2008-01-16 00:31:15 -08:00
reed@reedloden.com 48b624cd11 Bug 411285 - "js_BoyerMooreHorspool is sometimes called for very short texts" [p=Seno.Aiko@gmail.com r=crowder a1.9=schrep] 2008-01-15 22:37:13 -08:00
bclary@bclary.com 70124a60a3 JavaScript Tests - test iterator value scope in array comprehension, by Norris Boyd, bug 412467, not part of the build 2008-01-15 20:47:31 -08:00
mrbkap@gmail.com 83e127e0b0 Don't call js_PopStatement if there was a parse error. bug 410852, r=brendan 2008-01-15 14:24:54 -08:00
bent.mozilla@gmail.com 55194785a8 Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9. 2008-01-15 10:23:46 -08:00
benjamin@smedbergs.us c1214a52cd Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:57:43 -08:00
benjamin@smedbergs.us b3e87aa63b Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
bclary@bclary.com a2cb4b68cf JavaScript Test - fix thinko in ecma_3/Number/15.7.4.3-01.js, bug 412068 2008-01-14 23:09:46 -08:00
jwalden@mit.edu c9b4d9d6f4 Bug 412068 - Number.prototype.toLocaleString incorrectly accesses the memory where its first argument should be, even if no first argument is actually given. Tag-team r=igor, r+a=brendan By the way, this checkin occurred on an orange tree. Just like every other patch in the last day. Yay checkin policy. 2008-01-14 20:16:08 -08:00
bclary@bclary.com 12fa39509d Sisyphus|JavaScript Tests - fix runtests.sh -e extra argument processing, bug 412317, not part of the build 2008-01-14 11:07:01 -08:00
sayrer@gmail.com 52d1056980 Bug 412210. SpiderMonkey faster at -O2 with msvc. r/a=brendan 2008-01-13 20:45:42 -08:00
bclary@bclary.com 4cd27a119e Sisyphus|JavaScript Tests - TinderboxPrint of test counts contain leading whitespace, bug 412183, not part of the build 2008-01-13 10:44:48 -08:00
jag@tty.nl 348b5a2de0 Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see). Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer. 2008-01-13 10:21:08 -08:00
bclary@bclary.com b081323f55 JavaScript Tests - update public failures, bug 314874 verified fixed 2008-01-13 09:40:04 -08:00
brendan@mozilla.org a83ad1b4dd * Menu of -D flags for enabling instrumentation, as a commented-out CFLAGS += setting for convenient testing. * js_FindProperty and js_LookupPropertyWithFlags return indexes into the scope and prototype chains, respectively, to support internal instrumentation, and to pave the way for the return of the property cache (bug 365851).. * jsutil.[ch] JSBasicStats struct and functions for computing mean/sigma/max and auto-scaling histogram. * JS_SCOPE_DEPTH_METER instrumentation for compile- and run-time scope chain length instrumentation: + At compile time, rt->hostenvScopeDepthStats and rt->lexicalScopeDepthStats meter scope chains passed into the compile and evaluate APIs. + At runtime, rt->protoLookupDepthStats and rt->scopeSearchDepthStats track steps along the prototype and scope chains until the sought-after property is found. * JS_ARENAMETER uses JSBasicStats now. * Added rt->liveScopePropsPreSweep to fix the property tree stats code that rotted when property tree sweeping moved to after the finalization phase. * Un-bitrotted some DEBUG_brendan code, turned some off for myself via XXX. * Mac OS X toolchain requires initialized data shared across dynamic library member files, outlaws common data, so initialize extern metering vars. * Old HASHMETER code in jshash.[ch] is now JS_HASHMETER-controlled and based on JSBasicStats. * DEBUG_scopemeters macro renamed JS_DUMP_SCOPE_METERS; uses JSBasicStats now. * Disentangle DEBUG and DUMP_SCOPE_STATS (now JS_DUMP_PROPTREE_STATS) and fix inconsistent thread safety for liveScopeProps (sometimes atomic-incremented, sometimes runtime-locked). * Compiler-modeled maxScopeDepth will propagate via JSScript to runtime for capability-based, interpreter-inlined cache hit qualifier bits, to bypass scope and prototype chain lookup by optimizing for common monomorphic get, set, and call site referencing a prototype property in a well-named object (no shadowing or mutation in 99.9% of the cases). 2008-01-12 16:31:31 -08:00
reed@reedloden.com 84015e0baf Change to ISO C90 comment style to fix warning in sayrer's last patch. 2008-01-11 23:37:32 -08:00
sayrer@gmail.com 83a63cb101 Bug 353962. Use OSAtomic on Darwin for JS thinlocks. r/a=brendan 2008-01-11 23:16:14 -08:00
dwitte@stanford.edu 3f33f45d2a thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
bclary@bclary.com b3ff48cc38 JavaScript Tests - regression test for bug 411893, by Jeff Walden, not part of the build 2008-01-11 19:54:40 -08:00
bclary@bclary.com ba4c806ad1 JavaScript Tests - regression test for bug 411889, by Jeff Walden, not part of the build 2008-01-11 19:48:16 -08:00
myk@mozilla.org 3db3cf881d backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions 2008-01-11 17:56:21 -08:00
jwalden@mit.edu 01c28c6669 Fix dumb mistake in the last toString patch that causes proto-acid3 to crash. 2008-01-11 16:12:36 -08:00
jwalden@mit.edu bb236cb5c9 Bug 411893 - num.toPrecision(undefined) !== num.toString(). r=crowder, a=brendan 2008-01-11 15:12:15 -08:00
jwalden@mit.edu e958678360 Bug 411889 - Given a = num.toString(), b = num.toString(undefined), c = num.toString(10), expect (a === b && b === c). r=crowder, a=brendan 2008-01-11 15:07:13 -08:00
jst@mozilla.org 807c3720ca Re-landing fix for bug 408301 to see if it really was the cause of the orange last time it landed. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-11 15:06:40 -08:00
dbaron@dbaron.org 49be80cc8a Unset and reset the JS context global objects when doing ExplainLiveExpectedGarbage, just like when doing normal cycle collection. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only). 2008-01-11 14:24:33 -08:00
nboyd@atg.com 5607b53ef0 Fix bug 411539 Generalize some tests for Rhino and Spidermonkey. r=bclary@bclary.com 2008-01-11 09:38:09 -08:00
benjamin@smedbergs.us c9b3cb0a1a Bug 411531 - Assertion failure !rt->gcRunning because I accidentally turned off deffered-release of wrapped natives during GC, r+sr=peterv 2008-01-11 06:52:45 -08:00
dwitte@stanford.edu 86ada27c83 backing out the rest. 2008-01-11 02:56:35 -08:00
dwitte@stanford.edu 8d74b831d4 partial backout in an attempt to fix orange. 2008-01-11 02:08:58 -08:00
dwitte@stanford.edu cc924d2d23 relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu f300515e36 backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu 09217db711 thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
crowder@fiverocks.com cb50b8064b Bug 411747: latent GC hazard in one of the routines in js.c (npotb), r/a=brendan 2008-01-10 19:22:55 -08:00
crowder@fiverocks.com c9fddb69ab Bug 411702 - Ancient OOM handling bug with an easy fix, r/a=brendan 2008-01-10 13:49:59 -08:00
igor@mir2.org 228a9c50a0 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-10 07:39:02 -08:00
peterv@propagandism.org 0c31e852c0 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
bclary@bclary.com c5878179f1 JavaScript Tests - update spidermonkey-extensions-n.tests, bug 398000, not part of the build 2008-01-09 17:49:19 -08:00
bclary@bclary.com 8a83b5f116 JavaScript Tests - known-failure.pl should ignore trailing spaces, bug 411506, not part of the build 2008-01-09 11:30:38 -08:00
igor@mir2.org e9a70fa58f Bug 409109: backing the checking as the tree was closed. 2008-01-09 07:31:13 -08:00
igor@mir2.org 8b1c16d166 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-09 07:20:39 -08:00
bclary@bclary.com 96e4d6c3ee JavaScript Test - regression test for bug 352291, by Jesse Ruderman, not part of the build 2008-01-08 19:42:01 -08:00
bclary@bclary.com 8412e39f8b JavaScript Test - regression test for bug 352422, by Jesse Ruderman, not part of the build 2008-01-08 19:31:29 -08:00
bclary@bclary.com 29b0ae2f75 JavaScript Test - regression test for bug 352786, by Jesse Ruderman, not part of the build 2008-01-08 19:25:46 -08:00
roc+@cs.cmu.edu 4fa46e122e Backing out 408301 to see if it fixes winxp01 orange 2008-01-08 19:21:35 -08:00
bclary@bclary.com afacfe51a6 JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build 2008-01-08 19:19:54 -08:00
bclary@bclary.com d02cf89da4 JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build 2008-01-08 19:13:01 -08:00
bclary@bclary.com 4972656d35 JavaScript Test - regression test for bug 411279, by Brendan Eich, not part of the build 2008-01-08 18:56:25 -08:00
brendan@mozilla.org 5a703c9325 Support let in switch-case statement lists, scoped by switch body (411279, r=mrbkap). 2008-01-08 16:49:35 -08:00
jst@mozilla.org cd477f287c Fixing bug 408301. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-08 15:38:24 -08:00
bclary@bclary.com 5ba44e49a0 JavaScript Tests - regression test for bug 410192, by Biju, Brendan Eich, not part of the build 2008-01-07 08:58:29 -08:00
bclary@bclary.com 807e497e35 JavaScript Tests - update test due to fix to bug 410981, not part of the build 2008-01-07 07:29:21 -08:00
brendan@mozilla.org a3ea177df1 Require explicit body block in 'for (let x ...) let y...' (410981, r=mrbkap). 2008-01-07 01:41:28 -08:00
brendan@mozilla.org 960c2fb3f2 64-bit fixes for problems reported by edwin@cheatah.nl (many thanks to Edwin; 410941, r=igor). 2008-01-07 00:41:06 -08:00
benjamin@smedbergs.us 25c97890b9 Bug 410929 - Bad C++isms in js/src, r=crowder 2008-01-06 08:28:46 -08:00
bclary@bclary.com b0a92173ca JavaScript Tests - update known failures to account for bug 408957, not part of the build 2008-01-05 17:28:28 -08:00
igor@mir2.org 5e1da6481e Bug 409109: Backing out once again to figure out the reason for talos regressions. 2008-01-05 17:20:16 -08:00
bclary@bclary.com 8fd2612448 JavaScript Tests - update tests to account for bug 408957, not part of the build 2008-01-05 17:18:47 -08:00
bclary@bclary.com 046958b203 JavaScript Tests - tests for iterator constructor, by Norris Boyd, bug 410725 2008-01-05 06:16:51 -08:00
igor@mir2.org 5562aab8aa Bug 409109: using the new operation counting JS API for monitoring long-running scripts. a,r=brendan 2008-01-05 03:25:49 -08:00
jruderman@hmc.edu de71e622e2 Add moving-between-frames crashtest 2008-01-04 22:54:28 -08:00
mrbkap@gmail.com a42148de74 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst r=brendan for some last-minute changes added in this version. 2008-01-04 20:45:16 -08:00
mrbkap@gmail.com 7905733e6e Do not allow scripted getters or setters on XPCNativeWrappers. bug 387390, r=jst sr=brendan 2008-01-04 17:37:48 -08:00
brendan@mozilla.org 9744f8528f Track ES4 proposal by restricting let declaration to be direct child of block (408957, r=mrbkap). 2008-01-04 17:34:11 -08:00
mrbkap@gmail.com 1e87d953ff Don't call arbitrary hooks from a function called from GC. bug 410323, r=brendan 2008-01-04 17:28:29 -08:00
mrbkap@gmail.com 73ff588d4e Use the currently active scope to find the prototype. bug 408639, r=jst sr=brendan 2008-01-04 17:25:35 -08:00
jst@mozilla.org f0f4a78cce Fixing bug 410851. Expose a faster way of getting the subject principal, and use that from performance critical code. r+sr=mrbkap@gmail.com 2008-01-04 15:59:12 -08:00
bclary@bclary.com 6eceacf44c JavaScript Tests - revert known failures due to bugs 393267, 399587 being backed out. not part of the build 2008-01-04 04:23:42 -08:00
jruderman@hmc.edu 8bf634583f The last backout introduced some mochitest orange. Let's see whether backing out bug 393267 as well fixes that. 2008-01-03 21:13:59 -08:00
jruderman@hmc.edu 0897e6bcea Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291. 2008-01-03 20:12:48 -08:00
brendan@mozilla.org 5c6db7edb0 NPOTB assertion for Date's 'friend' API, plus comments (410647, r=bclary). 2008-01-03 18:23:55 -08:00
gavin@gavinsharp.com bca6466fe2 Back out patch for bug 409109 because its suspected of causing the fxdbug-win32-tb orange 2008-01-03 15:03:19 -08:00
brendan@mozilla.org c8fe15935c Comment nit-pick. 2008-01-03 12:57:05 -08:00
igor@mir2.org fe3f92bad0 Bug 410653: make sure that the generator cleanup code is called on all code paths. r,a=brendan 2008-01-03 10:13:42 -08:00
igor@mir2.org 669c6f7b26 Bug 409109: switching to new operation counting API. r=jst a=beltzner 2008-01-03 07:27:28 -08:00
igor@mir2.org 0391bf3b2d Bug 364776: New operation counter API to replace branch callback. r,a=brendan 2008-01-03 01:28:40 -08:00
bclary@bclary.com 40b99e1035 JavaScript Tests - regression test for bug 351463, not part of the buidl 2008-01-02 20:53:12 -08:00
brendan@mozilla.org ed519a4892 XML/XMLList need toSource love (410192, r=mrbkap). 2008-01-02 12:25:59 -08:00
benjamin@smedbergs.us 6cbcdaa729 Bug 409433 - XPConnect should never allow GC off the main thread, r=mrbkap sr=jst a=luser 2007-12-31 10:17:35 -08:00
mrbkap@gmail.com a21c256a34 Fix silly think-o from bug 410090, r=lumpy 2007-12-30 12:37:49 -08:00
bclary@bclary.com 72180ad14f JavaScript Tests - update known failures due to fixes in bug 393269, bug 399587, not part of the build 2007-12-30 08:40:49 -08:00
mrbkap@gmail.com 87e401ef61 Preserve interesting attributes on same-origin XOWs. bug 393267, r+sr=jst a=beltzner 2007-12-29 20:36:37 -08:00
mrbkap@gmail.com 11ea674cb1 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst 2007-12-29 20:34:49 -08:00
mrbkap@gmail.com 5ec6a2cf11 Make enumeration over SJOWs walk the prototype chain. Also make SJOWs unwrap same-origin XOWs. bug 410090, r+sr=jst 2007-12-29 15:40:50 -08:00
mrbkap@gmail.com 8d20f88740 Allow chrome to use SJOWs. bug 409889, r+sr=jst 2007-12-29 15:38:36 -08:00
sayrer@gmail.com bf0d4a7536 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
bclary@bclary.com 1692006424 JavaScript Tests - regression tests for bug 407727, by Igor Bukanov, not part of the build 2007-12-27 12:23:00 -08:00
bclary@bclary.com 262e91334e JavaScript Tests - record additional fixes from bug 390949 in known failure list, not part of the build 2007-12-27 07:03:09 -08:00
jruderman@hmc.edu 291be0fbda Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red 2007-12-26 11:19:17 -08:00
bclary@bclary.com 51bae0c940 JavaScript Tests - record fixes from bug 390949 in known failure list, not part of the build 2007-12-26 06:36:33 -08:00
igor@mir2.org d0dfbf69ce Bug 409109: using operation counting API instead of the branch callback. r,sr=jst 2007-12-25 02:46:50 -08:00
igor@mir2.org 04dc8b4a16 Bug 364776: new operation callback API to replace branch callback. a,r=brendan 2007-12-25 02:12:26 -08:00
mrbkap@gmail.com 6d91bb218d Do not propagate our toString function onto the wrapped objects. bug 390949, r+sr=jst 2007-12-24 12:17:16 -08:00
mrbkap@gmail.com 16c69486d4 Add mochitests for bug 409298 and bug 403005 r=bzbarsky 2007-12-24 11:28:21 -08:00
jruderman@hmc.edu f6ce2dd711 Add crashtest 2007-12-23 17:25:00 -08:00
jruderman@hmc.edu 43ccb38c5a Add crashtest 2007-12-23 16:45:48 -08:00
timeless@mozdev.org 8b72a3f4cc Bug 336991 Useless null check of jsdscript in _destroyJSDScript r=gijs sr=bz a=dsicore 2007-12-23 15:47:36 -08:00
jwalden@mit.edu 8b7ea7080d Kick the stupid Windows tinderbox. 2007-12-22 08:36:21 -08:00
bclary@bclary.com abfe94f287 JavaScript Test - add additional tests for Function constructor, bug 408271, not part of the build 2007-12-21 17:58:43 -08:00
sayrer@gmail.com 3586680e00 Bug 409324. js_DoubleToECMA(u)Int32 should return jsdouble, not a useless always-true JSBool. r/a=brendan 2007-12-21 14:06:37 -08:00
igor@mir2.org 2a396929ca Bug 408271: check for missing return when parsing a function body in one place. r,a=brendan 2007-12-21 11:11:46 -08:00
mrbkap@gmail.com a2c54f7e09 Don't resolve things on SJOW's prototype and make toString on it work again. bug 409298, r+sr=jst a=beltzner 2007-12-21 11:05:05 -08:00
mrbkap@gmail.com dd46d7fd53 Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles; this was supposed to land before. bug 397855, r=brendan sr=dveditz 2007-12-21 01:10:59 -08:00
sayrer@gmail.com 74e937ea0b Bug 409302. js_DoubleToECMA(u)Int32 has an unused cx param. r/a=brendan 2007-12-20 17:43:49 -08:00
bclary@bclary.com d245f8e4aa JavaScript Tests - update list of known failures, no bug, not part of the build 2007-12-20 16:07:00 -08:00
bclary@bclary.com 9e55903594 JavaScript Tests - update tests to reflect changed behavior due to bug 409252 2007-12-20 16:02:14 -08:00
mrbkap@gmail.com 16497c7ae3 Fix this test to deal with the new error that's being thrown. 2007-12-20 15:46:08 -08:00
brendan@mozilla.org fe9da94d52 Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap). 2007-12-20 15:29:31 -08:00
mrbkap@gmail.com 84507f0e2e Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz 2007-12-20 14:59:44 -08:00
mrbkap@gmail.com ce2c77ecd3 Use two flags for filenames: "system" and "want native wrappers". bug 408859, r=jst sr+a=brendan 2007-12-19 19:11:02 -08:00
igor@mir2.org 24269f10d4 Bug 398219: avoid storing references to the global scope in the compiled scripts. r,a=brendan 2007-12-19 05:20:45 -08:00
mrbkap@gmail.com 3e0670e952 Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB) 2007-12-18 17:15:41 -08:00
crowder@fiverocks.com 47f5cc34fa Bug 407600 - Compile Spidermonkey with -Os on Mac, r=bsmedberg, no approval needed, NPOTB 2007-12-18 17:05:48 -08:00
mrbkap@gmail.com 192de13795 missing last character when using readline() on files. bug 407844, r=crowder a=brendan 2007-12-18 16:44:21 -08:00
mrbkap@gmail.com 19012a1ace Sync XPCSafeJSObjectWrapper with similar fixes that we took for XPCNativeWrapper. bug 399299, r+sr=jst 2007-12-18 15:33:14 -08:00
mrbkap@gmail.com c2be3e74a0 Make |foo instanceof XOW| work as expected. bug 396849, r+sr=jst 2007-12-18 13:06:44 -08:00
mrbkap@gmail.com e6bf1660b3 Work around weird behavior from JS_NewObject when we pass it a parent. bug 407289, r=jst sr=brendan 2007-12-18 11:40:46 -08:00
jst@mozilla.org 4a2cd7a8e4 Fixing orange. 2007-12-17 17:57:19 -08:00
jst@mozilla.org f23cb43403 Fixing bustage. 2007-12-17 16:49:21 -08:00
jst@mozilla.org 31b9fdf294 Fixing bug 408139. Make XPConnect string argument handling code use stack space for string wrappers rather than to heap allocate them for each string argument. r+sr=bzbarsky@mit.edu 2007-12-17 16:39:28 -08:00
bclary@bclary.com 6df1ec5ad5 JavaScript Tests - handle 'race' in some Date tests, not part of the build 2007-12-17 03:59:28 -08:00
bclary@bclary.com b6b0a842dc JavaScript Tests - relax randomness check for bug 211590 to prevent spurious failures 2007-12-16 08:01:48 -08:00
brendan@mozilla.org e19d051052 Remove DUMP_CALL_TABLE (preliminary patch for 365851, r=igor). 2007-12-14 13:36:02 -08:00