Commit Graph

52 Commits

Author SHA1 Message Date
bob%bclary.com
e33676be8c JavaScript Test Library - trap exceptions when getting non-existent options in JavaScriptOptions() 2005-10-28 08:13:36 +00:00
bob%bclary.com
3522e21df2 Rewrite code to switch javascript options for strict/werror 2005-10-17 22:33:38 +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
4bde75c512 remove keyword tests from spidermonkey-n.tests, add options('strict', 'werror') to force exceptions. 2005-06-10 05:22: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
bob%bclary.com
dc99e53fef modify to follow ecma3 specification. See bug 281606 2005-03-15 00:28:38 +00:00
bob%bclary.com
6fb8d0c588 remove o instanceof o testcase, bug 281606 2005-02-28 12:10:37 +00:00
gerv%gerv.net
e5d20862b7 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-12 20:11:18 +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
pschwartau%netscape.com
f457eaa80d The behavior of toString() and toSource() on empty regexps has changed. See bug 225550 and bug 226045. 2003-11-18 04:12:48 +00:00
pschwartau%netscape.com
9a8f03f10b Correcting a mistake in the test. 2002-08-02 22:01:35 +00:00
pschwartau%netscape.com
76e9ecaee9 Correcting an error in the test. See bug 155291. 2002-07-15 00:40:14 +00:00
rogerl%netscape.com
029d6574b3 Corrected tests to match ECMA - unmatched paren contents need to have the
value 'undefined' rather than an empty string.
2002-06-04 18:51:05 +00:00
pschwartau%netscape.com
81652b18be Adding a comment. 2002-02-14 20:42:44 +00:00
pschwartau%netscape.com
8a7c41db48 Added five new cases to test number values between uint32 upper-bound and long upper-bound. 2002-02-09 00:18:12 +00:00
pschwartau%netscape.com
94b0eb9c73 Improving readability. 2002-02-08 23:22:59 +00:00
pschwartau%netscape.com
2d07cee32a Correcting mistake in InLeapYear() function. 2001-05-29 16:22:23 +00:00
nboyd%atg.com
d49a818ed0 Fix incorrect for..in order dependency 2001-04-10 17:16:04 +00:00
pschwartau%netscape.com
44623057a1 Deleting this testcase, which expected this.eval() to throw an exception. On the contrary: indirect eval is LEGAL; see Bugzilla bug 38512. 2001-02-05 18:27:36 +00:00
pschwartau%netscape.com
52aa420b05 Replaced hard-coded TZ_DIFF = -8 with a dynamically-calculated value 2000-12-05 01:47:15 +00:00
pschwartau%netscape.com
05e4c72c57 Removing outdated testcase. See Bugzilla bug 49233. 2000-11-27 19:39:18 +00:00
rginda%netscape.com
5580e045b2 Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda%netscape.com
088ed7cd3f Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
rogerl%netscape.com
4bc7c46423 version() must have int type argument.
Fixed VERSION setting to match shell.js
Fixed 'pass!' string to match 'pass'
1999-12-06 22:47:51 +00:00
norris%netscape.com
b961d3803b clean up tests 1999-12-03 23:54:36 +00:00
norris%netscape.com
f03998dff2 remove invalid test 1999-12-02 20:04:48 +00:00
rginda%netscape.com
e2104bde87 Added liveconnect option to runtests2.pl, there are now so many shells supported that the -e|--engine=<type> option has replaces all the individual engine options, such as -d, -o, and -r.
Updated bugnumber in the function-001(-n)?.js files, and minor simplification in the 10.1.3 testcase.
1999-11-30 22:16:34 +00:00
dmose%mozilla.org
82caef06fd updated license boilerplate to xPL v1.1 1999-11-02 22:23:59 +00:00
rogerl%netscape.com
e557d8a255 Needed string parameter in order to pass type comparison correctly.
Added missing TITLE declaration.
1999-11-02 01:03:52 +00:00
rogerl%netscape.com
ad5e6388c9 Moved nested function out - new ECMA definition. 1999-11-02 01:02:55 +00:00
rogerl%netscape.com
ca81c0e8da Put test case in eval statement to catch error. 1999-11-02 01:02:03 +00:00
rogerl%netscape.com
5f93dd0a71 Added missing TITLE declaration 1999-11-02 01:01:34 +00:00
rogerl%netscape.com
2652a57196 Changed to account for latest ECMA spec on back-references vs. octal 1999-10-29 22:50:43 +00:00
norris%netscape.com
4e7cfd348a Shouldn't test for equality against the message string, which is implementation independent. 1999-10-22 18:33:46 +00:00
rogerl%netscape.com
0ac353dd25 NOT A PART OF SEAMONKEY BUILD
- fixed test ECMA references,
- added test to -002
1999-10-11 22:59:25 +00:00
rogerl%netscape.com
ecb681ee1d NOT A PART OF SEAMONKEY BUILD
- removed redundant test & fixed test for 'super' to detect syntax error
1999-10-11 22:38:40 +00:00
cbegle%netscape.com
27ff0f3d29 tests for javascript errors as exceptions, a feature that was recently
added to the javascript engine.

not part of the build.
1999-10-06 20:45:44 +00:00
rogerl%netscape.com
34e85a1b9c Fixed test case - was assuming a length limit on octal sequence rather than
a value limit. (this is version 120 specific in any case)
1999-08-25 00:56:05 +00:00
rogerl%netscape.com
59e4c96f70 Fixed lastIndex test - value is ignored for non-global regexp. 1999-08-11 04:31:19 +00:00
rogerl%netscape.com
a2644affcd Fixed test results to match new spec. 1999-08-10 19:25:00 +00:00
rogerl%netscape.com
edc08d0635 Re-wrote the string_split algorithm to match new spec. 1999-08-10 18:36:46 +00:00
rogerl%netscape.com
cf8a6b5369 Fixed tests for back-reference case 1999-08-04 23:40:13 +00:00
rogerl%netscape.com
7c94044214 Fixed off by one error and expected output text. 1999-08-04 23:38:34 +00:00
rogerl%netscape.com
ea6a0fb276 The lastIndex property is defined to be an integer which we're allowed to
keep as 32 bits, so the tests for 33 bits were too demanding.
1999-08-04 22:27:31 +00:00
rogerl%netscape.com
3cc0227c64 Missing '\' before \n. Trailing '|' in expected output was not correct. 1999-08-04 22:26:07 +00:00
rogerl%netscape.com
2eefd9b161 Was using 'g' flag instead of 'm' and wasn't really testing the multiline
functionality (assuming I interpreted the intent correctly).
1999-08-04 22:24:57 +00:00
rogerl%netscape.com
ed8e8dbacf Fixed test cases for non-global regexp. case - the result array should be
exactly the same as that returned by simply 'exec'ing the regexp against
the input string.
1999-08-03 00:51:23 +00:00
cbegle%netscape.com
fd28e5b3c2 Add a regression test case for #7635.
This file is not part of the client build.
1999-07-15 22:28:12 +00:00
cbegle%netscape.com
7864b1fab8 correct the naming of these tests. negative tests have an -n.js filename
extension.
1999-07-14 18:12:11 +00:00
cbegle%netscape.com
d3e91bee1b Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=7635.
Rename files for consistency.

These files are not part of the client.
1999-06-17 00:20:04 +00:00