This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21219 - [Custom]: document.register() should allow aliases of same prototype object.
Summary: [Custom]: document.register() should allow aliases of same prototype object.
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18720
  Show dependency treegraph
 
Reported: 2013-03-08 08:49 UTC by Morrita Hajime
Modified: 2013-04-22 23:07 UTC (History)
0 users

See Also:


Attachments

Description Morrita Hajime 2013-03-08 08:49:10 UTC
Current document.register() definition [1]
guarantees that one prototype object has at most one element name.

Gowever, it can be tricky for implementors to ensure
the uniqueness of the prototype object.
Identities of JavaScript objects are fragile in C++ world - They are moving!

In my opinion, this relaxation is acceptable because HTMLElement, for example,
has multiple names.

[1] https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#extensions-to-document-interface
Comment 1 Dimitri Glazkov 2013-04-22 23:06:56 UTC
Okay.
Comment 2 Dimitri Glazkov 2013-04-22 23:07:49 UTC
https://dvcs.w3.org/hg/webcomponents/rev/5c81755dcdf5