Add customElements.getName method
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: mozilla, Assigned: mozilla)
Details
Attachments
(1 file)
Steps to reproduce:
I'm not sure if this is the right issue template, but I am trying to file implementer issues to get customElements.getName()
defined. As a result of the WCCG F2F, the CG is interested in pursuing a method to get the name of a defined element. This is the result of that meeting. See https://github.com/WICG/webcomponents/issues/566 and https://github.com/whatwg/html/pull/9195 for more.
Updated•2 years ago
|
Comment 1•1 years ago
|
||
Thank you for submitting this report.
Setting this as NEW in order to involve the development team and get an opinion on this.
Assignee | ||
Comment 2•1 year ago
|
||
I've tried formulating a patch for this but I'm a little stuck because I believe I'll need JSContext* aCx
but I can't seem to figure out what the IDL or definition should look like for Codegen.py to generate the correct bindings
Assignee | ||
Comment 3•1 year ago
|
||
This adds the new customElements.getName method which takes a constructor
and returns string if the definition has been registered, otherwise null.
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1838986 and https://bugzilla.mozilla.org/show_bug.cgi?id=1837536 add the web platform tests.
Comment 6•1 year ago
|
||
bugherder |
Description
•