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

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 the QA contact for the bug.

Received on Thursday, 31 May 2012 10:54:08 UTC