[Webkit-unassigned] [Bug 68113] New: dispatchEvent fails on custom components

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 14 13:50:46 PDT 2011


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

           Summary: dispatchEvent fails on custom components
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: dglazkov at chromium.org, dominicc at chromium.org
            Blocks: 59803


This depends on some of the component model patches.

function Foo() {
  HTMLElement.call(this);
}
Foo.prototype = Object.create(HTMLElement.prototype);
HTMLElement.register('x-foo', Foo);

...

document.querySelector('x-foo').dispatchEvent(new Event('bar'))

throws TypeError: Illegal invocation

-- 
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