This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5227 - test-to-jsunit.xsl and test-to-selfhtml.xsl make setUpPage function overwrite itself
Summary: test-to-jsunit.xsl and test-to-selfhtml.xsl make setUpPage function overwrite...
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 07:00 UTC by Alexey Proskuryakov
Modified: 2007-11-24 11:52 UTC (History)
1 user (show)

See Also:


Attachments

Description Alexey Proskuryakov 2007-10-26 07:00:05 UTC
From http://bugs.webkit.org/show_bug.cgi?id=15690.

There is an apparent typo in setUpPage function that makes failing tests look as if they passed:

function setUpPage() {
   setUpPageStatus = 'running';
...
       if (docsLoaded == <xsl:value-of select="count($loads)"/>) {
          setUpPage = 'complete'; <-- HERE
       }
    } catch(ex) {
        catchInitializationError(builder, ex);
        setUpPage = 'complete'; <-- HERE
    }

In the two cases above, setUpPage should be replaced with setUpPageStatus.
Comment 1 Christian Hansen 2007-11-06 13:08:39 UTC
Ping.

This issue affects thousands of test cases and it seems like something that should be straightforward to fix.
Comment 2 Christian Hansen 2007-11-15 06:23:47 UTC
PING
Comment 3 Philippe Le Hegaret 2007-11-15 13:41:51 UTC
PONG.
Sorry, kind of overloaded right now. Will look into this in the next days.
Comment 4 Christian Hansen 2007-11-15 14:51:41 UTC
Thank you.  Sorry to be a pain in the a** about it but I thought it deserved attention.