Skip to content

Add reportError polyfill #33

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

Closed
mattcosta7 opened this issue Jun 14, 2023 · 1 comment
Closed

Add reportError polyfill #33

mattcosta7 opened this issue Jun 14, 2023 · 1 comment

Comments

@mattcosta7
Copy link
Member

See https://github.com/github/github/pull/276314#discussion_r1230071057

We use window#reportError a few places in github/github however
https://developer.mozilla.org/en-US/docs/Web/API/reportError is not available in some places in safari.

We should probably poiyfill this to the extent we can

@keithamus
Copy link
Contributor

Looks like time has beaten us to this one, and Safari 15.4 (our minimum supported version) now supports reportError.

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

No branches or pull requests

2 participants