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

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

            Bug ID: 22343
           Summary: [Custom]: Need a function to retrieve a constructor
                    (or prototoype) by localName
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: sjmiles@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14968

To produce a prototype chain that extends an arbitrary element to pass to
document.register requires (in the general case) that one create an instance of
the element to extend. 

This is slightly inefficient, but much worse is that instancing an element can
have unwanted side-effects.

I suggest we need something like `document.getConstructorForTag(tagName)`.

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

Received on Wednesday, 12 June 2013 19:06:08 UTC