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 1138 - test-to-ecmascript does not catch improper use of EventMonitor, etc
Summary: test-to-ecmascript does not catch improper use of EventMonitor, etc
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 05:23 UTC by Curt Arnold
Modified: 2005-03-02 05:36 UTC (History)
0 users

See Also:


Attachments

Description Curt Arnold 2005-03-02 05:23:23 UTC
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.

-        		<xsl:when test="@var != 'monitor'">
+        		<xsl:when test="@name != 'monitor'">
        			<xsl:message>EventMonitors must be named monitor</xsl:message>