Commit Graph

2439 Commits

Author SHA1 Message Date
Mark Miller 1558636929 Converts test cases to proposed new canonical form 2011-09-06 23:32:28 -07:00
David Fugate 9a8578be92 activityBar is a member of the Presenter object. 2011-08-25 14:14:29 -07:00
David Fugate 2871886420 test\harness\*:
- a lot of JS harness code written in strings have been moved out to actual physical files
  such as ed.js (syntax error detection for globally scoped tests) and gs.js (global scope test
  case validator).  This change makes it far easier to maintain the test harness code
- reorganized helper.js providing a clear indication which methods are used by external objects,
  which are implementation details, and which are unequivocally test262-specific.  I've also added,
  openErrorWindow, which will be used to open a descriptive error message window for each test case
  failure reported on the 'Run' tab
- improved the error message for syntax errors occurring when a test case fails to load
- sta.js no longer tries to pickle all helper functions it contains!  Instead, we load the file
  directly from sth.js.  The performance of fnGlobalObject has been improved.  Finally, the ES5Harness
  object has been moved from sth.js (in a string) to here
- sth.js now has a browser implementer hook, controller.implementerHook, which allows browser implementers
  to handle test case failures in their own way (e.g., log to the filesystem).  The 'run' function was
  basically re-written

Added 37 new test cases from the "IE Test Center" Build release.  There were 14 modifications to
existing test cases as well.  Refactored SputnikGlobalScope.js such that test case paths are now used
as indices into the GlobalScopeTests array.

TestCasePackager.py had the concept of templated test harnesses introduced - see templates\runner.test262.html.
Also added support for one HTML test harness per ES5 chapter.  Last but not least, TestCasePackagerConfig.py
now has a 'source control' abstraction class which abstracts away source control adds|edits when dynamically
generating *.json and *.html test chapters.
2011-08-25 11:18:44 -07:00
David Fugate c21525a328 Microsoft's latest contributions for test262 based on Internet Explorer Test Center additions/fixes
for the Build 2011 conference.
2011-08-24 10:17:25 -07:00
David Fugate 1f6f66cb19 https://bugs.ecmascript.org/show_bug.cgi?id=76 2011-07-18 11:08:15 -07:00
David Fugate bda89b6452 https://bugs.ecmascript.org/show_bug.cgi?id=127 2011-07-18 10:59:06 -07:00
David Fugate 5b2de8816f https://bugs.ecmascript.org/show_bug.cgi?id=126 2011-07-18 10:29:23 -07:00
David Fugate 009262deba https://bugs.ecmascript.org/show_bug.cgi?id=128 2011-07-18 09:15:03 -07:00
David Fugate 383aaca3b1 https://bugs.ecmascript.org/show_bug.cgi?id=133 2011-07-18 09:05:23 -07:00
David Fugate 9eb6c8c2d2 15.4.4.15-3-14, 15.4.4.15-3-29, and 15.4.4.15-3-8 were disabled with no reason or bug given. These actually look OK,
and pass on all browsers...
2011-07-08 16:02:19 -07:00
David Fugate 58466ad144 Changed the website reported version number back to 0.7.5.2 (live website is at 0.7.5.1). 2011-07-07 14:43:28 -07:00
David Fugate 7ffad2be3e Several new Sputnik tests included:
if (!strict_mode) { throw new SyntaxError('unspecified case'); }

This doesn't work for a few reasons:
1.  'strict_mode' is undefined in the test case exeuction context. That is, the test framework
    does not force the test case into strict mode
2.  The test case code looks like:
	"use strict";
	if (!strict_mode) ...
        ...
    Note that 'strict_mode' is not set before being accessed

Really the metadata for these test cases should have a "@strict" property added to instruct the test
framework *not* to run the test if an implementation doesn't support strict mode.
2011-07-07 14:31:22 -07:00
David Fugate d848bcad16 Recent update from Sputnik has made S12.10_A3.3_T4 a valid ES5 test. Re-enabled 2011-07-07 13:42:04 -07:00
David Fugate a442fb1509 More Sputnik tests have been fixed and enabled. 2011-07-07 12:58:55 -07:00
David Fugate 314a8abb70 https://bugs.ecmascript.org/show_bug.cgi?id=12 is partially fixed. 2011-07-07 10:38:08 -07:00
David Fugate f3ed594ec4 https://bugs.ecmascript.org/show_bug.cgi?id=18 (IE Test Center tests only) 2011-07-07 10:10:32 -07:00
David Fugate c77066fc25 https://bugs.ecmascript.org/show_bug.cgi?id=118 2011-07-07 08:47:12 -07:00
David Fugate 6224968765 https://bugs.ecmascript.org/show_bug.cgi?id=120 2011-07-07 08:34:41 -07:00
David Fugate aa4b085528 https://bugs.ecmascript.org/show_bug.cgi?id=117
Disabled 9 invalid tests.
2011-07-06 11:00:55 -07:00
David Fugate 09ea4a8413 https://bugs.ecmascript.org/show_bug.cgi?id=61 2011-07-05 16:39:32 -07:00
David Fugate c8559941b2 https://bugs.ecmascript.org/show_bug.cgi?id=61 2011-07-05 16:36:04 -07:00
David Fugate a4a9057358 Added a reference to the new FAQ on the ES Wiki. 2011-07-01 14:18:35 -07:00
David Fugate 8b0704e64c https://bugs.ecmascript.org/show_bug.cgi?id=87 *should* in theory be fixed now. Need to test
on the live website to be sure.
2011-07-01 12:01:55 -07:00
David Fugate c0b6d37ba0 Added some missing copyright headers. 2011-06-30 14:33:50 -07:00
David Fugate 42b534663f Added a small script, InvalidTestDetector.py, to help detect test dependencies on DOM and
host objects (which make them invalid for test262).  Using this, I found one benign 'alert'
usage (it was never even called) and removed it.
2011-06-30 14:31:11 -07:00
David Fugate 4cbb71f6b0 An ActiveX test slipped into IE Test Center/test262 by mistake. Removed 2011-06-30 09:59:25 -07:00
David Fugate 254821616f Added a few missing test case descriptions. 2011-06-29 12:02:57 -07:00
David Fugate 0e187575b1 Regenerated website. 2011-06-29 11:30:40 -07:00
David Fugate b78c959d2a New Sputnik 'negative' metadata that included exception type was causing problems for SputnikConverter.
Took the easy fix and split the metadata into two: 'negative' and 'errortype'.
2011-06-29 11:11:12 -07:00
David Fugate c52161e734 Fixed Sputnik test 'path' metadata. 2011-06-29 10:04:15 -07:00
David Fugate dce7ac2a5e Converted Sputnik's latest test case push to test262 format. 2011-06-29 09:40:07 -07:00
David Fugate e182868bad Converted Sputnik's latest test case push to test262 format. 2011-06-29 09:38:48 -07:00
David Fugate b8a44856a4 Fixed 'assertion' and 'description' metadata formatting issues (WRT SputnikConverter). 2011-06-29 09:18:48 -07:00
David Fugate 47b14845af Merged remote changes. 2011-06-28 10:43:22 -07:00
David Fugate c4c4a8f977 Merged remote changes 2011-06-28 10:39:50 -07:00
David Fugate 0005b0b87b Merged remote changes 2011-06-28 10:36:30 -07:00
David Fugate e69a5fa68f Removed a test file created by Mark Miller to ensure his Hg account was working. 2011-06-28 09:41:53 -07:00
David Fugate febe8b348b Ported Sputnik changes over from the 'external' directory to 'test/suite/sputnik'. Still need to convert
the tests over to test262 format.
2011-06-27 16:20:31 -07:00
Mark Miller a7e6453c0e Adding new files from sputniktests r97 2011-06-27 08:58:09 -06:00
Mark Miller a230618291 Updating Google contribution to r97 of sputniktests. 2011-06-27 08:52:25 -06:00
Mark Miller 02e7fb9cfa Updating Google's contribution to r95 of Sputnik tests. 2011-06-23 15:53:59 -07:00
Mark Miller bcc15fd553 Initial contribution of r88 of Google's Sputnik tests 2011-06-23 15:37:18 -07:00
David Fugate 55855b285e Updated test262 with test case additions and edits from the PPB2 release of IE10. This included:
- 22 test case additions (mostly strict mode)
- 4 test case edits
2011-06-23 15:04:00 -07:00
Mark Miller dc18b7c435 testing hg access 2011-06-23 11:32:45 -07:00
David Fugate 9c0e7dd413 Test failures in the 'Run' tab now have a link to the test case's source
similar to the 'Results' tab.
2011-06-09 16:31:52 -07:00
David Fugate 33ba3d7621 Moved TEST_LIST_PATH from sth.js to default.html. 2011-06-07 09:48:10 -07:00
David Fugate c04a994e00 Added missing license header to TestCasePackager.py. Also, split
this module in two such that the configuration of the test case
packaging tool is separate from the implementation.
2011-06-02 15:41:54 -07:00
Mark Miller e18541dce5 test commit 2011-05-31 16:25:26 -07:00
David Fugate e3da78c009 Merge... 2011-05-31 13:47:26 -07:00
David Fugate 355ffd9d54 Fixed minor typo (see https://bugs.ecmascript.org/show_bug.cgi?id=74). 2011-05-31 13:42:12 -07:00