Skip to content

Conversation

@joshkel
Copy link

@joshkel joshkel commented Apr 19, 2023

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Visibility change events may cause unhandled rejection errors. This creates extra console noise and may trigger spurious errors in error-reporting services like Sentry.

Breaking Changes

None.

Additional Info

I believe that NoSleep.js should suppress any errors thrown from visibility change events, since there isn't anything that callers can do about them.

Visibility change events could result in unhandled rejection errors.  I believe that NoSleep.js should suppress them, since there isn't anything that callers can do about it.
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.

1 participant