Commit Graph

7311 Commits

Author SHA1 Message Date
bob%bclary.com
512d3f118f Add js1_5/Error 2005-10-24 02:47:28 +00:00
brendan%mozilla.org
70d7915de1 Better local GC rooting (312278, r/sr=igor/shaver). 2005-10-24 02:45:45 +00:00
bob%bclary.com
a69558cbd1 Regression test for bug 311414, test function should return number, not array 2005-10-24 02:43:36 +00:00
bob%bclary.com
8924fa76b5 Regression test for bug 311580, slight performance improvement 2005-10-24 02:42:26 +00:00
bob%bclary.com
9422e9a70c Make sure to use :js: to identify talkback urls, not bug not part of the build 2005-10-24 02:40:55 +00:00
bob%bclary.com
f8b486ff3d Use jsDriver option -k instead of lynx to get text only failure report, no bug, not part of the build. 2005-10-24 02:39:28 +00:00
bob%bclary.com
79c7ba71dd Regression test for bug 312196 - Remove extraneous alert 2005-10-24 02:33:22 +00:00
bob%bclary.com
975b47fe92 Regression test for bug 226078, replace print by printStatus 2005-10-24 02:28:18 +00:00
bob%bclary.com
524eff9922 Regression test for bug 289669, by 'Bug Tracker' 2005-10-24 02:25:21 +00:00
bob%bclary.com
ec09b78273 Correct calculation of averages in BigO() 2005-10-24 02:22:35 +00:00
bob%bclary.com
900ee65ed5 Regression test for bug 286216, by Philipp Vogt 2005-10-23 23:56:19 +00:00
bob%bclary.com
c84ac3ed1d Regression test for bug 285219, by Brendan Eich 2005-10-23 23:45:59 +00:00
bob%bclary.com
4552014830 Regression test for bug 281487, by Philipp Vogt 2005-10-23 23:27:10 +00:00
bob%bclary.com
eeda5eb795 Regression test for bug 302531, by Blake Kaplan 2005-10-23 21:52:43 +00:00
brendan%mozilla.org
6ec00688d6 Fix class-prototype rooting to be bullet-proof (313500, r=igor). 2005-10-23 21:42:07 +00:00
brendan%mozilla.org
a000bfe5e8 Reorder to avoid a GC hazard (313479, r=igor). 2005-10-23 21:23:00 +00:00
bob%bclary.com
6eb57f63ec Regression test for bug 304376, by Blake Kaplan 2005-10-23 13:28:37 +00:00
bob%bclary.com
304f41302c Fix my errors in writing the testcases for bug 312692 2005-10-23 13:12:00 +00:00
bob%bclary.com
e1e720c62e Regression test for bug 304897, by simon 2005-10-23 13:02:28 +00:00
bob%bclary.com
629b053932 Regression test for bug 305002, by Hans-Andreas Engel 2005-10-23 12:49:02 +00:00
bob%bclary.com
caa6773171 Regression test for bug 305583, by shutdown 2005-10-23 12:40:52 +00:00
bob%bclary.com
ed1852f363 reset javascript options before calling reportCompare, no bug, fix my goof. 2005-10-23 12:31:35 +00:00
bob%bclary.com
73d703ff67 Regression test for bug 306633, by Michael Daumling 2005-10-23 12:29:03 +00:00
bob%bclary.com
3a94a1273d Regression test for bug 306727, by Michael Daumling 2005-10-23 12:18:56 +00:00
bob%bclary.com
29b606c9a8 Regression test for bug 306738, by Liam Davis-Mead 2005-10-23 12:06:37 +00:00
bob%bclary.com
2c6f0fc981 Regression test for bug 307456, by Lupin.wp 2005-10-23 11:46:35 +00:00
bob%bclary.com
4e43375628 Regression test for bug 308566 2005-10-23 10:56:42 +00:00
bob%bclary.com
7efae41b33 Regression test for bug 310295, by Konstantin Mirny 2005-10-23 08:36:57 +00:00
bob%bclary.com
64d2b3908c Regression test for bug 310607, by Daniel Krieg 2005-10-23 08:09:22 +00:00
bob%bclary.com
4ee5baf495 Regression test for bug 311414, by timeless 2005-10-23 08:00:36 +00:00
bob%bclary.com
feff0570a6 Regression test for bug 311583, by Igor Bukanov 2005-10-23 07:31:07 +00:00
bob%bclary.com
2436624f45 Regression test for bug 311583, by Igor Bukanov 2005-10-23 07:05:43 +00:00
bob%bclary.com
715b03602f Regression test for bug 312138, by Igor Bukanov 2005-10-23 06:56:32 +00:00
bob%bclary.com
f32d2d8856 Regression test for bug 312354, by Seno Aiko 2005-10-23 06:44:53 +00:00
bob%bclary.com
dd87704700 Regression test for bug 312692, by Seno Aiko 2005-10-23 06:26:15 +00:00
brendan%mozilla.org
a41d3b7584 Oops. 2005-10-23 06:22:46 +00:00
brendan%mozilla.org
a69f966840 Remove unused variable. 2005-10-23 05:18:29 +00:00
brendan%mozilla.org
de6fbbd1cf Better local GC rooting (312278, r/sr=igor/shaver). 2005-10-23 04:59:50 +00:00
bryner%brianryner.com
8223f72812 Fix gcc 2.95 bustage as reported in bug 279839 by sergei_d@fi.tartu.ee. 2005-10-22 22:55:44 +00:00
mrbkap%gmail.com
71214f2f8d bug 313236: Consolidate some code. r=brendan 2005-10-22 01:03:06 +00:00
brendan%mozilla.org
b2c5e73ff1 Check for cycles and throw an error (fix to ECMA-357 for Edition 2; 312692, r/sr=mrbkap/shaver). 2005-10-21 23:50:50 +00:00
bob%bclary.com
b0711d7130 Regression test for bug 312196, test by Sean McMurray 2005-10-21 09:10:40 +00:00
bob%bclary.com
cced1f80ef Regression test for bug 312260, test by Gavin Sharp 2005-10-21 08:36:48 +00:00
bob%bclary.com
f9b47cd8dc Regression test for bug 313080, test by nanto_vi (TOYAMA Nao) 2005-10-21 08:15:36 +00:00
bob%bclary.com
114cddd996 Regression test for bug 313153, test by Brendan Eich 2005-10-21 08:04:05 +00:00
brendan%mozilla.org
96d5582cde Parenthesize to avoid warning. 2005-10-21 05:00:28 +00:00
mrbkap%gmail.com
68301eb842 bug 312278: Protect some objects from getting GC'd before we could root them. r=brendan 2005-10-21 00:26:56 +00:00
brendan%mozilla.org
8de05eef88 Must use js_CheckAccess if you use js_SetProtoOrParent (313080, r/sr=mrbkap/shaver). 2005-10-21 00:05:47 +00:00
brendan%mozilla.org
3a58bafb31 Followup fix to suppress function:: in decompiler output unless it was explicitly used in JS source (312196, r/sr=mrbkap/shaver). 2005-10-20 19:43:06 +00:00
brendan%mozilla.org
10de8e659f Fix generic native methods to work with extra args (313153, r/sr=mrbkap/shaver). 2005-10-20 19:30:44 +00:00
brendan%mozilla.org
3286eae123 Use local roots effectively (312278, r=igor). 2005-10-20 18:58:24 +00:00
bryner%brianryner.com
e628680727 attempt to fix btek bustage. r=darin. 2005-10-20 17:51:15 +00:00
bryner%brianryner.com
b4a806dc9d Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan. 2005-10-20 16:39:24 +00:00
mrbkap%gmail.com
ebba4a190b bug 312278: Make sure to root things if they can be collected before their use. r=brendan 2005-10-19 23:32:37 +00:00
darin%meer.net
6763ec6040 fixes bug 312946 "javascript:Packages.prototype crashes browser if Java plugin is not found" r=brendan 2005-10-19 18:55:44 +00:00
mrbkap%gmail.com
42e86bc919 Fix a silly spelling mistake. 2005-10-18 17:17:12 +00:00
brendan%mozilla.org
b61061c6e9 Get rid of duplicate assignment of a->avail in gc_new_arena. 2005-10-18 04:15:51 +00:00
bob%bclary.com
dd3f3bda24 add expectExitCode(3) to deal with out of memory error when the test case does not crash, bug 312588 2005-10-17 23:42:40 +00:00
bob%bclary.com
349159d091 add emacs modeline, no bug, not part of the build 2005-10-17 22:42:39 +00:00
bob%bclary.com
3522e21df2 Rewrite code to switch javascript options for strict/werror 2005-10-17 22:33:38 +00:00
mrbkap%gmail.com
6a5af4bab4 bug 307895: Date.toLocalFormat("%x") with format yyyy/MM/dd produces yyyy/MM/yyyy. Patch from gekacheka@yahoo.com. r=brendan 2005-10-17 21:57:45 +00:00
mrbkap%gmail.com
886aa6028e 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 2005-10-17 18:47:13 +00:00
bob%bclary.com
b0567249fd Regression test - do not crash creating infinite array, by Martijn Wargers, bug 3125288 2005-10-16 23:15:36 +00:00
gavin%gavinsharp.com
c9ab2e82ff Bug 312260: Bogus "undefined property" strict warning in switch discriminants, patch by Jeff Walden <jwalden@mit.edu>, r=brendan 2005-10-16 22:14:30 +00:00
bob%bclary.com
b70762299f updated test from Michael Daumling, bug 232182 2005-10-16 16:41:51 +00:00
bob%bclary.com
1a016a793a add XML.ignoreWhitespace = false to ensure valid comparison of string values, bug 312064 2005-10-16 16:24:07 +00:00
brendan%mozilla.org
3689f9d650 Make __noSuchMethod__ work with E4X (312196, r/sr=mrbkap/shaver). 2005-10-15 07:30:59 +00:00
brendan%mozilla.org
c6a7771a3b Add (vacuous now, maybe helpful later) assertion. 2005-10-15 04:09:24 +00:00
db48x%yahoo.com
30bbc6c214 bug 311775: objects created with GeckoActiveXObject are broken,
patch by David Bradley <dbradley@gmail.com>, r=jst, sr=brendan
2005-10-15 02:27:49 +00:00
brendan%mozilla.org
4de10b1527 Fix from igor.bukanov@gmail.com for old bug in argv provisioning/scanning (311497, r=me). 2005-10-15 00:14:08 +00:00
brendan%mozilla.org
f237e71c51 Assertion botching, need to back out and debug. 2005-10-14 22:34:31 +00:00
brendan%mozilla.org
41630a0aa9 Fix from igor.bukanov@gmail.com for old bug in argv provisioning/scanning (311497, r=me). 2005-10-14 22:31:50 +00:00
mrbkap%gmail.com
44834d9757 bug 311892: Add some (awful, gross) checks. r=brendan 2005-10-14 19:05:43 +00:00
bob%bclary.com
1307e74294 Regression test for bug 312351, do not crash on RegExp(null), by drimbk@yahoo.com 2005-10-14 03:16:19 +00:00
bob%bclary.com
dc84b1c76c Regression test for bug 226078, by Zbigniew Braniecki, Brendan Eich 2005-10-14 02:40:17 +00:00
bob%bclary.com
fac732d03a Regression test for bug 303277, by shutdown@flashmail.com 2005-10-14 00:39:06 +00:00
bob%bclary.com
8e19f47695 String static methods 2005-10-14 00:05:20 +00:00
bob%bclary.com
76bcc2878a Add js1_6/String to JS Test Library 2005-10-14 00:03:21 +00:00
mrbkap%gmail.com
4824910e9f bug 312351: Don't dereference null (which counts as a primitive). r=shaver 2005-10-13 21:32:46 +00:00
igor%mir2.org
c86ee3b5ef 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.
2005-10-12 07:39:45 +00:00
brendan%mozilla.org
b1f07f5553 Add missing first [ in CDATA literal generator (312064, r=mrbkap). 2005-10-12 05:50:51 +00:00
bob%bclary.com
659f4796f8 Correct expected value, bug 310425 2005-10-11 19:49:34 +00:00
bob%bclary.com
2de12a07d3 Add expected exit code of 3 to deal with out of memory conditions, bug 303213 2005-10-11 19:47:52 +00:00
bob%bclary.com
5bc33ac77f Bring test up to current js1_5 standards, no bug, not part of the build 2005-10-11 19:45:18 +00:00
bob%bclary.com
70b6982f77 Add expected exit code of 3 to deal with out of memory conditions, bug 311580 2005-10-11 19:43:25 +00:00
bob%bclary.com
e1203b060f Fix expected value for CDATA section nodeKind 2005-10-11 19:03:02 +00:00
bob%bclary.com
774c5495a4 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 2005-10-11 17:23:03 +00:00
bob%bclary.com
57a1587f8c Regression test - Do not crash watching property when watcher sets property, test by Brant Gurganus, bug 213482 2005-10-11 08:19:55 +00:00
bob%bclary.com
1214fa96fd Regression test - crash caused by bug 208030, test by Olivier Cahagne, bug 214761 2005-10-11 07:21:20 +00:00
bob%bclary.com
794c3bc441 Regression test - E4X should be enabled even when e4x=1 not specified, test by Wladimir Palant, bug 301574 2005-10-11 06:39:28 +00:00
bob%bclary.com
99308e4deb Regression test - spandep fu should skip unused JSOP_TABLESWITCH jump table entries, test by Silviu Trasca, bug 302439 2005-10-11 06:16:19 +00:00
bob%bclary.com
7826873fcc 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 2005-10-11 04:46:24 +00:00
mrbkap%gmail.com
a83973d319 bug 311792: Make sure that temporary values are protected from GC. Patch from Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap/brendan 2005-10-10 23:33:16 +00:00
bob%bclary.com
cddd9aec20 Regression Test - integer overflows in jsstr.c, js_str_escape.js, test by Georgi Guninski, bug 303213 2005-10-10 05:53:10 +00:00
bob%bclary.com
030e987887 Regression Test - test Array.indexOf/Array.lastIndexOf edge cases, test by Igor Bukanov, bug 310425 2005-10-10 04:40:39 +00:00
bob%bclary.com
2d39c648ee JS Test Library - add js1_6/Array for JavaScript 1.6 Array extensions 2005-10-10 04:37:21 +00:00
brendan%mozilla.org
854337d093 Use local roots in XMLToXMLString (311580, r=mrbkap). 2005-10-10 03:28:14 +00:00
bob%bclary.com
87a8e7179e Regression test - treat <! as the start of a comment to end of line unless e4x=1, test by Peter van der Woude, bug 311071 2005-10-10 03:00:38 +00:00
bob%bclary.com
ac68689a39 Regression test - HTML Comment on JS if statement causes erroneous results, test by Peter van der Woude, bug 310993 2005-10-10 02:57:47 +00:00
bob%bclary.com
6717add8a2 Regression test - JavaScript switch statement going to wrong case, test by Henry Cejtin, bug 308085 2005-10-10 02:54:56 +00:00
bob%bclary.com
e120dece77 Regression test - assertion parsing getter\n, test by Blake Kaplan, bug 306794 2005-10-10 02:51:30 +00:00
bob%bclary.com
25b92c44e4 Regression Test - sorting array of arrays should not crash due to GC, bug 306788regress-306788.js 2005-10-10 02:48:10 +00:00
bob%bclary.com
e2dd05e1c1 Allow conversion of NodeList to Array via Array.prototype.slice, test by Seno Aiko, bug 310351 2005-10-10 02:44:29 +00:00
bob%bclary.com
6e97f3ad96 Regression Test - allow unescaped / in regular expression literals, test by Phil Schwartau, bug 309840, obsoletes js1_5/Regress/regress-173067.js 2005-10-10 02:38:21 +00:00
bob%bclary.com
cdf209be60 Regression test - properly root stack in toXMLString, test by Stephen Donner, bug 311580 2005-10-10 02:34:42 +00:00
bob%bclary.com
6aa78291b1 Regression test - Do not crash on long running script using e4x, test by conor@the325project.org, bug 309897 2005-10-10 02:29:58 +00:00
bob%bclary.com
8d014053a3 Regression test, Do not crash when searching large e4x tree, bug 308111, test by Aaron Boodman 2005-10-10 02:26:32 +00:00
bob%bclary.com
b54b4f4d7a E4X should be on by default while preserving comment hacks, bug 309342, bug 311147, tests by Brendan Eich 2005-10-10 00:15:05 +00:00
bob%bclary.com
d86ff46038 E4X 11.4.1 - XML Initializer: SGML Comment hiding, bug 311157, test by Brendan Eich 2005-10-09 23:59:43 +00:00
bob%bclary.com
22ebfea3aa E4X 11.4.1 - XML Initializer: accept single processing instruction, CDATA section, single comment, test by Martin Honnen, bug 257679 2005-10-09 23:55:24 +00:00
bob%bclary.com
ee0fe9169b Add js1_6/Regress to the JavaScript test library 2005-10-09 23:29:42 +00:00
bob%bclary.com
aa1b00218a Add js1_6 directory for JavaScript 1.6 testing 2005-10-09 23:24:21 +00:00
bob%bclary.com
6031ffe85a automated testing - add full path to test results written to stdout, add simulated gc() for browser based tests (from Igor Bukanov), not part of the build, no bug 2005-10-09 23:19:44 +00:00
bob%bclary.com
c73e82ab17 automated testing - obsolete js1_5/Regress/regress-173067.js due to change in allowing unescaped / in literal regular expressions 2005-10-09 23:18:06 +00:00
bob%bclary.com
3acd984a4d automated testing - turn off javascript warnings, not part of the build, no bug 2005-10-09 23:06:38 +00:00
mrbkap%gmail.com
91b7fee4e0 bug 311403: Enforce JS engine invarients. r=brendan 2005-10-09 07:56:32 +00:00
mrbkap%gmail.com
d9c972a330 bug 311619: Make sure to grab the correct scope object. r=brendan 2005-10-09 07:45:32 +00:00
brendan%mozilla.org
048053e1f7 Fix 310425 (r=mrbkap) and check in Igor's fix for 311497 (r=me). 2005-10-09 06:09:21 +00:00
brendan%mozilla.org
76c7c880b0 A few cleanups in wake of recent and old changes (r=mrbkap). 2005-10-09 04:25:35 +00:00
mrbkap%gmail.com
c2534fb49e bug 311629: Protect against UnaryExpr overflow (e.g., several thousand +s). r=brendan 2005-10-08 17:49:03 +00:00
bob%bclary.com
6cb5eef290 Prevent recursive death in UnaryExpr, test by Mook, bug 311629, not part of the build 2005-10-08 12:39:29 +00:00
mrbkap%gmail.com
ac604da132 bug 311024: Make sure eval grabs the right scope object. r=brendan sr=jst 2005-10-08 00:28:45 +00:00
mrbkap%gmail.com
10a9d820f8 bug 311403: maintain jsengine invarients. r=brendan 2005-10-07 02:05:39 +00:00
mrbkap%gmail.com
ce1d0edbd3 bug 311025: Consolidate principals-checking code in obj_eval. r=mrbkap sr=shaver 2005-10-07 01:37:11 +00:00
brendan%mozilla.org
e93099cb73 Force XML option on inside a literal list or element, to allow comments and CDATA (311157, r/sr=mrbkap/shaver). 2005-10-05 19:58:58 +00:00
mrbkap%gmail.com
c45204aeea bug 311022: Don't recreate wrappers that already exist. r=jst sr=bzbarsky 2005-10-04 22:58:01 +00:00
brendan%mozilla.org
835fe3c2fd Revise XML vs. HTML comment/CDATA handling to require JSOPTION_XML for former (311071, r/sr=mrbkap/shaver, a=dbaron). 2005-10-04 20:25:34 +00:00
nboyd%atg.com
bd3f939051 Update for next release version 2005-10-04 19:20:04 +00:00
brendan%mozilla.org
57373235e5 Tweak E4X auto-detection to cope with more HTML comment madness (310993, r=mrbkap). 2005-10-04 06:48:32 +00:00
brendan%mozilla.org
2f585832b3 Check stack depth in MarkSharpObjects too (310864, r=mrbkap). 2005-10-04 05:03:58 +00:00
brendan%mozilla.org
62d08e875f Fix for..in to work with split windows, while not regressing other lookup-redirect cases (310742, r=mrbkap). 2005-10-04 00:36:42 +00:00
bryner%brianryner.com
6f71a4a3a0 Use memory-mapped files for compiling JS components (bug 279839). r=shaver, sr=jst. 2005-10-03 23:34:58 +00:00
mrbkap%gmail.com
dc67d85812 bug 309840: Allow unescaped / in character classes in regexp literals. r/sr=brendan/shaver 2005-10-03 18:30:24 +00:00
mrbkap%gmail.com
7e506bc162 bug 310539: Fix bustage on the AIX tinderbox. Patch from Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap sr=brendan 2005-10-03 17:19:20 +00:00
brendan%mozilla.org
71d9dacdfb Patch by Igor and me (mostly Igor in substance) to fix corner cases, optimize hole cases (310425, r/sr=mrbkap/shaver). 2005-10-02 06:27:07 +00:00
mrbkap%gmail.com
a1d295f9e4 bug 310456: Make sure that fun->u.script is non-null, since we set interpreted before we're sure to have a script. r=shaver 2005-09-30 21:39:11 +00:00
igor%mir2.org
27dc23cc25 1. Added QuitAction interface to specify the action to perform when quit is called. By default Global does nothing and shell explicitly call initQuitAction with code to call System.exit().
2. Added toint32 to be on pair with SpiderMonkey
2005-09-30 08:28:51 +00:00
bob%bclary.com
e69c473247 startTest() must follow bug number in order to report bug number, no bug, not part of the build 2005-09-30 02:44:11 +00:00
bob%bclary.com
91af505e5b Add callback to allow browser based tests to report test results to stdout, no bug, not part of the build 2005-09-30 02:40:36 +00:00
bob%bclary.com
62d2480021 Update automated test talkback ids, no bug, not part of the build 2005-09-30 02:38:35 +00:00
mrbkap%gmail.com
34240f13ec Bug 280769: Handle overly-large regular expressions without crashing. Patch by Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap sr=brendan 2005-09-30 00:46:42 +00:00
mrbkap%gmail.com
2180d58572 Back out the first patch from bug 307317 to see if it helps bug 308678. 2005-09-30 00:39:18 +00:00
mrbkap%gmail.com
eb89e7f513 bug 284032: Add a function to allow easy testing of JS_ValueToInt32 from the js shell. Patch from Brendan. r=mrbkap 2005-09-30 00:23:14 +00:00
mrbkap%gmail.com
fedf62a8f8 bug 284032: Make sure to get the right fp when skipping over native frames in the DVG. Patch from Brendan. r=mrbkap 2005-09-30 00:19:48 +00:00
mrbkap%gmail.com
3884e9dfd2 bug 308856: Provide an API to iterate over the properties of an object (such that if the object is native, the enumerate hook is not called). Patch from Brendan. r/sr=mrbkap/shaver 2005-09-29 23:39:48 +00:00
mrbkap%gmail.com
0b77246139 bug 308856: Only ignore enumerated properties when obj2 is actually in the prototype of obj (and thus will be enumerated when the prototype is enumerated). r=brendan 2005-09-29 23:36:54 +00:00
mrbkap%gmail.com
aefbbd73e2 bug 309897: Make sure to not shrink XML arrays when doing so would shrink the capacity to less than the needed size. Patch from Brendan. r/sr=mrbkap/shaver 2005-09-29 23:31:36 +00:00
mrbkap%gmail.com
24c439b988 Fix Brendan's naming nit (bug 308806) 2005-09-29 23:15:40 +00:00
mrbkap%gmail.com
0c01573eca bug 308806: changes to an object's toString method are not reflected when calling toLocaleString. r=shaver 2005-09-29 21:54:37 +00:00
igor%mir2.org
7ce791784f Fixing bug 310482: I missed loading "this: for put_field. 2005-09-29 21:23:30 +00:00
bob%bclary.com
4d2601aecd Object.prototype.toLocaleString should track Object.prototype.toString, Regression test for bug 308806 by Bryant Chen, not part of the build 2005-09-29 19:09:51 +00:00
nboyd%atg.com
8914f71a8e Rhino now implements the array extras 2005-09-28 16:18:14 +00:00
nboyd%atg.com
cfae79c4c1 Fix bug 310323: implement new array extras (forEach, indexOf, filter, map,
some, every)
2005-09-28 16:13:27 +00:00
peterv%propagandism.org
8702e6b0aa Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +00:00
bob%bclary.com
6c6bfef31d Bug 309925, fix regression in parsing dates containing HH:MM caused by bug 301738, r=mrbkap, sr=brendan 2005-09-27 04:10:38 +00:00
brendan%mozilla.org
74f950ee9e Fix pointer testing via JS_LIKELY (rather fix a few callers than put cvs diff jsinterp.c inside the macro... 2005-09-26 18:48:39 +00:00
bob%bclary.com
aea0225e02 Regression test for bug 309925 2005-09-25 08:46:56 +00:00
brendan%mozilla.org
c784c4d16c Hack around XML filtering predicate expression design flaw (309894, r/sr=mrbkap/shaver). 2005-09-24 18:56:10 +00:00
brendan%mozilla.org
9bea533899 Fix bogus assertion on line 1814. 2005-09-24 07:16:18 +00:00
brendan%mozilla.org
b6f6d30bdc Y combinator in JS. 2005-09-24 01:53:12 +00:00
brendan%mozilla.org
ed6d00a19d Fix regression biting .js files that wrongly include HTML comments (309712, r/sr=mrbkap/shaver). 2005-09-23 15:58:47 +00:00
brendan%mozilla.org
b8a174a759 Fix 309695, regression from 308085 (r/a=me). 2005-09-23 06:27:01 +00:00
bob%bclary.com
e2722e8911 replace print with printStatus to prevent print dialog in browser tests, no bug, not part of the build 2005-09-22 19:59:31 +00:00
brendan%mozilla.org
8f091ec697 Fix sparse tableswitches properly, and cull useless expressions in functions (308085, r/sr=mrbkap/shaver). 2005-09-22 03:27:23 +00:00
bob%bclary.com
f567979cf4 Regression test for bug 232182, Display non-ascii characters in JS Exceptions, by Michael Daumling 2005-09-21 19:08:04 +00:00
bob%bclary.com
b319754cc2 Regression test for Date parse compatibility with MSIE, bug 301738 2005-09-21 19:01:55 +00:00
nboyd%atg.com
a477e8b0f2 Propagating from website:
revision 1.22
      date: 2005/09/21 00:08:50;  author: syamagu%mozilla.gr.jp;  state: Exp;  lines:
      +29 -23
      tidying markup
2005-09-21 14:17:40 +00:00
igor%mir2.org
9994b04a15 Restoring docs afterbad update 2005-09-20 22:14:18 +00:00
igor%mir2.org
a743c20ce0 Restoring new docs 2005-09-20 22:11:54 +00:00
brendan%mozilla.org
67571135d6 Oops. 2005-09-20 21:53:17 +00:00
brendan%mozilla.org
446e00bfba Enable E4X while preserving the HTML script tag content 'comment hiding hack' of yore (309242, r/sr=mrbkap/shaver). 2005-09-20 21:48:26 +00:00
nboyd%atg.com
468b76b8be Synchronize with website prior to 1.6R2 release. 2005-09-19 11:37:42 +00:00
brendan%mozilla.org
147dc332f9 Fix for..in enumeration of XPCNativeWrappers (301498, r/sr=bz/jst). 2005-09-19 06:29:22 +00:00
nboyd%atg.com
f13176bd25 Update for 1.6R2 release date. 2005-09-19 00:20:39 +00:00
bob%bclary.com
1681dc6b9e String concat should not be O(N**2), bug 56940, by djoham@criadvantage.com 2005-09-19 00:14:12 +00:00
bob%bclary.com
2ea821912d String concat should not be O(N**2), bug 157334, by Phil Schwartau 2005-09-19 00:11:00 +00:00
bob%bclary.com
87e717f92f Do not crash String.split(regexp) when regexp contains parens, bug 112626, by Christian Schneider 2005-09-19 00:08:00 +00:00
bob%bclary.com
0be1580a91 12.6.4 - LHS for (LHS in expression) execution, bug 299641, by mozilla@florian.loitsch.com 2005-09-19 00:04:06 +00:00
bob%bclary.com
6d5ebc73a7 Check JS only recursion stack overflow, bug 295666, by Georgi Guninski 2005-09-19 00:01:41 +00:00
bob%bclary.com
d27ba6096b Math.random should be random, bug 211590, by zack-weg@gmx.de 2005-09-18 23:58:55 +00:00
bob%bclary.com
93a7229b50 Properly report / in a literal regexp class as an error, bug 173067, by Phil Schwartau 2005-09-18 23:56:36 +00:00
bob%bclary.com
6df3a7466b Do not crash due to js_NewRegExp initialization, bug 167658, by Georg Maass 2005-09-18 23:54:13 +00:00
bob%bclary.com
c4ae928121 String(number) == xxxx:0000 for some numbers, bug 140852, by John Morrison 2005-09-18 23:50:53 +00:00
bob%bclary.com
609ae71e0b Do not crash in js_ReportIsNotDefined(), bug 139316, by Robert Ginda 2005-09-18 23:48:02 +00:00
bob%bclary.com
7f94176e93 Do not crash - JSOP_THIS should null obj register, bug 116228, by Christian Bodart 2005-09-18 23:44:49 +00:00
bob%bclary.com
0bc7601748 Do not crash javascript warning duplicate arguments, bug 115436, by Alex Vincent 2005-09-18 23:42:33 +00:00
bob%bclary.com
d6959068dd Set Function arguments, bug 292215, by Erik Fabert 2005-09-18 23:39:45 +00:00
bob%bclary.com
9e88ae8cf8 Function.prototype.toSource should not override Function.prototype.toString, bug 178389, by Bart 2005-09-18 23:36:57 +00:00
bob%bclary.com
e289a3a289 Do not crash when newline separates function name from arglist, bug 123371, by kinmoz@netscape.net 2005-09-18 23:33:29 +00:00
bob%bclary.com
551fb82177 sort should not by O(N^2) on sorted data, bug 99120, by Phil Schwartau 2005-09-18 23:30:20 +00:00
bob%bclary.com
d6ba818915 Handle Arrays with holes properly, bug 299644, by mozilla@florian.loitsch.com 2005-09-18 23:26:25 +00:00
bob%bclary.com
2b450bae69 E4X - Function.prototype.toString should not quote {} attribute values, bug 302097, by Blake Kaplan 2005-09-18 21:40:34 +00:00
bob%bclary.com
3ee93802fb Do not crash with XMLList filters, bug 301596, by Mike Shaver 2005-09-18 21:34:01 +00:00
bob%bclary.com
6f50c5d585 Parse XML entities in Function.prototype.toString, bug 301573, by Seno Aiko 2005-09-18 21:29:57 +00:00
bob%bclary.com
acdce42409 never perpetrate a silent failure, bug 301553, by Wladimir Palant 2005-09-18 21:28:40 +00:00
bob%bclary.com
6c0a21415d add emacs modeline, no bug, not part of the build 2005-09-18 20:50:34 +00:00
bob%bclary.com
6d11aa1fb9 convert msg argument in printStatus(msg) to string, add BigO function to estimate Big O of a data set, no bug, not part of the build. 2005-09-18 20:49:21 +00:00
bob%bclary.com
65ea6beaed add setBoolPref(prefName, newValue) to allow browser based tests to get/set preferences 2005-09-18 20:47:38 +00:00
bob%bclary.com
dee0493edb Determine location of js shell binary 2005-09-18 20:46:15 +00:00
bob%bclary.com
7b4bd884b3 include config.mk to Maketests to determine location of js shell binary 2005-09-18 20:45:02 +00:00
igor%mir2.org
d3457ec733 Fixing bug 309029: remind parser about Context.compileFunction case. 2005-09-18 11:11:06 +00:00
bzbarsky%mit.edu
fc941fb73d Attempt to fix AIX bustage -- bug 308899 2005-09-17 04:20:51 +00:00
bzbarsky%mit.edu
8a8841aa28 Fix TOO_MUCH_GC issue with XPCNativeInterfaces. Bug 307313 r=dbradley, sr=brendan 2005-09-16 15:41:08 +00:00
timeless%mozdev.org
fa17aaefd1 Adding support to spidermonkey standalone (not part of gecko build) for
mingw:

uname -a
MINGW32_NT-5.1 PROFILER 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown

uname -r
1.0.10(0.46/3/2)

uname -m
i686

uname -s
MINGW32_NT-5.1

mingw is really mean to /'s in commands, so since cl and friends are happy
to use - instead, i'm switching the flags to do so.
2005-09-16 07:23:16 +00:00
mrbkap%gmail.com
b326071feb bug 306727: Treat octal escapes the same in strict mode and non-strict mode (but still warn!). r=brendan 2005-09-16 00:20:36 +00:00
brendan%mozilla.org
fcbce4f4f6 Fix two GC scanning holes: local root stack gaffe (only top scope was marked), E4X filtering predicate operand stack hiding (fixed to share instead of push; both from bug 308111, r/sr=mrbkap/shaver). 2005-09-15 01:48:16 +00:00
mrbkap%gmail.com
31b8f7c359 bug 308566: Make our handling of invalid backrefs imitate how IE does it, and don't crash. r=brendan 2005-09-14 23:40:03 +00:00
brendan%mozilla.org
2cdb0aa1d9 Three different fixes to help us start up with WAY_TOO_MUCH_GC defined (307317, r+sr from bz/mrbkap/shaver). 2005-09-14 22:35:43 +00:00
mrbkap%gmail.com
a7aa886188 bug 308395: Give gdb a fighting chance in catching JS_Asserts by sending an "int $3" before abort()ing. r=brendan 2005-09-14 17:30:10 +00:00
mrbkap%gmail.com
1077614fd8 bug 307980: Allow a window object to be passed to the Sandbox constructor so that we can guarantee a script will have the correct principals when it tries to access properties on the window. r=brendan sr=shaver 2005-09-13 21:42:04 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
mrbkap%gmail.com
03df34dd12 bug 307005: If the passed-in object itself isn't an XPCNativeWrapper, look up its prototype chain for one so we don't throw if a property was found on a wrapped prototype of a non-wrapped object. r=jst sr=brendan 2005-09-13 16:48:28 +00:00
bob%bclary.com
6f28acc293 Use File::Temp to generate temporary files, no bug, not part of the build. 2005-09-08 19:16:27 +00:00
timeless%mozdev.org
41f9259974 Bug 307469 jsopcode.c doesn't build w/ !JS_HAS_XML_SUPPORT
r=brendan
2005-09-08 18:54:43 +00:00
jst%mozilla.jstenback.com
07ba15436d Followup change for bug 307289. Adding comment per jband's suggestion, and a warning to catch callers that restore the current prototype. 2005-09-08 16:34:29 +00:00
nboyd%atg.com
5e466c921a Add new bug fix link. 2005-09-08 13:47:32 +00:00
jst%mozilla.jstenback.com
a5d3d7a52b Probable fix for bug 307289. Make sure we get the wrapped native prototypes put in all the right maps etc when we're restoring a prototype in a scope so that the right cleanup happens during shutdown. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-08 00:29:03 +00:00
brendan%mozilla.org
20881f858a Missing change for JS1.6 support (307315, r/sr=mrbkap/shaver). 2005-09-07 18:56:21 +00:00
mrbkap%gmail.com
fc2c9e5234 bug 305884: Protect cx->exception from getting collected by delaying setting cx->throwing until after cx->exception is safe on the stack. Patch by Brendan, r=mrbkap sr=shaver 2005-09-07 17:12:38 +00:00
mrbkap%gmail.com
ff54a0bf4c bug 307278: Remove the horribly outdated js shell implementation. r=brendan 2005-09-06 23:20:41 +00:00
brendan%mozilla.org
b03abf03d2 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver). 2005-09-06 17:43:36 +00:00
bob%bclary.com
fda3209ca7 Bug 98901, JS Regression testcase for stack overflow concatenating variables, not part of the build. 2005-09-06 15:04:03 +00:00
brendan%mozilla.org
085ece7010 Warning fix. 2005-09-06 06:50:45 +00:00
bob%bclary.com
707e75e6ad Bug 303427 - remove extraneous newline in assertion XPConnect is being called on a scope without a Components property, r,sr=jst,a=asa 2005-09-04 17:35:20 +00:00
peterv%propagandism.org
bdf521706e Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan. 2005-09-02 18:21:23 +00:00
brendan%mozilla.org
ed36b25391 Fix js_PeekTokenSameLine assertion to handle already-peeked TOK_EOL (306794, r=mrbkap, DEBUG-only). 2005-09-02 17:54:41 +00:00
brendan%mozilla.org
7221d2df07 Fix failure to root temporary result under Array.prototype.sort (306788, r/sr=mrbkap/shaver). 2005-09-02 17:49:05 +00:00
mrbkap%gmail.com
476eec3f0b bug 306738: uneval on a getter outputs mismatched parentheses. r=brendan 2005-09-02 16:59:14 +00:00
igor%mir2.org
f33158e1f3 Fixing bug #306825: now shell.Global can be used as scope objects in servlets 2005-09-02 14:18:40 +00:00
mrbkap%gmail.com
c192827172 bug 306740: Add a compile-only option to the JS and XPC shells. Patch by Shane Caraveo <shanec@ActiveState.com> with a couple of nits from me. r=mrbkap sr=brendan 2005-09-01 23:17:27 +00:00
jst%mozilla.jstenback.com
bdc67edde4 Landing the second part of the fix for bug 304423. Make XPCWrappedNative::GetWrappedNativeOfJSObject() deal with the case where the prototype found through the funobj is not the current prototype for the given class (i.e. it's a prototype for the right class and scope, but one from before prototypes were refreshed). r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-01 23:08:57 +00:00
jst%mozilla.jstenback.com
e8c667e03b Relanding the fix for bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-01 23:02:57 +00:00
mrbkap%gmail.com
97d610cc86 bug 306617: The generic function dispatcher should imitate Function.call and Function.apply. r=brendan sr=shaver 2005-09-01 21:46:15 +00:00
brendan%mozilla.org
81a2503669 Fix to bug reported by daumling@adobe.com (306633, r/sr=daumling/shaver) where eval swallows strict warnings. 2005-09-01 21:26:27 +00:00
jst%mozilla.jstenback.com
82f4e9911c Backing out my fix for bug 304423 since it broke the Txul tests. 2005-09-01 05:39:58 +00:00
jst%mozilla.jstenback.com
03b0092894 Fixing bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-01 03:51:12 +00:00
bob%bclary.com
bdf5838886 Clone WINNT5.1.mk for Windows Server 2003 2005-08-31 19:56:10 +00:00
bsmedberg%covad.net
3e2adc9538 Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan 2005-08-31 17:20:09 +00:00
mrbkap%gmail.com
5befaddbbf bug 306591: Make sure that this is an object, since we're calling functions that operate only on objects. r=brendan sr=shaver 2005-08-31 17:08:24 +00:00
igor%mir2.org
85981364ca Info about bug 306584 2005-08-31 16:36:32 +00:00
igor%mir2.org
38754de3cc Fixing bug 306584:
Do not assume that all frames have line number information available.
2005-08-31 16:24:24 +00:00
bob%bclary.com
055731f546 Add support files for test automation, no bug 2005-08-31 05:36:58 +00:00
bob%bclary.com
afda88c22c CVS ignore menu.html, menubody.html, no bug 2005-08-31 05:07:12 +00:00
bob%bclary.com
a4b2d8f8ce Check in modifications to allow lc3 tests to be run in the browser, no bug 2005-08-31 04:52:30 +00:00
bob%bclary.com
8ce6f71386 Check in modifications to allow lc2 tests to be run in the browser, no bug 2005-08-31 04:47:33 +00:00
bob%bclary.com
7f3100012a Change print to printStatus so that test can be run in browser without invoking window.print, no bug. 2005-08-31 04:43:19 +00:00
bob%bclary.com
2b8ed2e56a Set gPageCompleted so Spider can detect test completion, no bug. 2005-08-31 04:41:49 +00:00
bob%bclary.com
3418d59578 Change make variable JS to TEST_JS to match automation variable name standards, no bug. 2005-08-31 04:40:11 +00:00
bob%bclary.com
7aae6198a9 remove \d{1,s} from list of invalid regular expressions due to fix for bug 289628 2005-08-31 04:30:34 +00:00
bzbarsky%mit.edu
37d151a259 Fix bug 305959 -- only return "function" from typeof for Scripts, functions,
and regexps.  Patch by Blake Kaplan <mrbkap@gmail.com>, r=brendan
2005-08-31 04:26:08 +00:00