Skip to content
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

[scoped-custom-element-registry] Fix TypeError in WebKit #611

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

justinfagnani
Copy link
Collaborator

@justinfagnani justinfagnani commented Feb 26, 2025

WebKit's prototype native scoped elements registry doesn't like getting a registry key in attachShadow().

The previous state did attempt to remove registry, but the key was getting renamed by Closure.

Fixes #609

This PR also updates Playwright and enables WebKit Playwright tests in the scoped-custom-element-registry package. Other repo tests are failing on CI, so CI isn't any help here. The scoped-custom-element-registry package tests are passing locally for me.

edit: I should have noted that WebKit had 23 test failures before the fix. All passing after the fix.

WebKit's prototype native scoped elements registry doesn't like getting a `registry` object in attachShadow().

The previous state did attempt to remove `registry`, but the key was getting renamed by Closure.
Copy link

Important

The terms of service for this installation has not been accepted. Please ask the Organization owners to visit the Gemini Code Assist Admin Console to sign it.

@justinfagnani justinfagnani merged commit 5740286 into master Feb 26, 2025
5 of 10 checks passed
@justinfagnani justinfagnani deleted the fix-scer-webkit branch February 26, 2025 18:56
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] Broken on Safari 18.4
2 participants