<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5227</bug_id>
          
          <creation_ts>2007-10-26 07:00:05 +0000</creation_ts>
          <short_desc>test-to-jsunit.xsl and test-to-selfhtml.xsl make setUpPage function overwrite itself</short_desc>
          <delta_ts>2007-11-24 11:52:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>DOM TS</product>
          <component>ECMAScript Binding</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Philippe Le Hegaret">plh</assigned_to>
          <cc>renselp</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17434</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-10-26 07:00:05 +0000</bug_when>
    <thetext>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 = &apos;running&apos;;
...
       if (docsLoaded == &lt;xsl:value-of select=&quot;count($loads)&quot;/&gt;) {
          setUpPage = &apos;complete&apos;; &lt;-- HERE
       }
    } catch(ex) {
        catchInitializationError(builder, ex);
        setUpPage = &apos;complete&apos;; &lt;-- HERE
    }

In the two cases above, setUpPage should be replaced with setUpPageStatus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17607</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Hansen">renselp</who>
    <bug_when>2007-11-06 13:08:39 +0000</bug_when>
    <thetext>Ping.

This issue affects thousands of test cases and it seems like something that should be straightforward to fix.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17726</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Hansen">renselp</who>
    <bug_when>2007-11-15 06:23:47 +0000</bug_when>
    <thetext>PING</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17727</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2007-11-15 13:41:51 +0000</bug_when>
    <thetext>PONG.
Sorry, kind of overloaded right now. Will look into this in the next days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17730</commentid>
    <comment_count>4</comment_count>
    <who name="Christian Hansen">renselp</who>
    <bug_when>2007-11-15 14:51:41 +0000</bug_when>
    <thetext>Thank you.  Sorry to be a pain in the a** about it but I thought it deserved attention.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>