Commit Graph

6777 Commits

Author SHA1 Message Date
bob%bclary.com
dae4cdc78f increase global/local ratio to 2.5 to reduce noise, no bug, not part of build 2005-06-08 03:01:30 +00:00
bob%bclary.com
f5bcb45373 e4x 10.2.1.js XML.toXMLString test coverage, bug 297025 2005-06-08 02:54:39 +00:00
bob%bclary.com
b525135e04 e4x 10.1.2.js xmllist.toString test coverage, bug 297024 2005-06-08 02:45:15 +00:00
bob%bclary.com
a3e1f0f920 e4x 10.1.1.js xml.toString test coverage, bug 297018 2005-06-08 02:23:01 +00:00
brendan%mozilla.org
b2dc882824 Fix bugs 296772 and 262948 (r=shaver, sr=jst, a=me). 2005-06-08 02:13:10 +00:00
bob%bclary.com
9f51bec4e3 mklistpage.pl - exclude tests in spidermonkey-n.tests from menu.html, bug 296978 2005-06-08 01:05:34 +00:00
mrbkap%gmail.com
f0f0906148 bug 294195: Remove an old dependence on null-terminated strings in favor of an end-pointer to fix a crash trying to interpret regexp dollar backrefs. r+a=brendan 2005-06-07 22:16:48 +00:00
bob%bclary.com
4d0c2ebdc2 Add newline after modeline, no bug, not part of the build 2005-06-07 19:54:01 +00:00
brendan%mozilla.org
9315b99293 Update comment to track tricky AVL tree reference. 2005-06-07 16:22:58 +00:00
jst%mozilla.jstenback.com
1326123ede Fixing tinderbox orangeness (Thunderbird) and bug 296467. Get the function object off of the stack frame through fp->argv[-2] and not through fp->fun->object as the latter may be null if the function on the frame is a clone and the real function object no longer exists. reviews and approval pending. 2005-06-03 04:16:14 +00:00
jst%mozilla.jstenback.com
579f66758d Fixing bug 294795. Don't leave references from cloned member functions to the scope where xpconnect creates the functions (safe context). r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=brendan@mozilla.org 2005-06-02 21:33:18 +00:00
shaver%mozilla.org
bfb1d6c0e8 Bug 296006: correctly handle the re-locking of shallow GCThings. r+a=brendan 2005-06-02 12:17:51 +00:00
bzbarsky%mit.edu
3ffbd13c27 Log creation of XPCNativeWrapper and XPCWrappedNative objects if
DEBUG_XPCNativeWrapper is defined.  Bug 295435, r+sr=jst, a=shaver.
2005-06-01 19:26:24 +00:00
timeless%mozdev.org
43e126ba4d Bug 295636 OOM Crash [@ Init]
r=jst sr=jst a=shaver
2005-06-01 18:36:25 +00:00
bzbarsky%mit.edu
0a79630206 Fix toString on the XPCNativeWrapper prototype to return something sane instead
of crashing.  Bug 295430, r+sr=jst, a=shaver
2005-06-01 15:20:29 +00:00
cls%seawood.org
d5865f4067 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
2005-06-01 14:28:35 +00:00
bzbarsky%mit.edu
3607e6f0ff Separate out deep-ness and auto-unwrapping of native wrappers (base the latter
on whether the wrapper is explicit).  Bug 295782, r+sr+a=brendan
2005-06-01 01:46:01 +00:00
bzbarsky%mit.edu
bbb48ed8cd Don't return XPCNativeWrappers from an nsIXPConnect::WrapNative call. Bug
295152, r+sr=jst, a=brendan
2005-06-01 01:21:23 +00:00
brendan%mozilla.org
f7c32a8fa5 Fix gcPoke management to cope with nesty destroy-context order (296119, r=shaver, a=me). 2005-06-01 01:16:06 +00:00
jst%mozilla.jstenback.com
89ca2a2343 Fixing crash introduced with my earlier changes for bug 294893. Make nw and wn finalizers order independent. r+sr=bzbarsky@mit.edu, a=drivers 2005-05-26 21:35:27 +00:00
jst%mozilla.jstenback.com
0f335ce290 More fixes for bug 294893. When a XPCWrappedNative's scope is cleared, make sure we clear the scope for all of its XPCNativeWrappers as well. r+sr=bzbarsky@mit.edu, a=drivers 2005-05-26 19:30:36 +00:00
bzbarsky%mit.edu
03b49b6c9f Better version of last patch -- don't pin the atoms, and clean up nicely when
they're finalized so as not to crash.  Bug 294893, assumed future r=brendan,
a=drivers
2005-05-26 17:21:29 +00:00
bzbarsky%mit.edu
0944128967 Backing out to fix orange till I can sort it out. 2005-05-26 14:41:34 +00:00
bzbarsky%mit.edu
1a63d106a8 Don't pin object atoms, since those can entrain all sorts of other stuff. Bug
294893 some more, r=brendan, sr=jst, a=brendan
2005-05-26 13:27:57 +00:00
brendan%mozilla.org
71ea03eb0c Fix null deref crash on s.match.apply (295052, r=shaver). 2005-05-25 23:28:00 +00:00
jst%mozilla.jstenback.com
4095b0c95f More fixes for leak bug 294893. Make sure to clear the scope of the native wrapper when a wrapped native's scope is cleared. r+sr=bzbarsky@mit.edu, a=drivers 2005-05-25 03:40:24 +00:00
jst%mozilla.jstenback.com
6568039cd1 More attempts at fixing leak bug 294893 by fixing up parenting of XPCNativeWrapper objects, and fixing problem with accessing a deleted wrapper in some cases. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org 2005-05-24 20:05:43 +00:00
jst%mozilla.jstenback.com
f79c3e5216 Fixing (hopefully) leak bug 294893. Don't mark mNativeWrapper when an XPCWrappedNative is marked, let XPCNativeWrapper's die when all script references to them are gone even if their XPCWrappedNative is still referenced. r/sr/a=asa@mozilla.org (will get real reviews once people are reachable). 2005-05-24 06:42:30 +00:00
bzbarsky%mit.edu
689485bfbc Fix deep-wrapping to reuse existing wrappers if it can. Bug 295301, r+sr=jst,
a=asa
2005-05-24 05:11:20 +00:00
timeless%mozdev.org
f19bba4e9c Bug 293992 printf passed user controlled buffer
r=shaver sr=bz a=asa
2005-05-23 21:00:06 +00:00
jst%mozilla.jstenback.com
9a3106a766 More fixes for bug 295101. Don't leave *pob2 dangling (caught by bz). r+sr=bzbarsky@mit.edu, a=brendan@mozilla.org (on irc) 2005-05-23 16:59:29 +00:00
bzbarsky%mit.edu
5e4147b68a Check in jst's patch to auto-mark our new objects before we do things that
might trigger gc.  Bug 295101 partial patch, r+sr=bzbarsky/brendan, a=brendan
2005-05-23 14:14:45 +00:00
brendan%mozilla.org
e51d59600b Bypass XPCNativeWrapper's delProperty hook (295122, r+sr=jst). 2005-05-23 05:58:05 +00:00
bzbarsky%mit.edu
1864138655 Stop forwarding addProperty to the wrapped native. That's not the right thing
to do in general (since we use OBJ_DEFINE_PROPERTY in this case in resolve
anyway), and it breaks some things.  Bug 295122, r/sr=jst/brendan, a=brendan
2005-05-22 20:48:00 +00:00
brendan%mozilla.org
4ce9258492 Fix UMR regression introduced in 3.110 (295116, tachyonal r=shaver). 2005-05-22 18:25:08 +00:00
bob%bclary.com
7a3f63044e Add testcase for bug 295052, by David James. Do not crash on String.prototype.match.apply 2005-05-21 21:28:43 +00:00
brendan%mozilla.org
8d6926d579 Fix 294957 for good. 2005-05-21 17:35:16 +00:00
brendan%mozilla.org
37525372bf Fix from bz for glitch in last checkin. 2005-05-21 14:55:54 +00:00
brendan%mozilla.org
9aae66357d Fix stale comment added in last rev. 2005-05-21 06:32:12 +00:00
brendan%mozilla.org
742852d623 Fix adblock and many other non-system chrome users of sytem-chrome xbl (294960, r+sr=bz). 2005-05-21 06:24:08 +00:00
brendan%mozilla.org
df79c67c6e Argh, I made JS_IsSystemObject return a bogo-boolean -- thanks to bz for catching this. 2005-05-21 05:52:20 +00:00
brendan%mozilla.org
f303211ec9 Fix frames[0] case where DOM doesn't use an item method (294960, r+sr=bz). 2005-05-20 21:46:24 +00:00
brendan%mozilla.org
7292f808d8 Fix 294957, fallout from the 281988 landing (r+sr=bz). 2005-05-20 20:06:22 +00:00
bzbarsky%mit.edu
6a53f6896a Flag our private as ISUPPORTS so object principals, etc, become happy. Bug
281988 ongoing, r+sr+a=brendan.
2005-05-20 19:00:14 +00:00
brendan%mozilla.org
2bad9d00d6 Followup for 281988, r+sr=bz, to make deep XPCNativeWrapper __parent__ mirror wrapped-native parent linkage. 2005-05-20 18:51:57 +00:00
bzbarsky%mit.edu
a932baafd8 Make sure to not use an XPCNativeWrapper as the parent for an
XPCWrappedNative.  Get its underlying XPCWrappedNative and use that instead.
Bug 281988 fun continues, r+sr+a=brendan
2005-05-20 17:35:11 +00:00
bzbarsky%mit.edu
13039d7334 Make GetScopeOfObject() know about XPCNativeWrapper and get the scope of the
underlying XPCWrappedNative.  Bug 281988, r+sr+a=brendan
2005-05-20 05:09:56 +00:00
bzbarsky%mit.edu
14f26e8513 Fixing build bustage. Thanks to swalker for the heads-up 2005-05-20 04:47:28 +00:00
brendan%mozilla.org
c5ad16e086 Big patch from jst and me to beef up and automate, configurably, XPCNativeWrapper (281988, r+sr=bz/shaver, a=drivers). 2005-05-20 03:12:22 +00:00
brendan%mozilla.org
c1d82771b1 Unregress __noSuchMethod__ for 1.8b2. 2005-05-17 20:01:28 +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
4d82ed6841 Comment tweak. 2005-05-17 03:00:49 +00:00
brendan%mozilla.org
79033ae9c0 Remove harmless but not-ready-for-prime-time stuff that tagged along with the last checkin. 2005-05-17 02:57:26 +00:00
brendan%mozilla.org
2b9ce38fd0 Duh. 2005-05-17 02:41:04 +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
2049578262 Fast followup to last checkin (bug 293782) to unregress 238881. 2005-05-15 22:38:12 +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
bob%bclary.com
91ba84e306 Function arguments, variables should be hidden as Function properties, test by Jonathan Watt 2005-05-15 17:26:52 +00:00
bob%bclary.com
d9f0464cd2 Test crash during String.replace when accessing String methods on backreferences 2005-05-15 17:04:00 +00:00
bob%bclary.com
c08ce4e7ee Test crash bug 294191, testcase by shutdown@ayassi.zzn.com 2005-05-15 16:38:46 +00:00
brendan%mozilla.org
9715e2d8b6 Fix another scripts+runtime survive a zero-context condition bug reported by MikeM@RetekSolutions.com. 2005-05-13 17:47:04 +00:00
brendan%mozilla.org
fa5b34223d Flag Script-object compilation so it deoptimizes fully (291213, r=shaver, a=me). 2005-05-12 19:34:13 +00:00
timeless%mozdev.org
3cbbf6f820 Bug 293846 NS_IMETHODIMP nsJSRuntimeServiceImpl::GetBackstagePass returns nsnull on failure
r=shaver sr=shaver a=shaver
2005-05-12 03:55:41 +00:00
shaver%mozilla.org
3ab1e26262 Bug 293546: No way to do "a instanceof b" using the Spidermonkey API.
r+sr+a=brendan.
2005-05-10 19:53:44 +00:00
db48x%yahoo.com
0e1391f88e bug 291861: XPCDispInterface.cpp fails to compile with Microsoft Visual Studio 2005 Beta 2
patch by Stephen Walker <sdwalker@myrealbox.com>, r=shaver, a=shaver
2005-05-07 06:12:54 +00:00
timeless%mozdev.org
2aedf5913e Bug 292397 JS_VERSION 130 doesn't build
r=brendan a=asa
2005-05-06 21:44:32 +00:00
timeless%mozdev.org
e4740df8be Bug 292400 JS_VERSION 148 doesn't build
r=brendan a=asa
2005-05-06 21:42:39 +00:00
timeless%mozdev.org
b5e78ba1b6 Bug 292398 JS_VERSION 140 doesn't build
r=brendan a=asa
2005-05-06 21:25:45 +00:00
bob%bclary.com
2f64a99c34 undeclaring namespace should cause parse error, bug 292863 by Martin Honnen 2005-05-06 01:16:23 +00:00
bob%bclary.com
6d8c4e97d1 for-in statements should not invoke valueOf method, bug 292731, by Bryant Chen 2005-05-06 01:05:18 +00:00
bob%bclary.com
3b6a4e695f js1_5/Array/array-002.js Array extras is spidermonkey only, bug 290592 2005-05-05 19:46:02 +00:00
bob%bclary.com
1ca5429b9e Testcases for Array extras, bug 290592 2005-05-05 19:38:24 +00:00
shaver%mozilla.org
eb77f9dcb6 Bug 291494: add Date.prototype.toLocaleFormat for better control over
localized Date formatting, as well as access to things like
            week-number and Julian dates. r+a=brendan.
2005-05-05 16:08:23 +00:00
timeless%mozdev.org
518c41fbc8 Bug 292949 crash [@ js_SetClassPrototype] because proto isn't rooted in js_InitExceptionClasses across call to js_DefineFunction
r=brendan a=brendan
2005-05-05 05:40:22 +00:00
timeless%mozdev.org
c982df2b12 Bug 292556 JS_NewRuntime doesn't handle failure from js_SetupLocks
r=shaver a=shaver
2005-05-05 05:31:27 +00:00
brendan%mozilla.org
66071670c8 Allow var redeclaration within a compilation unit (as is already allowed across compilation units; 291868, r=shaver a=me). 2005-05-05 01:43:52 +00:00
brendan%mozilla.org
551d78d209 Fix so last-ditch GC doesn't collect script filenames (291312, r=shaver, a=me). 2005-05-05 00:47:50 +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
shaver%mozilla.org
c139803221 Bug 290252: array extras: add lastIndexOf, add fromIndex to indexOf, fix
behaviour of operations on an empty array, shine shoes.
            r+a=brendan.
2005-05-04 02:43:13 +00:00
timeless%mozdev.org
425af3c1be R:\mozilla\js\src>cl -FoWINNT5.1_DBG.OBJ/ -c /MD /Od /Z7 -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 /nologo /W3 /FpWINNT5.1_DBG.OBJ/js.pch -DDEBUG -DDEBUG_timeless -DJS_VERSION=140 /Op -DEXPORT_JS_API jsinterp.c jsinterp.c
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLPI' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLOBJECT' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLCOMMENT' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLCDATA' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_QNAMEPART' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_QNAMECONST' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_GETMETHOD' was undefined
2005-04-29 20:35:19 +00:00
dougt%meer.net
be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
bob%bclary.com
74e113ead6 Add regression test for bug 234389, by Alex Vincent 2005-04-29 03:33:45 +00:00
bob%bclary.com
97ffab9ec2 for-each-in should not affect outer for-in statements, bug 292020, test by jmsachs@gmail.com 2005-04-27 19:48:02 +00:00
timeless%mozdev.org
748c3496e3 Bug 281489 js.mak contains no rules for jsxml.*
patch by nallen@acm.org r=brendan
2005-04-27 13:42:46 +00:00
brendan%mozilla.org
4010e1bd3f Clear foreach flag when running off the prototype chain of the object being enumerated (292020, r/a=me, thanks to jmsachs@gmail.com for the report). 2005-04-26 22:42:53 +00:00
brendan%mozilla.org
05122d9fc8 Add JS_Get[UC]*PropertyAttrsGetterAndSetter for fast-back bug (274784, r/a=me). 2005-04-26 04:11:59 +00:00
bsmedberg%covad.net
93f724b4b4 Bug 290995 - Add Components.reportError() (allow JS exception handlers to report errors to the JS console but then continue about their business) r+sr=shaver a=brendan 2005-04-25 18:45:11 +00:00
brendan%mozilla.org
1726e9fd0a Improve error reporting for too many array initialisers (276289, r/a=me). 2005-04-23 06:10:25 +00:00
brendan%mozilla.org
9037c2320b Allow up to 2^23 literals in a script (155081, r=shaver, a=me). 2005-04-23 02:14:20 +00:00
brendan%mozilla.org
daf517837d Check in timeless's patch to protect against last-ditch GCs under JS_InitClass (291439, r/a=me). 2005-04-23 00:07:35 +00:00
timeless%mozdev.org
7bfb0bd495 fix GC_MARK_DEBUG for !JS_HAS_XML_SUPPORT 2005-04-22 23:53:40 +00:00
igor%mir2.org
0ce126ffab Fixing String.replace(re, function) where function doing regexps on its own would alter regexp data used by the regexp itself. 2005-04-22 15:28:19 +00:00
mconnor%steelgryphon.com
4a2763dc46 land jst's fix for bug 289675, r=bz/dveditz, sr=brendan, a=chase 2005-04-21 21:05:10 +00:00
brendan%mozilla.org
a849c3df5d Patch from Bob Clary <moz@bclary.com> to fix ancient iloop inherited from java.util.Date (273292, r/a=me). 2005-04-21 05:04:44 +00:00
bob%bclary.com
3f5e6dd731 15.9.3.2 new Date(value), bug 273292 2005-04-20 21:44:34 +00:00
bob%bclary.com
9e8718e2de Fix crashMe2 testcase to check for SyntaxError instead of just not crashing 2005-04-20 16:34:20 +00:00
brendan%mozilla.org
9d44553348 Checking in patch from James Ross <silver@warwickcompsoc.co.uk (257751, r/a=me). 2005-04-19 21:44:23 +00:00
brendan%mozilla.org
1b9d81617d Limit args passed via Function ctor (290575, r/a=me). 2005-04-19 21:06:26 +00:00
bob%bclary.com
755c13363f Add new testcase for bug 290575, by Erik Fabert 2005-04-19 20:44:06 +00:00
bob%bclary.com
6e9df675ad Regression test for bug 290656 by Andrew Schultz, bug 290656 2005-04-19 00:43:19 +00:00
bob%bclary.com
4b18882f24 Do not crash when calling function with more than 32768 arguments by Erik Fabert, Bug 290575 2005-04-19 00:26:12 +00:00
bob%bclary.com
f9d617e1ee Additional test for ECMA 3 10.6.1 by Bryant Chen, Bug 290774 2005-04-19 00:12:21 +00:00
brendan%mozilla.org
391dcd4406 Don't delegate activation objects to Object.prototype (290774, r=shaver a=me). 2005-04-18 21:39:00 +00:00
bob%bclary.com
62def0ab5c Additional test from Martin Honnen, Bug 290715 2005-04-18 21:04:23 +00:00
bob%bclary.com
25c4b48342 Updated test from Brendan, bug 290488 2005-04-18 20:47:45 +00:00
bob%bclary.com
76ebcc8cbe Additional tests by Martin Honnen, Bug 290481 2005-04-18 20:02:20 +00:00
brendan%mozilla.org
726265ea9c Follow ECMA when .call is passed zero args (290488, r=shaver, a=me). 2005-04-17 20:15:32 +00:00
brendan%mozilla.org
768ea36658 Add it.bindMethod for testing of DOM and XPConnect bound methods. 2005-04-17 19:59:13 +00:00
shaver%mozilla.org
fea422d9f2 Bug 290592: Add |forEach|, |indexOf|, |filter|, |map|, |some| and |every| to
Array.prototype, for greater Lispy righteousness.  r+a=brendan.
2005-04-17 18:31:59 +00:00
brendan%mozilla.org
89f668af1b Use 64-bit-friendly ptr/int macros. 2005-04-17 18:17:23 +00:00
brendan%mozilla.org
ea546f0352 Clamp fun->{nargs,nvars}, an old bug laid to rest (290575, r=shaver, a=me). 2005-04-17 16:01:28 +00:00
brendan%mozilla.org
001047fa23 Fast followup to uninitialized ok blunder in last checkin. 2005-04-17 04:30:30 +00:00
brendan%mozilla.org
b1afa736a9 Finish implementing Descendants, handle the neglected XMLList case (290481, r/a=me). 2005-04-15 20:32:15 +00:00
brendan%mozilla.org
f4dc897f49 Fix empty-XMLList-literal basis case bug (290499, r/a=me). 2005-04-15 20:08:33 +00:00
bob%bclary.com
33a3a6cd29 Regression test for bug 290499, by Martin Honnen 2005-04-15 18:29:53 +00:00
bob%bclary.com
cb317ff9d9 Fix typo, thanks to Erik Fabert for pointing it out 2005-04-15 17:56:18 +00:00
bob%bclary.com
454981dc01 Function.prototype.call() for closures should default scope to the global object, bug 290488 2005-04-15 17:22:46 +00:00
brendan%mozilla.org
743092df0c Fix js_AllocStack to null new space (cheapest way to save last-ditch GC from scanning uninitialized stack space; 290476, r=shaver, a=me). 2005-04-15 16:01:20 +00:00
bob%bclary.com
de214e4823 Add regression test for bug 290056, by Martin Honnen 2005-04-13 18:44:22 +00:00
kairo%kairo.at
644750eab5 bug 289326 - hangs when clicking on "Satellite" link on Google maps (linux-ia64 only), patch by David Mosberger <davidm@hpl.hp.com> r=brendan sr=shaver a=asa 2005-04-13 12:47:20 +00:00
brendan%mozilla.org
45592dcd4b Fix bugs due to errata in ECMA-357 10.2.1, 13.4.4.35 and 13.4.4.36 (290056, r/a=me). 2005-04-12 22:42:57 +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
jst%mozilla.jstenback.com
3b793862be Fixing bug 286629. Allow access to Components.lookupMethod() and .isSuccessCode() from untrusted script. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=chofmann@mozilla.org 2005-04-11 20:41:12 +00:00
bob%bclary.com
6ee8513501 revert stupid mistake 2005-04-11 17:49:45 +00:00
bob%bclary.com
4a71ffbf67 /b(?=(b+))/.exec(baaabac) == null 2005-04-11 03:39:26 +00:00
bob%bclary.com
b3c60532ff Generalize test to use regular expression to prevent false failure in rhino 2005-04-11 03:37:52 +00:00
bob%bclary.com
d4ab7e0bc3 Catch exception if indirect eval calls are not allowed in the engine 2005-04-11 03:36:25 +00:00
bob%bclary.com
dc2cb179bd Don't call gc() if it is not defined the the engine being tested 2005-04-11 03:35:19 +00:00
bob%bclary.com
15abbc0669 Change expected typeof new Script() to 'object', since it is not callable 2005-04-11 03:33:44 +00:00
bob%bclary.com
44e1e7b95b Escape >, bug 289634 2005-04-11 03:27:48 +00:00
bob%bclary.com
1e3152f559 spidermonkey version of the test 2005-04-11 03:15:54 +00:00
bob%bclary.com
f7d5bee637 Update character ranges, bug 289640 2005-04-11 02:24:04 +00:00
bob%bclary.com
7f35e91175 Add two test cases from Martin Honnen, bug 289706, bug 289790 2005-04-11 02:15:35 +00:00
brendan%mozilla.org
66df4cad97 Fix to late-night goof in xml_contains (289790, r/a=me). 2005-04-10 15:21:47 +00:00
brendan%mozilla.org
4eb17107f9 Fix incomplete/buggy Equals (278706, reporter=Martin.Honnen@arcor.de, r/a=me). 2005-04-09 17:59:21 +00:00
bob%bclary.com
44409b4c6e add obsolete tests to spidermonkey's exclusion list, bug 289604 2005-04-08 20:19:21 +00:00
bob%bclary.com
606f62bd70 add spidermonkey only tests to rhino's exclusion list, bug 289603 2005-04-08 20:08:57 +00:00
bob%bclary.com
d192a76d67 remove anchors from jsDriver.pl output, bug 289600 2005-04-08 20:02:47 +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
a07a88aaff Fix SetFunctionSlot to cope with the second shawdowed arg or var (289094, r=shaver). 2005-04-05 23:10:43 +00:00
brendan%mozilla.org
774ef898c0 Don't bellow, below 2005-04-05 22:47:41 +00:00
bob%bclary.com
a1b231182b Regress test for bug 289094, by Jonas Jonsson <mozilla.nospam@fatbrain.org>, Brendan Eich <brendan@mozilla.org> 2005-04-05 22:30:49 +00:00
bsmedberg%covad.net
3bc2f25f6c Static build bustage from bug 288955 - MODULE_NAME is incompatible with FORCE_SHARED_LIB in static builds. 2005-04-05 18:26:06 +00:00
bsmedberg%covad.net
ab28b280da Bug 288955 - move jsdebugger to tier 50, integrate with libxul r=darin 2005-04-05 16:34:09 +00:00
bob%bclary.com
18043c46e9 Testcase for XML Descendants, by Martin Honnen <martin.honnen@gmx.de> 2005-04-05 15:22:58 +00:00
bsmedberg%covad.net
573eebab2a Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 12:36:03 +00:00
brendan%mozilla.org
36eb2aa71d JS_FRIEND_API for js_DumpGCStats (#ifdef JS_GCMETER only, not part of build). 2005-04-04 20:43:47 +00:00
bob%bclary.com
3431171276 15.5.4.14 - String.prototype.split(/()/), by Karten Sperling <spiff@phreax.net 2005-04-04 15:51:25 +00:00
brendan%mozilla.org
72902d2d31 Fix for regression from 288688's patch (288818, tachyonal r=shaver/sr=dbaron). 2005-04-03 07:56:54 +00:00
brendan%mozilla.org
fbdba16b1b Followup to last patch: JS_free is null-safe. 2005-04-02 06:39:16 +00:00
bob%bclary.com
d790b31418 Regression test for bug 288688 2005-04-02 06:38:32 +00:00
brendan%mozilla.org
980eb83a0c Fix property lookup so function::name can be found in a filtering predicate expression. 2005-04-02 06:37:45 +00:00
brendan%mozilla.org
7c1886e41a Fix 8-year-old bug with lambda replace clobbering cx->regExpStatics (288688, r=shaver, sr=dbaron). 2005-04-02 02:48:16 +00:00
brendan%mozilla.org
8982d3997d Fix unique attribute {uri, localName} bug (283972) and follow the spec on escaping > (264369). 2005-04-01 17:23:12 +00:00
timeless%mozdev.org
3e489b6c8f Bug 288532 OOM crash [@ XPCConvert::JSErrorToXPCException]
r=dbradley sr=rbs
2005-04-01 04:36:44 +00:00
igor%mir2.org
79c7f08bdb *** empty log message *** 2005-03-31 13:16:07 +00:00
bob%bclary.com
be5ef60657 Add test cases for XML literals: comment, processing instruction. No bug, issue found by Martin Honnen 2005-03-30 14:56:03 +00:00
bsmedberg%covad.net
84cfc83215 Bug 286450 - Make nsIScriptError.message display a formatted message with file/line information, for future logging purposes r=dbradley sr=bz 2005-03-30 11:34:59 +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
357214d9ae Make js_GetScriptLineExtent JS_FRIEND_API for the js shell's sake. 2005-03-29 16:55:43 +00:00
brendan%mozilla.org
8e521d1654 Fix EmitJump to AddSpanDep if in all necessary cases (155081, the small crash-fix patch). 2005-03-29 02:45:03 +00:00
brendan%mozilla.org
f307e91cbd Fix bogus assertion reported a while ago (sorry, I forgot by whom). 2005-03-29 02:40:23 +00:00
brendan%mozilla.org
f25ba86f45 Add getslx for testing js_GetScriptLineExtent, and make GetTrapArgs work as ValueToScript does. 2005-03-29 02:39:01 +00:00
brendan%mozilla.org
46a2ff94ea - Fix longstanding goof in js_PushLocalRoot, where m (n % local-root-chunk)
was returned rather than n (the index of lrs->scopeMark).  I'm mortified.
- Followup fix to GC local rooting fix in ParseNodeToXML -- missed a few
  early returns from what used to be no-local-roots switch cases.
2005-03-29 01:40:30 +00:00
brendan%mozilla.org
23ee8079f9 - Revert recent change to js_NewXMLSpecialObject API, it was based on me
misreading the spec.
- Improve XML constant folding by decompiling CDATA, comments, and PIs in
  non-constant XML literals -- those containing {embedded-expressions}.
- Fix GC local rooting in ParseNodeToXML, it was pretty broken.
2005-03-28 23:12:42 +00:00
brendan%mozilla.org
8cc33f468d Back out recent attempts to fix 287107 and follow-on bugs; back to drawing board. 2005-03-28 08:25:30 +00:00
brendan%mozilla.org
c0847e801d Comment tweak. 2005-03-27 20:30:46 +00:00
brendan%mozilla.org
d019ef1bbd Make top-level PIs and comments respect their XML.ignore* flags (246441 cont'd). 2005-03-27 20:18:51 +00:00
brendan%mozilla.org
8944444750 Maintain XMLPI target and content as non-null -- if no content, use empty string (private communcation w/ bclary). 2005-03-27 16:08:42 +00:00
brendan%mozilla.org
afb1227d4c Clear pending results after fetching 'em in XPCWrappedJSClass::CallMethod (287490, r=dbradley, sr=jst). 2005-03-24 23:37:47 +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
shaver%mozilla.org
06528c8adc Bug 287441: add __LOCATION__ property so JS components can tell where they're
loaded from.  r=dbradley.
2005-03-24 18:24:09 +00:00
brendan%mozilla.org
42d81b218e Unregress 1.73's breakage of NS_COMFALSE return from a JS method (287107, r=dbradley, sr=jst). 2005-03-23 02:39:47 +00:00
cbiesinger%web.de
ce4140de8d 270224 create nsIPropertyBag2 for easier getting of values from a propertybag
r=shaver sr=darin
2005-03-22 18:16:53 +00:00
bob%bclary.com
7f6e8ae27d Update Martin's email 2005-03-21 19:09:10 +00:00
brendan%mozilla.org
a5b1cbc47e Remove dead code pointed out by njaguar@gmail.com. 2005-03-20 05:00:15 +00:00
bob%bclary.com
f5797aeb24 Add ability to run js/tests from browsers. Bug 263119 2005-03-18 19:09:59 +00:00
brendan%mozilla.org
55ffff862e Kludge tracing code (DEBUG only) to cope with JSOP_FORELEM oddment (286216). 2005-03-15 22:22:45 +00:00
igor%mir2.org
2a34d78a3b Fixing bug 286251: removal of double call to initFunction which was spotted by Gilles Barnier <gilles.barnier@veritas.com>. 2005-03-15 17:13:02 +00:00
bob%bclary.com
dc99e53fef modify to follow ecma3 specification. See bug 281606 2005-03-15 00:28:38 +00:00
bryner%brianryner.com
e171eaba9b Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin. 2005-03-10 00:39:28 +00:00
bob%bclary.com
5c1bb246a5 Update changed line number in function testRealError() 2005-03-09 20:23:55 +00:00
brendan%mozilla.org
e0b35fdac6 Propagate special and compile-n-go flags from top frame when pushing a compiler frame, EXCEPT when pushing a frame for a function body -- there, propagate compile-n-go (285219, r=shaver). 2005-03-09 01:02:27 +00:00
brendan%mozilla.org
668143e9dd Back out last change, reopening bug 285219 (see bug 285244). 2005-03-08 22:35:30 +00:00
dmose%mozilla.org
ec1b3c2668 Fix MinGW build bustage. Thanks to sharparrow1@yahoo.com for the patch. r=dbradley, sr=dmose. 2005-03-08 22:24:08 +00:00
brendan%mozilla.org
2eacb04610 Propagate special and compile-n-go flags from top frame when pushing a compiler frame (285219, r=shaver). 2005-03-08 06:23:10 +00:00
bob%bclary.com
498b17a25a tweak function arguments to match use. 2005-03-07 04:54:52 +00:00
bob%bclary.com
9dda619f8e Initial add. Regression test for bug 155081, by ajschult@verizon.net 2005-03-07 04:48:08 +00:00
bob%bclary.com
1a465ceb06 Initial add. Test for __noSuchMethod__ handler, by brendan@mozilla.org 2005-03-07 04:43:16 +00:00
bob%bclary.com
ffff329a35 Initial add. Regression test for bug 273931, by brendan@mozilla.org 2005-03-07 04:39:49 +00:00
bob%bclary.com
fdf2a0d680 Initial add. Regression test for bug 257751, by bugzilla@gemal.dk, jerfa@yahoo.com 2005-03-07 04:35:43 +00:00
bob%bclary.com
f6dddc82f3 Initial add. Regression test for bug 255555, by jerfa@yahoo.com 2005-03-07 04:31:23 +00:00
bob%bclary.com
acb79cefe6 Initial add. Regression test for bug 260106, by liorean@gmail.com 2005-03-07 04:25:44 +00:00
bob%bclary.com
8d7fecf197 Initial add. Regress test for bug 283349, by igor@mir2.org 2005-03-07 04:20:59 +00:00
bob%bclary.com
26cf2bbe92 Initial add. Regression test for bug 280844, by igor@mir2.org 2005-03-07 02:55:17 +00:00
bob%bclary.com
0293730839 Initial add. Regression test for bug 283972, by Martin.Honnen@arcor.de 2005-03-07 02:46:10 +00:00
brendan%mozilla.org
7d932be460 When converting from list to hashtable in js_IndexAtom, arrange to preallocate the table's buckets array to the list length, and set table->nentries (buglet reported by tellme.com folks). 2005-03-04 18:23:58 +00:00
bob%bclary.com
357d8a2d85 Fix error where testcase did not test conversion of the object to a string. Note this does not accurately test the true problem of evaluating the object in the js shell 2005-03-04 06:24:16 +00:00
bob%bclary.com
58adc8cf6b Initial add. Regression test for bug 167328, by pschwartau@meer.net 2005-03-04 03:26:50 +00:00