[Webkit-unassigned] [Bug 103423] New: Calling document.createEvent("TrackEvent") should throw a NOT_SUPPORTED_ERR error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 27 08:42:31 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103423

           Summary: Calling document.createEvent("TrackEvent") should
                    throw a NOT_SUPPORTED_ERR error.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://w3c-test.org/html/tests/submission/Opera/media/
                    interfaces/TrackEvent/createEvent.html
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graouts at apple.com
                CC: eric.carlson at apple.com,
                    webkit-bug-importer at group.apple.com


We're failing the Opera-submitted test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TrackEvent/createEvent.html.

We fail to throw the NOT_SUPPORTED_ERR error when calling document.createEvent('TrackEvent'). I believe this is a broader WebCore issue that we don't follow the latest DOM spec that this method should only be used for legacy events. See http://dom.spec.whatwg.org/#dom-document-createevent.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list