Bug 307878

Summary: Calling upgrade on a candidate with a different registry erroneously upgrades the element
Product: WebKit Reporter: Steve Orvell <steveorvell>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 26   
Bug Depends on:    
Bug Blocks: 154907    
Attachments:
Description Flags
Unexpected custom element customization none

Steve Orvell
Reported 2026-02-13 18:08:41 PST
Created attachment 478345 [details] Unexpected custom element customization See the attached reproduction. When `registry2.upgrade` is called on an un-upgraded element defined in a different registry, the element unexpectedly upgrades.
Attachments
Unexpected custom element customization (878 bytes, text/html)
2026-02-13 18:08 PST, Steve Orvell
no flags
Radar WebKit Bug Importer
Comment 1 2026-02-20 18:09:11 PST
Ryosuke Niwa
Comment 2 2026-03-09 19:19:05 PDT
EWS
Comment 3 2026-03-09 23:35:14 PDT
Committed 308962@main (ca90cbd6ebfb): <https://commits.webkit.org/308962@main> Reviewed commits have been landed. Closing PR #60239 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.