- From: <bugzilla@jessica.w3.org>
- Date: Fri, 06 Dec 2013 15:44:03 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24019
Bug ID: 24019
Summary: [Custom]: No way to associate class/constructor
function
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
Assignee: dglazkov@chromium.org
Reporter: arv@chromium.org
QA Contact: public-webapps-bugzilla@w3.org
Blocks: 14968
If I use a function as the argument to document.register, its @@create method
is not called when an instance is created.
class MyElement extends HTMLElement {
[Symbol.create]() {
console.log("never called :'(");
super();
}
}
MyElement = document.register('my-element', MyElement)
new MyElement;
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 6 December 2013 15:44:11 UTC