RESOLVED DUPLICATE of bug 67248 Bug 62039
CustomEvent interface not exposed on view
https://bugs.webkit.org/show_bug.cgi?id=62039
Summary CustomEvent interface not exposed on view
Eli Grey (:sephr)
Reported 2011-06-03 12:29:12 PDT
The CustomEvent interface should be exposed on the view, like Event, UIEvent, etc.
Attachments
Kenneth Rohde Christiansen
Comment 1 2011-06-05 08:47:35 PDT
Do you have a lionk to the spec that says it has to be exposed on the view?
Eli Grey (:sephr)
Comment 2 2011-06-05 11:37:41 PDT
No, it's not part of a spec, it's part of the de-facto standard of exposing most DOM interfaces so people can extend them for things such as implementing features for compatibility with future APIs and to use for feature detection, in the case of events (if (self.CustomEvent) { ... }).
Alexey Proskuryakov
Comment 3 2011-06-05 13:05:33 PDT
<http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#webidl-events-CustomEvent> doesn't have a [NoInterfaceObject] attribute, which per WebIDL spec means that the interface object should be exposed on the global object. This is in an informative part of the spec, and I don't know if there is anything normative, but we certainly follow the practice of exposing interface objects on DOMWindow in general.
Kenneth Rohde Christiansen
Comment 4 2011-06-05 13:14:31 PDT
OK, great. Thanks for the explanation.
Alexey Proskuryakov
Comment 5 2011-08-31 10:23:20 PDT
This got fixed yesterday. *** This bug has been marked as a duplicate of bug 67248 ***
Note You need to log in before you can comment on or make changes to this bug.