W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

[Bug 17268] New: Make createEvent only support the legacy interfaces

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 May 2012 10:54:01 +0000
To: www-dom@w3.org
Message-ID: <bug-17268-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17268

           Summary: Make createEvent only support the legacy interfaces
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@annevk.nl
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


[[
If eventInterfaceName is not an ASCII case-insensitive match for "event" or for
the name of an interface that inherits from the Event interface and is
supported by the user agent, throw a "NotSupportedError" and terminate these
steps.
]]

Supporting interfaces that don't have init*Event seems useless. I think the
spec should have a fixed list of supported interface strings (which would be
the same as the interfaces that have init*Event), and let new interfaces throw
NotSupportedError.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 31 May 2012 10:54:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT