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 buggy implementations of the Performance API #5299

Merged
merged 1 commit into from
Jul 4, 2022
Merged

Commits on Jul 4, 2022

  1. fix: handle Performance API bugs

    Many errors have started showing in Sentry since
    the island performance changes have been introduced:
    
    CLIENT-SIDE-PROD-CTP6
    
    We now make guard against these three `performance.` cases:
    - the browser does not support `getEntriesByName`
    - the browser does not return a PerformanceEntry from `mark` & `measure`
    - no PerformanceEntry was found when running `getEntriesByName`
    mxdvl committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    d32004d View commit details
    Browse the repository at this point in the history