Performance.navigation

Not available to workers.
Although the interface of this feature is available to workers, this feature isn't.

概要

只读属性 Performance.navigation 会返回一个 PerformanceNavigation 对象。这个对象表示出现在当前浏览上下文的 navigation 类型,比如获取某个资源所需要的重定向次数。

语法

navObject = performance.navigation;

规范

Specification Status Comment
Navigation Timing
Performance.navigation
Recommendation Initial definition.

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

特性 Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 10 7.0 (7.0) 9.0 15 8
特性 Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support 未实现 (Yes) 7.0 (7.0) 1.0 (7.0) 9.0 未实现 9 (Yes)

相关链接

文档标签和贡献者

此页面的贡献者: Ende93, Pada, CeHOU
最后编辑者: Ende93,