WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
299669
elements with a custom customElementRegistry can fail to upgrade
https://bugs.webkit.org/show_bug.cgi?id=299669
Summary
elements with a custom customElementRegistry can fail to upgrade
Steve Orvell
Reported
2025-09-27 13:17:48 PDT
If an element is created with a constructed customElementRegistry, then connected to the document, then defined in its registry, it fails to upgrade. It remains un-upgraded even if `el.customElementRegistry.upgrade(el)` is called. However, if the element is defined *before* being connected, it upgrades successfully. See reproduction:
https://codepen.io/Steve-Orvell/pen/GgooEqG?editors=1000
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-04 13:18:10 PDT
<
rdar://problem/161964159
>
Radar WebKit Bug Importer
Comment 2
2025-10-04 13:18:10 PDT
<
rdar://problem/161964115
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug