W3C home > Mailing lists > Public > www-dom-ts@w3.org > September 2001

ECMAScript testing for Mozilla 0.9.3

From: Curt Arnold <carnold@houston.rr.com>
Date: Wed, 5 Sep 2001 21:54:42 -0500
Message-ID: <005801c1367f$48d2de10$a800a8c0@CurtMicron>
To: <www-dom-ts@w3.org>
Got Mozilla testing working.  Kinda kludgy, but it seems to work.

Mozilla doesn't support sychronous loading and would be pretty complicated to rework the tests to work asynchronously.  To work around this, a couple of test documents are loaded before the tests are initiated and test documents are loaded in anticipation of future use.  When there is not a test document already available, an message box is displayed to stall the tests until the test document is loaded.

Target dom1-core-gen-jsunit will build the tests, target dom1-core-jsunit-zip will build a zip file.  A copy of the zip file can be downloaded from http://home.houston.rr.com/curta/dom1-core-ecma.zip

To run the tests, load lib/jsunit/testRunner.html in either IE 5 or Mozilla 0.9.3.  Then select build/ecmascript/level1/core/alltests.html (will crash Mozilla) or mozsafe.html (eliminates 3 tests that crash Mozilla) and press run.

Quite a few tests will fail apparently since document.docType apparently returns null.  The tests will not work with Netscape 6.0 or Netscape 6.1.
Received on Wednesday, 5 September 2001 22:55:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:44 GMT