Skip to content

Add feature detects to support Opera mini in extreme data saver mode #186

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

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

philipwalton
Copy link
Member

Fixes #185.

This PR adds a check for window.performance before any reference of the performance in the top-level execution stack of any of the main, exported functions. This will ensure that browsers that don't support the performance object at all will not error when the methods are called.

The PR also removes the usage of Set given that Opera mini in extreme data saver mode doesn't support that either.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
penguinpee Sandro
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.

v1.1.2 or later can crash apps on Opera Mini extreme data saving mode
1 participant