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

fix(apm): check if performance.getEntries() exists #2710

Merged

Conversation

suke
Copy link
Contributor

@suke suke commented Jun 30, 2020

performance.getEntries() is not supported by some browsers, so we need to check that it is exists before use it.
see: https://caniuse.com/#feat=mdn-api_performance_getentries

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

@suke suke requested a review from kamilogorek as a code owner June 30, 2020 13:25
@kamilogorek kamilogorek merged commit e7a91d9 into getsentry:master Jun 30, 2020
@kamilogorek
Copy link
Contributor

Thanks!

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.

None yet

2 participants