<?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>1138</bug_id>
          
          <creation_ts>2005-03-02 05:23:23 +0000</creation_ts>
          <short_desc>test-to-ecmascript does not catch improper use of EventMonitor, etc</short_desc>
          <delta_ts>2005-03-02 05:36:45 +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>Macintosh</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="Curt Arnold">carnold</reporter>
          <assigned_to name="Curt Arnold">carnold</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4093</commentid>
    <comment_count>0</comment_count>
    <who name="Curt Arnold">carnold</who>
    <bug_when>2005-03-02 05:23:23 +0000</bug_when>
    <thetext>EventMonitor was intended to only be associated with a variable named monitor (DOMErrorMonitor and 
UserDataMonitor should be named errorMonitor and userDataMonitor respectively).  The code in the 
transform that attempted to check this was improperly coded and would not detect improper use.

-        		&lt;xsl:when test=&quot;@var != &apos;monitor&apos;&quot;&gt;
+        		&lt;xsl:when test=&quot;@name != &apos;monitor&apos;&quot;&gt;
        			&lt;xsl:message&gt;EventMonitors must be named monitor&lt;/xsl:message&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>