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.
Pull request: https://github.com/WebKit/WebKit/pull/13053
Committed 263281@main (e2748d7c56a2): <https://commits.webkit.org/263281@main> Reviewed commits have been landed. Closing PR #13053 and removing active labels.
<rdar://problem/108411398>
Pardon my ping of a closed bug, but I just tried to run the (not yet merged) WPTs from this patch on Safari Preview 171, and they aren't passing. I get this failure for all of the tests: assert_equals: expected (object) null but got (undefined) undefined Is this expected?
(In reply to Thomas Wisniewski [:twisniewski] from comment #4) > Pardon my ping of a closed bug, but I just tried to run the (not yet merged) > WPTs from this patch on Safari Preview 171, and they aren't passing. I get > this failure for all of the tests: > > assert_equals: expected (object) null but got (undefined) undefined > > Is this expected? Yes, that's expected. That semantics changed after I had landed WebKit code change. Will update WebKit's implementation shortly.