-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: Fix checking for patchTarget
in initAdoptedStyleSheetObserver
#1327
fix: Fix checking for patchTarget
in initAdoptedStyleSheetObserver
#1327
Conversation
Calling `Object.getOwnPropertyDescriptor(undefined, 'xx')` actually errors out, so let's guard there.
🦋 Changeset detectedLatest commit: 3f6e65e The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hmm, when I run
|
Hmm not sure if the test failure is really related to this PR? 🤔 can't see how this should lead to failing tests 😅 |
@mydea This pull request is ready to go once you add the change set log |
I've re-run the tests just now Could you describe what was triggering the error? Presence of a 3rd party library? Or a particular browser version? Can you click on the "Click here if you're a maintainer who wants to add a changeset to this PR" link? Maybe you don't have permissions for that? |
Ah, that button worked! (Side note, is
We've had some users come up that they got errors captured from that line with exactly the error you'd expect if |
Calling
Object.getOwnPropertyDescriptor(undefined, 'xx')
actually errors out, so let's guard there. The types for this are bad, because it takesany
but actually fails on nullish objects 😬