Chromium Code Reviews| Index: third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.idl |
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.idl b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f7a007cc5fcc2de41d46f875160807b8c51ad22d |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.idl |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// 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.
|
| + |
| +enum NavigationType { |
| + "navigate", |
| + "reload", |
| + "back_forward", |
| + "prerender" |
| +}; |
| + |
| +interface PerformanceNavigationTiming : PerformanceResourceTiming { |
| + readonly attribute DOMHighResTimeStamp unloadEventStart; |
| + readonly attribute DOMHighResTimeStamp unloadEventEnd; |
| + readonly attribute DOMHighResTimeStamp domInteractive; |
| + readonly attribute DOMHighResTimeStamp domContentLoadedEventStart; |
| + readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd; |
| + readonly attribute DOMHighResTimeStamp domComplete; |
| + readonly attribute DOMHighResTimeStamp loadEventStart; |
| + readonly attribute DOMHighResTimeStamp loadEventEnd; |
| + readonly attribute NavigationType type; |
| + readonly attribute unsigned short redirectCount; |
| + serializer = {inherit, attribute}; |
| +}; |