Skip to content

[scoped-custom-element-registry] Safari Tech Preview 214 fix #614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 1, 2025

Conversation

sorvell
Copy link
Collaborator

@sorvell sorvell commented Feb 28, 2025

Fixes #613

Setting shadowRoot.customEments = registry generates an exception because the native implementation does not have a setter. This fix defines the property instead of setting it.

Note, we cannot easily run tests against this version of Safari, but this PR was locally tested to fix the issue on Safari Tech Preview 214.

@sorvell sorvell requested review from justinfagnani and removed request for aomarks and bicknellr February 28, 2025 15:55
@sorvell sorvell merged commit 16a0a1e into master Mar 1, 2025
6 of 10 checks passed
@sorvell sorvell deleted the safari-tp-214-fix branch March 1, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[scoped-custom-element-registry] Safari Tech Preview 214 breaks polyfill
2 participants