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

Safari supports FCP but does not support the buffered flag #144

Closed
philipwalton opened this issue May 4, 2021 · 0 comments · Fixed by #145
Closed

Safari supports FCP but does not support the buffered flag #144

philipwalton opened this issue May 4, 2021 · 0 comments · Fixed by #145
Assignees

Comments

@philipwalton
Copy link
Member

In Safari 14.1, the Paint Timing API is now supported, but use with PerformanceObserver and the buffered flag is not. See Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=225305

This library can work around this issue by checking performance.getEntriesByName('first-contentful-paint') first before registering the PerformanceObserver.

Related issue: #139

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 a pull request may close this issue.

1 participant