This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
PerformanceNavigationTiming interface provides methods and properties to store and retrieve
high resolution timestamps or metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.
PerformanceEntry.entryType- Set to "
PerformanceEntry.name- Set to the
PerformanceEntry.startTime- Set to a
timestampwith a value of "
PerformanceEntry.duration- Set to the
timestampthat is the difference between the
DOMHighResTimeStamprepresenting a time value equal to the time immediately before the browser sets the current document readiness of the current document to complete.
DOMHighResTimeStamprepresenting the time value equal to the time immediately after the current document's DOMContentLoaded event completes.
DOMHighResTimeStamprepresenting the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document.
timestamprepresenting the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive.
DOMHighResTimeStamprepresenting the time when the load event of the current document is completed.
DOMHighResTimeStamprepresenting the time value equal to the time immediately before the load event of the current document is fired.
- A number representing the number of redirects since the last non-redirect navigation under the current browsing context.
stringrepresenting the navigation type. Must be: "
back_forward" or "
DOMHighResTimeStamprepresenting the time value equal to the time immediately after the user agent finishes the unload event of the previous document.
DOMHighResTimeStamprepresenting the time value equal to the time immediately before the user agent starts the unload event of the previous document.
- Returns a
DOMStringthat is the JSON representation of the
|Navigation Timing Level 2
The definition of 'PerformanceNavigationTiming' in that specification.
|Editor's Draft||Initial definition.|
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support.||57||(Yes)||No support||No support||44||No support|
|Feature||Android Webview||Chrome for Android||Edge||Firefox Mobile (Gecko)||Firefox OS||IE Phone||Opera Mobile||Safari Mobile|
|Basic support.||57||57||(Yes)||No support||No support||No support||44||No support|