Summary: | Calling document.createEvent("TrackEvent") should throw a NOT_SUPPORTED_ERR error. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <graouts> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | abarth, ahmad.saleem792, annevk, eric.carlson, graouts, ian, webkit-bug-importer, webkit |
Priority: | P2 | Keywords: | InRadar, WPTImpact |
Version: | Safari 9 | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://w3c-test.org/dom/nodes/Document-createEvent.html |
Description
Antoine Quint
2012-11-27 08:44:44 PST
http://dom.spec.whatwg.org/#dom-document-createevent says that we should be able to create any sort of supported event via this API. Adam, I think you're misreading the algorithm. (Though I don't really understand why it's specced that way.) Ah, yes. Thanks. That's quite different from the behavior we have currently. Still not spec compliant. Relevant, more general DOM testcase: http://w3c-test.org/dom/nodes/Document-createEvent.html Corresponding Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=569690 Mass move bugs into the DOM component. If I go by TextTrack - https://wpt.fyi/results/html/semantics/embedded-content/media-elements/interfaces/TrackEvent/createEvent.html?label=master&label=experimental&aligned=&q=createevent ^ Safari Technology Preview 180 is passing above. If I go by 'DOM', we have following now on WPT: https://wpt.fyi/results/dom?label=master&label=experimental&aligned=&q=createevent ^ In above, Safari / WebKit is still failing few test cases. This particular instance was fixed at the end of 2015 by Darin. *** This bug has been marked as a duplicate of bug 151931 *** |