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

Swallow getLayoutMap() error #2790

Merged
merged 4 commits into from
Sep 13, 2024
Merged

Conversation

damacisaac
Copy link
Contributor

@damacisaac damacisaac commented Jul 19, 2024

Fail gracefully when getLayoutMap() throws due to being run in an insecure context. We will fallback to the given fallback if this happens.

This fixes #2789

@damacisaac damacisaac changed the title Swallow getLayoutMap() bug Swallow getLayoutMap() error Jul 22, 2024
@damacisaac
Copy link
Contributor Author

damacisaac commented Aug 1, 2024

@neSpecc @gohabereg @TatianaFomina @ilyamore88, anyone available for a review? I've had to fork the repo in the meantime

@neSpecc
Copy link
Member

neSpecc commented Aug 1, 2024

@damacisaac thanks, I'll check it soon

@damacisaac damacisaac force-pushed the angus/upstream-fix branch 2 times, most recently from c577744 to fdf09c0 Compare August 1, 2024 18:12
@damacisaac
Copy link
Contributor Author

fixed the linting errors. should be good now

@damacisaac
Copy link
Contributor Author

@neSpecc could you trigger another run?

@damacisaac
Copy link
Contributor Author

Looks like a flakey attempt @neSpecc

@damacisaac
Copy link
Contributor Author

@TatianaFomina are you perhaps able to get this in? Sorry to push, just that we've had to implement some unsightly workarounds to get past this issue for the moment.

@neSpecc neSpecc self-assigned this Sep 10, 2024
@neSpecc neSpecc merged commit 2f9696a into codex-team:next Sep 13, 2024
4 checks passed
@damacisaac
Copy link
Contributor Author

Appreciate at it @neSpecc !

@damacisaac damacisaac deleted the angus/upstream-fix branch September 16, 2024 07:42
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.

Chrome error when EditorJs is loaded in an iframe
2 participants