[webkit-changes] [WebKit/WebKit] e2748d: Add customElements.getName method

Ryosuke Niwa noreply at github.com
Sat Apr 22 12:27:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2748d7c56a29d295d71552e3d999d7b51ca037e
      https://github.com/WebKit/WebKit/commit/e2748d7c56a29d295d71552e3d999d7b51ca037e
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry.html
    M Source/WebCore/dom/CustomElementRegistry.cpp
    M Source/WebCore/dom/CustomElementRegistry.h
    M Source/WebCore/dom/CustomElementRegistry.idl

  Log Message:
  -----------
  Add customElements.getName method
https://bugs.webkit.org/show_bug.cgi?id=255778

Reviewed by Alexey Shvayka and Chris Dumez.

Implement https://github.com/whatwg/html/pull/9195 with test cases added in
https://github.com/web-platform-tests/wpt/pull/39640.

* LayoutTests/imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry.html:
* Source/WebCore/dom/CustomElementRegistry.cpp:
(WebCore::CustomElementRegistry::getName): Added.
* Source/WebCore/dom/CustomElementRegistry.h:
* Source/WebCore/dom/CustomElementRegistry.idl:

Canonical link: https://commits.webkit.org/263281@main




More information about the webkit-changes mailing list