Commit Graph

7595 Commits

Author SHA1 Message Date
bclary%bclary.com
d05efd6f2b JavaScript Test Library - Regression test for bug 312385 2006-04-19 02:35:10 +00:00
brendan%mozilla.org
dcf53bc38a Oops. 2006-04-19 00:57:03 +00:00
brendan%mozilla.org
705725e02f Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap). 2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
c6e5aec25e Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan 2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
a9e8f95b55 Use the right object constructors. bug 334024, r=brendan 2006-04-18 18:12:53 +00:00
igor%mir2.org
624cae247a Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan 2006-04-18 07:25:37 +00:00
bclary%bclary.com
a3d034cd75 Remove regression test for bug 322177 since it is WONTFIX 2006-04-18 06:38:55 +00:00
brendan%mozilla.org
f423f359b1 Random trailing space search. 2006-04-18 04:41:24 +00:00
brendan%mozilla.org
10cbbda3cf Patch from Feng Qian <feng.qian.moz@gmail.com> with assist from Igor, based on ancient patch from me, to factor per-thread state from JSContext into JSThread to support per-thread lock-free GC allocation (312238, r=me). 2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
2d7096065f Fix use of uninitialized fp. 2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
e343a97818 Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap 2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
45f0829287 Split out construction code from the interpreter proper and share it between the js_Interpret and a new Narcissus-only function on Function.prototype (__applyConstructor__). This allows Narcissus to call a native constructor with an array of arguments, like Function.prototype.apply. bug 331429, r=brendan 2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
849f97dd03 Fix mismatched allocators. b=334162 r+sr=jst 2006-04-17 23:03:51 +00:00
brendan%mozilla.org
66aaeb15a5 Fix int constant precedent (333541, r=mrbkap). 2006-04-16 05:10:10 +00:00
brendan%mozilla.org
33af4e7a97 Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like. 2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
3fda3a292b -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
ee5ae83517 Only avoid calling toObject when v is null. bug 333911, r=brendan 2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
cde0d2439f Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan 2006-04-13 22:49:56 +00:00
bclary%bclary.com
15b95f62a1 JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman 2006-04-11 18:36:46 +00:00
bclary%bclary.com
4c6955719e JavaScript Test Library - Regression test for bug 331664, by Brendan Eich 2006-04-11 18:29:29 +00:00
bclary%bclary.com
b27ebeec48 JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant 2006-04-11 18:18:11 +00:00
bclary%bclary.com
b185ee48c3 JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman 2006-04-11 18:04:48 +00:00
bclary%bclary.com
49530f6507 JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov 2006-04-11 17:53:02 +00:00
bclary%bclary.com
3eac92ea2b JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk 2006-04-11 17:42:02 +00:00
bclary%bclary.com
46def5be45 JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build 2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com
f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
7970a7888a Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits. 2006-04-10 21:40:28 +00:00
brendan%mozilla.org
2c653c4861 Duh... (333398, r=mrbkap). 2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
a7f77479db Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst 2006-04-08 22:04:40 +00:00
bclary%bclary.com
95ccbc1e1d Update JS_GetImplementationVersion() date string (bug 67111, r=brendan) 2006-04-07 16:04:45 +00:00
bclary%bclary.com
dc0d9ca6bf jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap) 2006-04-07 15:58:32 +00:00
brendan%mozilla.org
73ab09a55c Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap). 2006-04-06 20:24:24 +00:00
brendan%mozilla.org
d911007cfc Fix uneval on E4X objects (327534, r=mrbkap). 2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
c1c8fbfcac Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com
d0dee808f7 Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com
0ce6c36fee Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 04:49:20 +00:00
dbaron%dbaron.org
e94b49b6af Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan 2006-04-05 21:34:16 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
timeless%mozdev.org
905303609b Bug 332689 js.mak clean targets fail to clean up pch's
also fixes up a few glitches in the jskwgen work and makes make clean zap its generated file
the clean target for js now cleans fdlibm+jskwgen too
the clean target for jsshell now cleans js too
2006-04-04 15:50:15 +00:00
timeless%mozdev.org
ef483b51d5 Bug 328479 Building the jsshell on VC++ 6 fails because jsautokw.h is missing
spidermonkey only fix for nmake. not part of any build that works since this hasn't worked in a long time.
2006-04-04 13:09:50 +00:00
mrbkap%gmail.com
c4f9fa3841 Backing out my changes from bug 326497 to fix tinderbox orange. 2006-04-03 21:18:41 +00:00
mrbkap%gmail.com
60b589ae77 Don't ignore any errors returned by PostCreate. Also, don't override an exception if one is already reported, as the further away from the original problem we get, the less precise the error message will be. bug 326497, r=brendan sr=shaver 2006-04-03 18:10:38 +00:00
bclary%bclary.com
b5406fa0be bug 332562 - Fix buggy loop in shell.js, patch by Seno Aiko 2006-04-03 13:33:33 +00:00
bzbarsky%mit.edu
25ab5fffef Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz
2006-04-02 20:58:26 +00:00
brendan%mozilla.org
daee041a64 Undepend regexp source string so error message formatted arg refs into it work (332472, r=mrbkap). 2006-04-02 19:07:49 +00:00
brendan%mozilla.org
b7aec0251e Fix double-destroy on js_SetLastIndex failure in js_NewRegExpObject (332415, r=mrbkap). 2006-04-01 00:00:38 +00:00
brendan%mozilla.org
7f55e01fd4 Don't optimize special (eval and debugger) global frames (332199, r=mrbkap). 2006-03-31 01:32:19 +00:00
brendan%mozilla.org
439fdaacf8 Fix 331787 by atomizing declared function object early (r=mrbkap). 2006-03-31 01:27:23 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bclary%bclary.com
39f8751079 Regression test for bug 329383. Fix bug number 2006-03-29 17:59:32 +00:00