WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
68113
dispatchEvent fails on custom components
https://bugs.webkit.org/show_bug.cgi?id=68113
Summary
dispatchEvent fails on custom components
Erik Arvidsson
Reported
2011-09-14 13:50:45 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Dominic Cooney
Comment 1
2011-11-20 18:29:14 PST
The prototype that exhibited this bug is an evolutionary dead-end, so ditching this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug