PerformanceObserver.supportedEntryTypes provides a way to feature-detect the PerformanceEntry types that are implemented in a web browser. The types are sorted alphabetically. For example, a developer running this in Chrome could get something like this in the console: PerformanceObserver.supportedEntryTypes // Output is: ["longtask", "mark", "measure", "navigation", "paint", "resource"]
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 73
- Chrome for Android release 73
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
Last updated on 2020-11-09