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.mark() exists #2680

Merged
merged 2 commits into from Jun 18, 2020

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Jun 17, 2020

performance.mark() is not support by all the browsers we support, so we should check it exists before using it.

See: https://caniuse.com/#feat=mdn-api_performancemark

@AbhiPrasad AbhiPrasad force-pushed the abhi/feat/check-performance-mark branch from f54cc07 to b8d1e9c Compare June 17, 2020 20:07
@AbhiPrasad AbhiPrasad marked this pull request as ready for review June 17, 2020 20:07
@getsentry-bot
Copy link
Contributor

getsentry-bot commented Jun 17, 2020

Messages
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 17.0986 kB) (ES6: 16.1699 kB)

📖 ✅ TSLint passed

Generated by 🚫 dangerJS against f695b4e

@AbhiPrasad AbhiPrasad force-pushed the abhi/feat/check-performance-mark branch from 7653990 to b0655ee Compare June 18, 2020 13:41
@AbhiPrasad AbhiPrasad merged commit 7f74693 into master Jun 18, 2020
@AbhiPrasad AbhiPrasad deleted the abhi/feat/check-performance-mark branch June 18, 2020 18:19
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

3 participants