← Back to release summary

PerformanceObserver supportedEntryTypes

Category
Performance
Type
New or changed feature
Status
Enabled by default (Chrome 73)
Intent stage
None

Summary

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"]

Standards & signals

View on chromestatus.com