Skip to content

fix(console-catcher): handle stringify error#125

Merged
neSpecc merged 1 commit intomasterfrom
fix-strignify
May 22, 2025
Merged

fix(console-catcher): handle stringify error#125
neSpecc merged 1 commit intomasterfrom
fix-strignify

Conversation

@neSpecc
Copy link
Copy Markdown
Member

@neSpecc neSpecc commented May 22, 2025

Handle error that can be thrown by 'safe-stringify' when browser does not allow to stringify argument for security reasons:

SecurityError: Failed to read a named property 'toJSON' from 'Window': Blocked a frame with origin "https://codex.so" from accessing a cross-origin frame.

@neSpecc neSpecc merged commit 1cb5ec6 into master May 22, 2025
2 checks passed
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.

2 participants