W3C home > Mailing lists > Public > www-dom-ts@w3.org > April 2005

ECMAScript harness work

From: Curt Arnold <carnold@houston.rr.com>
Date: Tue, 19 Apr 2005 02:47:50 -0500
Message-Id: <8fa3599c2d24d091f0028edbb948b7a5@houston.rr.com>
To: www-dom-ts@w3.org

I logged two bug reports 
(http://www.w3.org/Bugs/Public/show_bug.cgi?id=1254 and 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1255) which both involve 
aspects of the ECMAScript harness support for DOM L3 L&S that were 
flawed or missing since there was no L&S implementation available at 
the time.  I've committed changes against both of those reports and the 
current code should be substantially more functional, however it does 
need additional work.

The various versions of alltests.html provided for a choice of the 
mechanism for loading the test documents (IFrame, Mozilla, MSXML etc).  
The DOM L3 L&S option was placed in the list with good intentions , but 
it was untested.  I've modified it so it can be used with the L&S 
implementation in the Opera 8 beta.  For example, you can load 
alltests.html from the DOM L1 Core test suite, select LS in the first 
column and press run, then all the L1 Core tests will be run against 
documents loaded using L&S.  Ideally this would result in the same 
results as loading the test documents though any other means, however 
if there were an ideal world, we would not need tests.

LS tests introduced a framework function getResourceURI() which 
generates an absolute URI for a test document.  The method had been 
implemented in the Java framework, but in the ECMAScript frameworks.  I 
changed the generated test code to more closely correspond to the 
generated Java test code and implemented the missing functions.

There are other code generation issues (suppression of tests involving 
LSInput.characterStream, for example) that I will investigate over the 
next few days.

I've updated the unofficial dom1-core, dom2-core, dom3-core and dom3-ls 
tarballs at http://homepage.mac.com/curt.arnold (after looking at the 
wildflowers at Death Valley, select Graphite File Sharing from the menu 
at the top).
Received on Tuesday, 19 April 2005 07:47:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:07 UTC