7026 Commits

Author SHA1 Message Date
brendan%mozilla.org
bba772f46d Get rid of duplicate assignment of a->avail in gc_new_arena.
git-svn-id: svn://10.0.0.236/trunk@182440 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 04:15:51 +00:00
bob%bclary.com
da65b6578a add expectExitCode(3) to deal with out of memory error when the test case does not crash, bug 312588
git-svn-id: svn://10.0.0.236/trunk@182428 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:42:40 +00:00
bob%bclary.com
a3e95685ef add emacs modeline, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@182424 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 22:42:39 +00:00
bob%bclary.com
d57caf2b70 Rewrite code to switch javascript options for strict/werror
git-svn-id: svn://10.0.0.236/trunk@182423 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 22:33:38 +00:00
mrbkap%gmail.com
552cbde5d3 bug 307895: Date.toLocalFormat("%x") with format yyyy/MM/dd produces yyyy/MM/yyyy. Patch from gekacheka@yahoo.com. r=brendan
git-svn-id: svn://10.0.0.236/trunk@182419 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 21:57:45 +00:00
mrbkap%gmail.com
0f24015356 bug 307983: Look for a good JSContext when doing GetDynamicContext so that things like evalInSandbox can use e.g. location.replace. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@182394 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 18:47:13 +00:00
bob%bclary.com
dcb4bd223f Regression test - do not crash creating infinite array, by Martijn Wargers, bug 3125288
git-svn-id: svn://10.0.0.236/trunk@182345 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 23:15:36 +00:00
gavin%gavinsharp.com
6cebfdb835 Bug 312260: Bogus "undefined property" strict warning in switch discriminants, patch by Jeff Walden <jwalden@mit.edu>, r=brendan
git-svn-id: svn://10.0.0.236/trunk@182344 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 22:14:30 +00:00
bob%bclary.com
799b8f01aa updated test from Michael Daumling, bug 232182
git-svn-id: svn://10.0.0.236/trunk@182337 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 16:41:51 +00:00
bob%bclary.com
32e3ccc8da add XML.ignoreWhitespace = false to ensure valid comparison of string values, bug 312064
git-svn-id: svn://10.0.0.236/trunk@182334 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 16:24:07 +00:00
brendan%mozilla.org
4e0f9f6b7d Make __noSuchMethod__ work with E4X (312196, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@182305 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 07:30:59 +00:00
brendan%mozilla.org
920f79fd74 Add (vacuous now, maybe helpful later) assertion.
git-svn-id: svn://10.0.0.236/trunk@182300 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 04:09:24 +00:00
db48x%yahoo.com
7af0a9b49c bug 311775: objects created with GeckoActiveXObject are broken,
patch by David Bradley <dbradley@gmail.com>, r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@182293 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 02:27:49 +00:00
brendan%mozilla.org
7aedf0ee14 Fix from igor.bukanov@gmail.com for old bug in argv provisioning/scanning (311497, r=me).
git-svn-id: svn://10.0.0.236/trunk@182286 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 00:14:08 +00:00
brendan%mozilla.org
b3f92b61f6 Assertion botching, need to back out and debug.
git-svn-id: svn://10.0.0.236/trunk@182275 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 22:34:31 +00:00
brendan%mozilla.org
f885abde51 Fix from igor.bukanov@gmail.com for old bug in argv provisioning/scanning (311497, r=me).
git-svn-id: svn://10.0.0.236/trunk@182274 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 22:31:50 +00:00
mrbkap%gmail.com
4de88480d7 bug 311892: Add some (awful, gross) checks. r=brendan
git-svn-id: svn://10.0.0.236/trunk@182263 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 19:05:42 +00:00
bob%bclary.com
bd082245c7 Regression test for bug 312351, do not crash on RegExp(null), by drimbk@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@182236 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 03:16:19 +00:00
bob%bclary.com
3e4cb6e8ca Regression test for bug 226078, by Zbigniew Braniecki, Brendan Eich
git-svn-id: svn://10.0.0.236/trunk@182217 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 02:40:17 +00:00
bob%bclary.com
50e7d5e086 Regression test for bug 303277, by shutdown@flashmail.com
git-svn-id: svn://10.0.0.236/trunk@182213 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 00:39:06 +00:00
bob%bclary.com
d9ffcc4576 String static methods
git-svn-id: svn://10.0.0.236/trunk@182210 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 00:05:20 +00:00
bob%bclary.com
57869cc188 Add js1_6/String to JS Test Library
git-svn-id: svn://10.0.0.236/trunk@182209 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 00:03:21 +00:00
mrbkap%gmail.com
d8578b8324 bug 312351: Don't dereference null (which counts as a primitive). r=shaver
git-svn-id: svn://10.0.0.236/trunk@182194 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 21:32:46 +00:00
igor%mir2.org
1bdf5786e1 Fixing bug 312069:
My previous patch to avoid memory allocation for pivot in HeapSort did not deal properly with checking for overflow. So here is a proper version.


git-svn-id: svn://10.0.0.236/trunk@182072 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 07:39:45 +00:00
brendan%mozilla.org
2adc8e4a6b Add missing first [ in CDATA literal generator (312064, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@182068 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 05:50:51 +00:00
bob%bclary.com
ea4f8e0139 Correct expected value, bug 310425
git-svn-id: svn://10.0.0.236/trunk@182008 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 19:49:34 +00:00
bob%bclary.com
86fbcc6763 Add expected exit code of 3 to deal with out of memory conditions, bug 303213
git-svn-id: svn://10.0.0.236/trunk@182007 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 19:47:52 +00:00
bob%bclary.com
0327f782a3 Bring test up to current js1_5 standards, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@182006 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 19:45:18 +00:00
bob%bclary.com
20a4faa919 Add expected exit code of 3 to deal with out of memory conditions, bug 311580
git-svn-id: svn://10.0.0.236/trunk@182005 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 19:43:25 +00:00
bob%bclary.com
f728c96dc4 Fix expected value for CDATA section nodeKind
git-svn-id: svn://10.0.0.236/trunk@182003 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 19:03:02 +00:00
bob%bclary.com
a026ed637a Regression test - wrap test function in try catch block to prevent undefined functions in test case from percolating to the top, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@181995 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 17:23:03 +00:00
bob%bclary.com
1d7d91b7b7 Regression test - Do not crash watching property when watcher sets property, test by Brant Gurganus, bug 213482
git-svn-id: svn://10.0.0.236/trunk@181982 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 08:19:55 +00:00
bob%bclary.com
77b3b170f5 Regression test - crash caused by bug 208030, test by Olivier Cahagne, bug 214761
git-svn-id: svn://10.0.0.236/trunk@181981 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 07:21:20 +00:00
bob%bclary.com
3efd2d6c08 Regression test - E4X should be enabled even when e4x=1 not specified, test by Wladimir Palant, bug 301574
git-svn-id: svn://10.0.0.236/trunk@181980 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 06:39:28 +00:00
bob%bclary.com
bd55c1ca19 Regression test - spandep fu should skip unused JSOP_TABLESWITCH jump table entries, test by Silviu Trasca, bug 302439
git-svn-id: svn://10.0.0.236/trunk@181979 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 06:16:19 +00:00
bob%bclary.com
da13ea252b move js1_5/Array/array-002.js to js1_6/Array/regress-290592.js, change test to reflect change where holes are not enumerated, bugs 290592, 311082
git-svn-id: svn://10.0.0.236/trunk@181972 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 04:46:24 +00:00
mrbkap%gmail.com
0ca4fc8104 bug 311792: Make sure that temporary values are protected from GC. Patch from Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap/brendan
git-svn-id: svn://10.0.0.236/trunk@181943 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 23:33:16 +00:00
bob%bclary.com
83649731c2 Regression Test - integer overflows in jsstr.c, js_str_escape.js, test by Georgi Guninski, bug 303213
git-svn-id: svn://10.0.0.236/trunk@181894 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 05:53:10 +00:00
bob%bclary.com
597f2b08fd Regression Test - test Array.indexOf/Array.lastIndexOf edge cases, test by Igor Bukanov, bug 310425
git-svn-id: svn://10.0.0.236/trunk@181893 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 04:40:39 +00:00
bob%bclary.com
f42b7685f3 JS Test Library - add js1_6/Array for JavaScript 1.6 Array extensions
git-svn-id: svn://10.0.0.236/trunk@181892 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 04:37:21 +00:00
brendan%mozilla.org
dea8133b7b Use local roots in XMLToXMLString (311580, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@181889 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 03:28:14 +00:00
bob%bclary.com
8ea668239c Regression test - treat <! as the start of a comment to end of line unless e4x=1, test by Peter van der Woude, bug 311071
git-svn-id: svn://10.0.0.236/trunk@181886 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 03:00:38 +00:00
bob%bclary.com
246d4d7589 Regression test - HTML Comment on JS if statement causes erroneous results, test by Peter van der Woude, bug 310993
git-svn-id: svn://10.0.0.236/trunk@181885 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:57:47 +00:00
bob%bclary.com
4eb7a07424 Regression test - JavaScript switch statement going to wrong case, test by Henry Cejtin, bug 308085
git-svn-id: svn://10.0.0.236/trunk@181884 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:54:56 +00:00
bob%bclary.com
37f478e907 Regression test - assertion parsing getter\n, test by Blake Kaplan, bug 306794
git-svn-id: svn://10.0.0.236/trunk@181883 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:51:30 +00:00
bob%bclary.com
677d1c3960 Regression Test - sorting array of arrays should not crash due to GC, bug 306788regress-306788.js
git-svn-id: svn://10.0.0.236/trunk@181882 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:48:10 +00:00
bob%bclary.com
17c4af5d6d Allow conversion of NodeList to Array via Array.prototype.slice, test by Seno Aiko, bug 310351
git-svn-id: svn://10.0.0.236/trunk@181881 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:44:29 +00:00
bob%bclary.com
deafb6b026 Regression Test - allow unescaped / in regular expression literals, test by Phil Schwartau, bug 309840, obsoletes js1_5/Regress/regress-173067.js
git-svn-id: svn://10.0.0.236/trunk@181880 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:38:21 +00:00
bob%bclary.com
463531ce43 Regression test - properly root stack in toXMLString, test by Stephen Donner, bug 311580
git-svn-id: svn://10.0.0.236/trunk@181878 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:34:42 +00:00
bob%bclary.com
69cc04f7b1 Regression test - Do not crash on long running script using e4x, test by conor@the325project.org, bug 309897
git-svn-id: svn://10.0.0.236/trunk@181877 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 02:29:58 +00:00