[Bug 22343] [Custom]: Need a function to retrieve a constructor (or prototype) by localName

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22343

--- Comment #12 from Dominic Cooney <dominicc@chromium.org> ---
(In reply to comment #11)
> Except it's not the constructor.

Yes. I guess these are Interface Objects, but getInterfaceObjectForTagName is
gross. What about:

HTMLElement.getPrototypeForTagName('div') ~> HTMLDivElement.prototype.

That should be 1:1; the name is nice, it is vaguely reminiscent of
Object.getPrototypeOf.

WDYT?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 24 June 2013 14:20:12 UTC