Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://www.w3.org/TR/navigation-timing-2/#sec-PerformanceNavigationTiming | |
|
Rick Byers
2016/11/21 19:05:01
nit: please use the living link: https://w3c.githu
sunjian
2016/11/21 21:25:17
Done.
| |
| 6 | |
| 7 enum NavigationType { | |
| 8 "navigate", | |
| 9 "reload", | |
| 10 "back_forward", | |
| 11 "prerender" | |
| 12 }; | |
| 13 | |
| 14 interface PerformanceNavigationTiming : PerformanceResourceTiming { | |
| 15 readonly attribute DOMHighResTimeStamp unloadEventStart; | |
| 16 readonly attribute DOMHighResTimeStamp unloadEventEnd; | |
| 17 readonly attribute DOMHighResTimeStamp domInteractive; | |
| 18 readonly attribute DOMHighResTimeStamp domContentLoadedEventStart; | |
| 19 readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd; | |
| 20 readonly attribute DOMHighResTimeStamp domComplete; | |
| 21 readonly attribute DOMHighResTimeStamp loadEventStart; | |
| 22 readonly attribute DOMHighResTimeStamp loadEventEnd; | |
| 23 readonly attribute NavigationType type; | |
| 24 readonly attribute unsigned short redirectCount; | |
| 25 serializer = {inherit, attribute}; | |
| 26 }; | |
| OLD | NEW |