Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca90cbd6ebfb976906a3ff19248e2ab5a7fb2065
      
https://github.com/WebKit/WebKit/commit/ca90cbd6ebfb976906a3ff19248e2ab5a7fb2065
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

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

  Log Message:
  -----------
  Calling upgrade on a candidate with a different registry erroneously upgrades 
the element
https://bugs.webkit.org/show_bug.cgi?id=307878
rdar://170846743

Reviewed by Chris Dumez.

The bug was caused by the missing check for registry identity check. Fixed the 
bug by adding one.

Test: 
imported/w3c/web-platform-tests/custom-elements/registries/CustomElementRegistry-upgrade.html

* 
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/CustomElementRegistry-upgrade-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/CustomElementRegistry-upgrade.html:
* Source/WebCore/dom/CustomElementRegistry.cpp:
(WebCore::CustomElementRegistry::upgrade):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to