- From: <bugzilla@jessica.w3.org>
- Date: Fri, 21 Dec 2012 23:56:46 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20486 Bug ID: 20486 Summary: [Custom]: Prototype don't inherit from interfaces Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglazkov@chromium.org Reporter: bzbarsky@mit.edu QA Contact: public-webapps-bugzilla@w3.org Blocks: 14968 "Otherwise, if PROTOTYPE does not inherit from the HTMLElement interface, throw a TypeMismatchError exception." In the text above, PROTOTYPE is some random object. It makes no sense to talk about it inheriting from a WebIDL interface; the "inherit" concept linked to in WebIDL there is largely a syntactic construct. Presumably what you actually want to check here is that the prototype chain of PROTOTYPE includes HTMLElement.prototype. Note that even if this is true at register() call time it can stop being true later, but that's life. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 21 December 2012 23:56:48 UTC