Skip to content

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