- From: <bugzilla@jessica.w3.org>
- Date: Thu, 13 Jun 2013 11:07:32 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22343
Dominic Cooney <dominicc@chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dominicc@chromium.org
--- Comment #1 from Dominic Cooney <dominicc@chromium.org> ---
This sounds reasonable to me. So the proposal is
partial interface Document {
any getConstructorForTag(DOMString tag);
}
?
Is there a more precise type for these than "any"?
I assume this returns constructors for registered custom elements? Does that
present any problems for people using Custom Elements with ES6 classes?
What does it do if there's no such tag? Raise NotFoundError? Return
HTMLUnknownElement?
What about accessing SVG element constructors?
Just out of curiosity--why constructors and not prototypes?
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 13 June 2013 11:07:34 UTC