Commit Graph

6710 Commits

Author SHA1 Message Date
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
bob%bclary.com
5bea3d4b81 Initial add. Regression test for bug 155081, by ajschult@verizon.net 2005-03-04 00:17:19 +00:00
timeless%mozdev.org
d5a1c4acbd Bug 284549 crash if nsIClassInfo.getInterfaces includes a null interface [@ HashIIDPtrKey]
r=shaver sr=shaver
2005-03-03 23:41:12 +00:00
bob%bclary.com
70b20573fd Initial add. Regression test for bug 119719 2005-03-03 22:00:16 +00:00
bob%bclary.com
c4d498d291 Initial add. Regression test for bug 58116 2005-03-03 21:25:31 +00:00
bob%bclary.com
b100e4ba00 Initial add. Regression test for bug 249211, by dcourtin@systemplus.fr 2005-03-03 18:59:05 +00:00
bob%bclary.com
7e7d344299 Initial add. Regression test for bug 245148, by bebabo@swissonline.ch 2005-03-03 18:51:11 +00:00
bob%bclary.com
e5d4b99db2 Initial add. Regression test for bug 281930, by jerfa@yahoo.com 2005-03-03 18:32:13 +00:00
bob%bclary.com
ead05b8709 Initial add. Regression test for bug 280769, by igor@mir2.org 2005-03-03 17:03:05 +00:00
bob%bclary.com
12d7b90a92 Update section 2 to handle changed Spidermonkey behavior. Bug 284123 2005-03-02 11:29:10 +00:00
bob%bclary.com
a9ea1abe25 Initial add. Regression test for bug 238945, by hhschwab@gmail.com 2005-03-01 22:16:28 +00:00
bob%bclary.com
317cd84a58 fix error where status was used instead of summary 2005-03-01 18:58:08 +00:00
bob%bclary.com
5fed59f315 Separate testcases for 32K boundary in regexp bytecode jump offset and 64K boundary of [] offset in regexp search string. bug 280769 2005-03-01 17:08:17 +00:00
bob%bclary.com
c5eafe481b Initial add. Regression testcases for bug 280769, by igor@mir2.org 2005-03-01 17:04:51 +00:00
bob%bclary.com
09f9233b0e Initial add. Regression test for bug 240577 2005-03-01 16:57:07 +00:00
bob%bclary.com
10c9f68c60 remove redeclaration of variable N which hid argument. 2005-03-01 08:59:45 +00:00
bob%bclary.com
0b57e38c90 Modify to include 3 sections for N=20000, 0xFFFF, 100000 2005-03-01 01:45:46 +00:00
bob%bclary.com
0dc8929acf Initial add. Regression test for bug 280769, comment 12 by igor@mir2.org 2005-03-01 00:59:48 +00:00
bob%bclary.com
523a1ce6f3 Initial add. Regression test for bug 254296, by kal_el1938@hotmail.com 2005-02-28 19:04:03 +00:00
igor%mir2.org
77f519f3bc Patch from Attila Szegedi, szegedia@freemail.hu to address an issue with bug fix for bug 274467. From comment 24:
Patch for wrapping unchecked exceptions from Java method invocations

Recently we had a problem with a NPE occurring in a Java method - it wasn't
wrapped into WrappedException and subsequently we did not see the interpreter
script stack traces. This is because unchecked throwables aren't wrapped into
InvocationTargetException. I changed the relevant code in MemberBox.java to
wrap all exceptions (checked and unchecked) into WrappedException. BTW, this is
now consistent with how JavaMembers.get() and JavaMembers.put() work - they
also wrap all exceptions into WrappedException, not just
InvocationTargetException.
2005-02-28 12:39:04 +00:00
bob%bclary.com
137e20e28e Initial add. Regression test for bug 281606, by sukhisoul@yahoo.com 2005-02-28 12:27:37 +00:00
bob%bclary.com
6fb8d0c588 remove o instanceof o testcase, bug 281606 2005-02-28 12:10:37 +00:00
bob%bclary.com
60a4e2bb89 Initial add. Regression test for bug 261887, by osfo@home.se 2005-02-28 03:52:46 +00:00
bob%bclary.com
1b5b430051 Initial add. Regression test for bug 261886, by osfo@home.se 2005-02-28 03:52:02 +00:00
mrbkap%gmail.com
3167fe3488 bug 274888: Use the correct type for indexing into the input so that backtracking works when it is longer than 65535 characters. r=brendan 2005-02-27 18:32:57 +00:00
bob%bclary.com
8719a618c2 Add Alexander Law as primary contributor 2005-02-27 15:30:28 +00:00
bob%bclary.com
0dcbde3506 Initial add. Regression test for bug 280769, by aldenfloyd@gmail.com 2005-02-26 23:55:30 +00:00
bob%bclary.com
9c98a0f066 Initial add. Regression test for bug 169559 2005-02-26 23:50:56 +00:00
bob%bclary.com
e59aba65e4 Initial add. Regression test for bug 165201, by brendan@mozilla.org 2005-02-26 23:45:45 +00:00
bob%bclary.com
2e3f294fa6 Initial add. Regression test for bug 283477, by sjoerd@w3future.com 2005-02-26 21:39:32 +00:00
bob%bclary.com
ebac4bd238 Initial add. Regression test for bug 274888, by sjoerd@w3future.com 2005-02-26 21:29:59 +00:00
brendan%mozilla.org
54a2788cca Cosmetic tweak. 2005-02-26 18:29:00 +00:00
brendan%mozilla.org
183bbc90c1 Fix from Igor Bukanov <igor@mir2.org> for 283064 (r=me). 2005-02-26 18:28:14 +00:00
bob%bclary.com
1bf2497189 Initial add. List of obsolete spidermonkey tests 2005-02-26 05:03:53 +00:00
bob%bclary.com
6955f242a3 Initial add. Regression test for bug 255245, by celsoaguiar@hotmail.com, brendan@mozilla.org 2005-02-26 04:59:58 +00:00
bob%bclary.com
2713955fe7 Initial add. Regression test for bug 233483, by m-wada@japan.com 2005-02-26 04:48:48 +00:00
brendan%mozilla.org
db07ab86fe Deal with undefined as well as empty namespace prefix in GetNamespace (283349, r=igor, sr=shaver). 2005-02-25 01:19:35 +00:00
cbiesinger%web.de
f5acf694ef 282339 patch by Frank Wein <bugzilla@mcsmurf.de> r=pschwartau
add a comment that these tests won't work in non-english locales
2005-02-24 19:13:36 +00:00
brendan%mozilla.org
c1fb1d98d2 Fix almost-10-year-old lastIndex bug reported by Sjoerd Visscher <sjoerd@w3future.com> (283477, r=me). 2005-02-24 18:59:41 +00:00
bob%bclary.com
e10ba6be91 Initial add. Regression test for bug 203278, by igor@mir2.org 2005-02-24 06:43:32 +00:00
bob%bclary.com
60489d268c Initial add. Regression test for bug 277779, by martin.honnen@arcor.de 2005-02-24 05:48:45 +00:00
bob%bclary.com
9817932d6e Initial add. Regression test for bug 277683, by martin.honnen@arcor.de 2005-02-24 05:46:57 +00:00
bob%bclary.com
f437b5b9b0 Initial add. Regression test for bug 277664, by martin.honnen@arcor.de 2005-02-24 05:44:35 +00:00
bob%bclary.com
c1d6aaec8e Initial add. Regression test for bug 277650, by martin.honnen@arcor.de 2005-02-24 05:42:20 +00:00
bob%bclary.com
12fff9a084 Initial add. Regression test for bug 3649, by mff@research.att.com 2005-02-24 05:38:10 +00:00
bob%bclary.com
e9827afb15 Initial add. Regression test for bug 278873, by vogge@vlbg.dhs.org 2005-02-24 05:34:39 +00:00
bob%bclary.com
bcf12cb6fe Initial add. Regression test for bug 278725, by silver@warwickcompsoc.co.uk, ajvincent@gmail.com, timeless@mozdev.org 2005-02-24 05:32:32 +00:00
bob%bclary.com
92c09498f0 Initial add. Regression test for bug 276103, by gianugo@apache.org 2005-02-24 05:29:06 +00:00
bob%bclary.com
d01da14df9 Initial add. Regression test for bug 275378, by martin.zvieger@sphinx.at 2005-02-24 05:26:39 +00:00
brendan%mozilla.org
1bd5c48c3a Implement specialized Deutsch-Schorr-Waite under js_MarkXML to avoid stack overflow (280844, r=igor, sr=shaver). 2005-02-24 05:24:26 +00:00
bob%bclary.com
dc27d0fc7c Initial add. Regression test for bug 274035, by jerfa@yahoo.com 2005-02-24 05:24:22 +00:00
bob%bclary.com
f4839bb335 Initial add. Regression test for bug 271716, by cbiesinger@gmx.at 2005-02-24 05:21:47 +00:00
bob%bclary.com
8016c86dde Initial add. Regression test for bug 260541, by troy@entheossoft.com 2005-02-24 05:19:30 +00:00
bob%bclary.com
45c0da11ec Initial add. Regression test for bug 256798, by brendan@mozilla.org 2005-02-24 05:17:02 +00:00
bob%bclary.com
66e12a921e Initial add. Regression test for bug 256617, by igor@mir2.org 2005-02-24 05:15:09 +00:00
bob%bclary.com
b22e533207 Initial add. Regression test for bug 256501, by igor@mir2.org 2005-02-24 05:13:11 +00:00
bob%bclary.com
1eebc52d4a Initial add. Regression test for bug 254974, by timeless@mozdev.org 2005-02-24 05:11:21 +00:00
bob%bclary.com
3c206eaa9d Initial add. Regression test for bug 254375, by timeless@mozdev.org 2005-02-24 05:09:32 +00:00
bob%bclary.com
1bff6eaec4 Initial add. Regression test for bug 252892, by archer@meta-comm.com, brendan@mozilla.org 2005-02-24 05:06:49 +00:00
bob%bclary.com
ef60b126a9 Initial add. Regression test for bug 248444, by timeless@mozdev.org 2005-02-24 05:04:36 +00:00
bob%bclary.com
22dd185382 Initial add. Regression test for bug 247179, by jim@jibbering.com, malcolm-bmo@farside.org.uk 2005-02-24 05:02:35 +00:00
bob%bclary.com
736cfcc3a4 Initial add. Regression test for bug 246964, by brendan@mozilla.org, bzbarsky@mit.edu, steven.chapel@sbcglobal.net 2005-02-24 04:58:33 +00:00
bob%bclary.com
19720f591f Initial add. Regression test for bug 246911, by thingol@mail.ru 2005-02-24 04:55:50 +00:00
bob%bclary.com
e7ec40859c Initial add. Regression test for bug 245795, by timeless@mozdev.org 2005-02-24 04:54:04 +00:00
bob%bclary.com
897e6e74bd Initial add. Regression test for bug 245308, by silver@warwickcompsoc.co.uk 2005-02-24 04:52:14 +00:00
bob%bclary.com
0cf0597ae5 Initial add. Regression test for bug 245113, by jerfa@yahoo.com 2005-02-24 04:49:50 +00:00
bob%bclary.com
03e3fce9c3 Initial add. Regression test for bug 244619, by hassman@czilla.cz 2005-02-24 04:45:09 +00:00
bob%bclary.com
8c0625e4ce Initial add. Regression test for bug 244470, by jerfa@yahoo.com 2005-02-24 04:42:41 +00:00
bob%bclary.com
e47c9bf5f1 Initial add. Regression test for bug 243869, by ajvincent@gmail.com 2005-02-24 04:40:21 +00:00
bob%bclary.com
c37340be0a Initial add. Regression test for bug 243389, by bugzilla@gemal.dk 2005-02-24 04:38:29 +00:00
bob%bclary.com
24ddcfaac0 Initial add. Regression test for bug 243174, by brendan@mozilla.org 2005-02-24 04:36:11 +00:00
bob%bclary.com
e2a14775c7 Initial add. Regression test for bug 240317 2005-02-24 04:33:59 +00:00
bob%bclary.com
e52e370f6a Initial add. Regression test for bug 238881, by brendan@mozilla.org 2005-02-24 04:31:56 +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
bob%bclary.com
288c7a92c6 Initial add. Regression test for bug 237461, by archer@meta-comm.com 2005-02-23 22:51:45 +00:00
bob%bclary.com
52550015db Initial add. Regression test for bug 233483, by m-wada@japan.com 2005-02-23 22:48:26 +00:00
bob%bclary.com
6990c88acc Initial add. Regression test for bug 231518, by dragosan@dragosan.net, martin.honnen@arcor.de 2005-02-23 22:44:38 +00:00
bob%bclary.com
344c52f9fb Initial add. Regression test for bug 230216, by brendan@mozilla.org 2005-02-23 22:41:54 +00:00
bob%bclary.com
7f293b75f9 Initial add. Regression test for bug 230216, by igor@mir2.org 2005-02-23 22:40:21 +00:00
bob%bclary.com
39e2e84bf0 Initial add. Regression test for bug 229006, by dbaron@mozilla.org 2005-02-23 22:34:39 +00:00
bob%bclary.com
f56848b2fd Initial add. Regression test for bug 203278, by igor@mir2.org 2005-02-23 22:32:31 +00:00
bob%bclary.com
43d45d8e7e Initial add. Regression test for bug 203278, by ash@huntwork.com 2005-02-23 22:30:40 +00:00
bob%bclary.com
1545bec39e Initial add. Regression test for bug 174709, by Q42.nl, martijn.martijn@gmail.com 2005-02-23 22:27:37 +00:00
bob%bclary.com
3625a5ccfc Initial add. Regression test for bug 162392. 2005-02-23 22:23:02 +00:00
brendan%mozilla.org
33c1ce26d6 Fix from Juergen Kreileder <jk@blackdown.de> for 32-bit processes on 64-bit OSes that map the heap up against the 0x100000000 wall (279273, r=shaver). 2005-02-23 21:36:10 +00:00
brendan%mozilla.org
ad93cb5afa Avoid recycling an overlarge arena from the evil arena_freelist, in case the new consumer is itself oversized and therefore owns the entire allocation (283234, r=shaver). 2005-02-23 21:31:58 +00:00
bob%bclary.com
610f657d54 Initial add. Regression test for bug 10278. 2005-02-23 21:27:57 +00:00
brendan%mozilla.org
e1a7049710 Specialize for QARG and QVAR types within JOF_NAME format in js_DecompileValueGenerator (281487, r=shaver). 2005-02-23 02:40:40 +00:00
brendan%mozilla.org
aadbd332cf Null |obj| VM register for correct |this| binding (281930, r=shaver). 2005-02-22 23:25:49 +00:00
igor%mir2.org
b4fca87aba Resolving bug 282595: patch from Juerg lehni <juerg@scratchdisk.com> to allow
for several setters for bean properties.
2005-02-18 23:06:39 +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
timeless%mozdev.org
3a6409e18e Bug 273953 Crash during GC after leaving page in URL
patch by dbradley@gmail.com r=jst sr=brendan
2005-02-18 06:39:11 +00:00
brendan%mozilla.org
cad66b9106 Fix off-by-one-slot bug in logic guarding mark on obj->slots - 1 (279858, r=shaver, a=dbaron). 2005-02-17 19:07:59 +00:00
igor%mir2.org
344cf0f06e Implementing bug 274467: Add JavaScript stack trace to exceptions
The changes are based on that patch from Attila Szegedi, szegedia@freemail.hu.
2005-02-16 19:57:03 +00:00
igor%mir2.org
2a49a02214 Fixing bug 282447: patch from Attila Szegedi <szegedia@freemail.hu> to fix NullPointerException. 2005-02-16 12:11:42 +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
gerv%gerv.net
70dc80657e Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-13 00:07:56 +00:00
gerv%gerv.net
e5d20862b7 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-12 20:11:18 +00:00
igor%mir2.org
6e090811b4 Fixing bug 281537, a regression introduced due to work on bug 280047. It was reported by Attila Szegedi, szegedia@freemail.hu, who also provided the initial patch. 2005-02-09 15:46:50 +00:00
igor%mir2.org
83dec59657 Implementing bug 281247: JDK compatibility is implemented through VMBridge class and its subclasses to avoid excessive reflection usage. 2005-02-07 07:34:32 +00:00
igor%mir2.org
8e479120c0 I removed unused Context argument from various SomeObject.init methods to decrease code bloat. 2005-02-06 01:56:46 +00:00
igor%mir2.org
aeddcbb266 I chaged JavaAdapter to store ContextFactory in the proxy object directly instead of extracting it from scope. It ensures that the proper factory is used to reenter Context objects even if scope stored in the adapter is manipulated and no longer contains the reference to factory. 2005-02-06 01:14:24 +00:00
igor%mir2.org
e266fe4eb2 Fixing bug 281067: patch from Attila Szegedi, szegedia@freemail.hu, to allow to garbage collect unused Rhino classes. 2005-02-04 15:53:05 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
brendan%mozilla.org
ebf76c53ba Update JSNewResolveOp's comment to talk about the new JSRESOLVE_ flags. 2005-02-03 22:25:10 +00:00
gerv%gerv.net
21d4b2141a Bug 236613: change to MPL/LGPL/GPL tri-license. This checkin does not actually change any licenses, but makes indentation and comment-formatting fixes so that the relicensing script is able to parse all the license blocks in the js/ directory. Once the smoke has cleared, I'll do the second step. 2005-02-02 23:52:03 +00:00
darin%meer.net
d67c211542 applying shaver's review nit for bug 235499 2005-02-02 22:22:45 +00:00
darin%meer.net
dc09fbd58d landing xpconnect patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=shaver sr=jst 2005-02-02 22:20:28 +00:00
igor%mir2.org
ce11e379b0 Fixing bug 280629: Compatibility patch to add Main.dispose() 2005-02-01 20:41:21 +00:00
nboyd%atg.com
4a4f5f52f6 Update link to ECMA standard 2005-02-01 18:49:56 +00:00
brendan%mozilla.org
0c5c5f6341 Fix GC_MARK_DEBUG-#ifdef'd code for E4X (timeless private bug). 2005-02-01 02:35:31 +00:00
brendan%mozilla.org
f0cbc6e33b Improve GC_MARK_DEBUG strings a bit, tweak a comment. 2005-02-01 00:54:34 +00:00
brendan%mozilla.org
d91d80c7ef Pass origobj, not obj, to OBJ_GET_PROPERTY for for-each-in on non-XML objects (bug reported by Martin Honnen, diagnosis by jband). 2005-01-31 07:19:07 +00:00
brendan%mozilla.org
338dcd3e52 Fix js_LineNumberToPC to cope with code reordering, especially in JSOP_CONDSWITCH (1113352, r=shaver). 2005-01-29 18:31:46 +00:00
dbaron%dbaron.org
8993baf11c Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +00:00
brendan%mozilla.org
449bc22ed5 Toggle JSOPTION_COMPILE_N_GO around compilation in JS_EvaluateUCInStackFrame (280086, r=shaver). 2005-01-28 18:14:05 +00:00
igor%mir2.org
b482de83cc Implementing bug 280047: Undefined no longer implements Scriptable 2005-01-27 16:35:39 +00:00
igor%mir2.org
04510f108b Always use Undefined.instance and not Context.getUndefinedValue() for consistency. 2005-01-27 00:59:59 +00:00
igor%mir2.org
138a27ece8 Changing deprecated EcmaError.getErrorObject to return null for smaller footprint 2005-01-27 00:57:38 +00:00
igor%mir2.org
176ab5ae57 Fixing JavaDoc formating 2005-01-27 00:55:08 +00:00
brendan%mozilla.org
d510e600cd s/DEBUG_brendan/DEBUG_notme/g 2005-01-25 19:39:45 +00:00
brendan%mozilla.org
74828633a8 Fix old bug in JSOP_CONDSWITCH codegen (278873, r=shaver). 2005-01-25 19:34:37 +00:00
brendan%mozilla.org
5555af3c9a Followup to fix for 123668, to handle newborns and mark small object slots before checking for stack-quota-exceeded (Deutsch-Schorr-Waite). 2005-01-25 09:02:22 +00:00
brendan%mozilla.org
b466737c14 Fix js_GetArgsObject to skip debugger/eval frames (162392, r=shaver). 2005-01-25 05:56:37 +00:00
brendan%mozilla.org
a51ea5bac1 Add getpda shell function for debugging. 2005-01-25 03:22:16 +00:00
brendan%mozilla.org
0f476ade97 Fix GC hole in JSOP_NAMEDFUNOBJ found by tellme.com folks (279636, r=jband). 2005-01-25 02:22:25 +00:00
nboyd%atg.com
6af68b420b Seppia 2005-01-24 15:46:44 +00:00
brendan%mozilla.org
7933c6fbca Back up one token after skipping a now-tokenized (now as of E4X) comment (279483, r=shaver). 2005-01-24 00:02:59 +00:00
igor%mir2.org
31d9030dd0 Reverting Ref to the original implementation which did not pass an additional
"Scriptable target" argument to Ref.(get|set|has|delete) methods. The idea was
to optimize away in many cases creation of Ref instances, but given that modern
JVM can GC short-lived objects efficiently it does not sound right to have code
complexity now in the hope of slightly more efficient implementation later.
2005-01-22 20:26:08 +00:00
igor%mir2.org
e8ace4f904 Removal of GETVAR SETVAR -> NAME SETNAME transformations during code generation
for functions with activation records  as NodeTransformer never introduce VAR
node if activation would be created.
2005-01-22 00:06:00 +00:00
igor%mir2.org
735bd73b49 1. Removal of passing of unused scope argument to ScriptRuntime.in|instanceOf
2. Compacting interpreter loop via reusing common parts for binary operations.
2005-01-21 18:03:41 +00:00
igor%mir2.org
21a82d04e9 Removal of passing unused scope argument to ScriptRuntime.in|instanceOf 2005-01-21 18:02:11 +00:00
igor%mir2.org
077cf2b7b6 Removal of invoker optimization as under JDK >= 1.4 it does not make things
visibly faster and under GCJ it makes thinks worse.
2005-01-20 19:45:27 +00:00
nboyd%atg.com
f5fec7715b adding xmoon 2005-01-20 18:30:29 +00:00
brendan%mozilla.org
af45dbe52f Fix XMLToXMLString to cope with a tag name in a default namespace that is not the declared default namespace for the tag (277779, r=shaver). 2005-01-20 01:02:49 +00:00
brendan%mozilla.org
d3f3eb9e90 Disallow PIs with target name 'xml' (277683, r=shaver). 2005-01-20 00:56:34 +00:00
brendan%mozilla.org
1df62774bd Enforce Unique Att Spec for XML in JS (277664, r=shaver). 2005-01-20 00:50:59 +00:00
brendan%mozilla.org
052d017c52 Allow xml:lang and other xml namespace ids (277650, r=shaver). 2005-01-20 00:46:17 +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
igor%mir2.org
bcf9f00787 Work on bug 264637: BaseFunction.functionName is removed as was suggested by Attila Szegedi <szegedia@freemail.hu> :
I assume "functionName" in BaseFunction could also undergo a similar treatment
of being replaced with an abstract getFunctionName() method, couldn't it? The
function name is either calculable from other data (FieldAndMethods, overloaded
case of NativeJavaMethod*, NativeJavaConstructor, InterpetedFunction) or fixed
(NativeRegExpCtor) in lots of subclasses.
2005-01-17 13:06:34 +00:00
brendan%mozilla.org
70ff275ddd Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me). 2005-01-15 04:34:39 +00:00
igor%mir2.org
b5245d48f0 Fixing bug 277537: implementing isXMLName() 2005-01-14 14:13:56 +00:00
nboyd%atg.com
549953071c Add Lombardi 2005-01-14 13:34:29 +00:00
igor%mir2.org
118352e5d7 Test case for isXMLName(s) 2005-01-13 19:42:38 +00:00
jst%mozilla.jstenback.com
d813e46363 s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me 2005-01-12 19:59:54 +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
timeless%mozdev.org
38a2c35650 Bug 277887 r:\mozilla\js\src\liveconnect\jsj_JavaClass.c(549) : warning C4113: 'JSBool (__cdecl *)(JSContext *,JSObject *,jsid,JSObject ** ,JSProperty ** ,const char *,uintN)' differs in parameter lists from 'JSLookupPropOp'
fallout from bug 246441
r=brendan
2005-01-12 19:21:11 +00:00
timeless%mozdev.org
6b1df2ec98 Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
igor%mir2.org
c09d14b3ba *** empty log message *** 2005-01-12 17:44:22 +00:00
igor%mir2.org
f4c72a6056 Fixing bug 277935: now parser throws syntax error on assignments to descendants like x..y = 1 2005-01-12 14:21:06 +00:00
brendan%mozilla.org
33a75c4caa Make reserved identifiers a strict warning, not an error (240317, r=shaver). 2005-01-12 05:18:17 +00:00
igor%mir2.org
d807c55305 Added check for a..b += xxx as well 2005-01-11 15:46:51 +00:00
igor%mir2.org
e114a0bed4 Test case for Rhino bug 277935 2005-01-11 15:39:51 +00:00
igor%mir2.org
535ee87833 JavaDoc fix: refer to WrapFactory, not already removed WrapHandler 2005-01-11 10:50:36 +00:00
igor%mir2.org
8c1a6b5877 Less bloated implementation of Kit.semicolonSplit 2005-01-10 01:26:36 +00:00
igor%mir2.org
1b2509d0f0 Fix from Dave Russo <d-russo@ti.com>:
While investigating how Rhino loads Java packages I came across what
appears to be a "typo" bug in NativeJavaTopPackage.java; a missing
semicolon in a string results in minor performance degradation for
script accessing the java.lang.reflect and java.lang.io packages.
2005-01-10 01:25:26 +00:00
brendan%mozilla.org
3b52333710 Unregress default exception reporting (276061, r=shaver, a=asa). 2005-01-07 03:35:36 +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
136eda6655 Always call the standard input 'typein', as xpcshell does, in error reports. 2005-01-05 04:29:35 +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
98f555be58 Fix old GC hazards that bite venkman (277069, r=self). 2005-01-05 00:45:21 +00:00
brendan%mozilla.org
5d3435f4a6 Checking in shaver's patch for bug 275742: E4X for JS components, r=me. 2005-01-04 23:56:56 +00:00
cbiesinger%web.de
b233fca20b Bug 276807 add DumpJSValue helper function for debugging
r=dbradley sr=brendan
2005-01-04 22:15:09 +00:00
brendan%mozilla.org
b7db19beeb Fix a bogus assertion and related bogus code that bit dmose (246441). 2005-01-03 23:57:56 +00:00
brendan%mozilla.org
4a11eed32a - Fix GetNamespace to conform to the NOTE in ECMA-357 13.3.5.4 Step 4(a).
- Fix XMLToXMLString bug where ancdecls was not updated with a weak ref append
  when a namespace strong ref was appended to decls.  In ECMA-357, ancdecls is
  written out as (AncestorNamespaces U namespaceDeclarations), but here where
  ancestorNSes and decls are unioned early into ancdecls, we need to update
  the unioned set whenever decls is updated.

- Fix ECMA-357 glitch (suboptimal, arguably not an erratum) in ToXMLString
  where XML that uses the default namespace only is converted via toXMLString
  into a string serialization that redeclares that namespace using generated
  prefixes, for every node in the tree.  This is verbose, inefficient, and
  unnecessary.  A trivial tweak to 10.2.1 Step 12(a), to let namespace.prefix
  be the empty string if x.[[Name]].[[Prefix]] is undefined, fixes the bug.

- Const-ipate JSXMLArray * parameters starting with XMLToXMLString's, to be
  sure no one appends a strong ref to a weak-ref-holding |in| parameter.
2005-01-01 17:27:41 +00:00
gerv%gerv.net
709d4de4d5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-01-01 16:48:30 +00:00
brendan%mozilla.org
601f8d102a Fix bogus assertion. 2005-01-01 05:45:55 +00:00