-
Notifications
You must be signed in to change notification settings - Fork 167
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] Broken on Safari 18.4 #609
Comments
I've tested the code from master branch and the problem seems to be solved. If I'm not wrong, this #581 PR from @sorvell solves the issue, so technically we just need a new release. This WebKit/WebKit#39865 is the PR from Safari. |
Does someone have a more minimal test case? As far as I know Scoped Custom Element Registries is not enabled in 18.4 so I wonder why that would be the cause. |
@annevk I left a repro in the first post: |
I saw that, I meant without all the library code. |
Repro fails on Safari 18.4 beta: https://lit.dev/playground/#gist=86fda1412a8cde894575da93db30561f Putting |
I fixed the issue on this end, and it'll be out with the next release shortly. But @annevk the version of the polyfill with the problem is out in production. There will be broken sites, even after we release a fixed version here. |
Looks like this broke https://www.carmax.com/cars/toyota :( |
@rniwa We published the fix to npm. Do you have a contact at CarMax in case they need guidance on upgrading? |
The issue you fixed here we fixed in https://bugs.webkit.org/show_bug.cgi?id=286787 (I guess that hasn't made it yet into release) and is not the one that impacts CarMax I think. |
Description
Error thrown on Safari 18.4 at this line:
Example
Steps to reproduce
Repro: playground
Expected behavior
No error is thrown
Actual behavior
Error is thrown
Version
@webcomponents/scoped-custom-element-registry@0.0.9
Browsers affected
The text was updated successfully, but these errors were encountered: