PerformanceNavigation object
Provides timing information regarding the navigation tasks for the current webpage.
Syntax
window.performance.navigation
DOM Information
Inheritance Hierarchy
The PerformanceNavigation does not inherit from any class or interface.Members
The PerformanceNavigation object has these types of members:
Properties
The PerformanceNavigation object has these properties.
| Property | Description |
|---|---|
|
The redirectCount property must return the number of redirects since the last non-redirect navigation under the current browsing context. If there is no redirect or there is any redirect that is not from the same origin as the destination document, this property must return zero. | |
|
The type property must return the type of the last non-redirect navigation in the current browsing context. |
Standards information
- Navigation Timing, Section 4.3
Remarks
The performanceNavigation object provides two attributes:
The performanceTiming object is created when a page navigation occurs. You can get a reference to the performanceTiming object by calling the performance.timing property.