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

Handle errors when observing iframes #1058

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

mydea
Copy link
Contributor

@mydea mydea commented Nov 25, 2022

Currently, any errors in setting up the observers etc. are caught and logged out via console.warn. However, when the setup is done for any iframes, they are not caught. This can lead to errors popping up for users when e.g. some iframe have a weird setup.

This PR ensures the handling is the same for setting up observers in iframes.

Closes #1057

@mydea mydea force-pushed the handle-errors-observe-iframe branch from 71972e7 to bb830f7 Compare November 25, 2022 10:53
@mydea
Copy link
Contributor Author

mydea commented Dec 5, 2022

I think the failing test is not related to this PR? Could you re-run it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Error with window.CSSStyleSheet being undefined in iframes
3 participants