RE: Running HTML L2 with Mozilla 0.9.9 and later

Thanks Rick.  

That appears to mean that anchor.xml isn't loaded until after the first test
has completed.  This might be the same problem that causes Mozilla to have
slightly different results for the DOM L1 Core tests.  In that case, the
test failure count would only vary by +/- 1, but then the DOM L1 Core tests
only loaded one XML document and the HTML tests load 20 or so.

You might try editing alltests.html and take the first test of each "family"
and duplicating it and calling the first one something like,
"testHTMLAnchorElementXX" and run the test again and ignore any test
failures on the XX tests.  That should at least clarify which tests are
really failing and which ones might be being run before the document has
been completely loaded.

Fixing the problem will require taking advantage of the pretest hook that
Bob Clary was adding to JSUnit or finally getting the custom runner working.


> -----Original Message-----
> From: Rick Rivello [mailto:richard.rivello@nist.gov] 
> Sent: Friday, April 05, 2002 12:26 PM
> To: Curt Arnold; www-dom-ts@w3.org
> Subject: Re: Running HTML L2 with Mozilla 0.9.9 and later
> 
> 
> Here's the results from running the tests
> on Mozilla 0.9.9. 
> __________________________________________________________
> 
> I first ran  HTMLAnchorElement01 test by itself
> and got the error: 
> 
>  "Asize"
> Expected 1 (number) but was 0 (number) 
> ___________________________________________________________
> 
> I then put two entries in the alltests.xml file 
> HTMLAnchorElement01 and HTMLAnchorElement02.
> 
> I still got the same error as above for HTMLAnchorElement01
> and HTMLAnchorElement02 ran successfully. 
> ____________________________________________________________
>  
> I then ran the same two tests again changing the order in the 
> alltests.xml file. HTMLAnchorElement02 first and 
> HTMLAnchorElement01 second.
> 
> This time HTMLAnchorElement02 received the Asize error and 
> HTMLAnchorElement01 ran successfully.
> 
> 
> 
> Rick
> 
> ----- Original Message ----- 
> From: "Curt Arnold" <carnold@houston.rr.com>
> To: <www-dom-ts@w3.org>
> Sent: Friday, April 05, 2002 10:54 AM
> Subject: Re: Running HTML L2 with Mozilla 0.9.9 and later
> 
> 
> > Rick wrote:
> > This error looks similar to what was happening with some of 
> the tests 
> > in IE. It fails the Asize check for HTMLAnchorElement01 and 
> passes the 
> > Asize check for HTMLAnchorElement02.  Both tests are using the same 
> > file so I don't understand why one would pass and one would fail.
> > 
> > Do they fail when run in isolation?  I don't have time to 
> check right 
> > now. If they work in isolation, but fail in when run in the 
> suite, a 
> > test might be lying about whether it modifies its test 
> document and a 
> > subsequent test gets a corrupted test document.
> > 
> > 
> > 
> 

Received on Friday, 5 April 2002 15:01:27 UTC