Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceTiming.idl

Issue 2509143002: Add Prerender type to NavigationType for nav timing 2 (Closed)
Patch Set: synced client Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceTiming.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 // https://w3c.github.io/navigation-timing/#the-performancetiming-interface 31 // https://w3c.github.io/navigation-timing/#the-performancetiming-interface
32 32
33 // Legacy support for NT1(https://www.w3.org/TR/navigation-timing/).
34
33 [ 35 [
34 Exposed=Window, 36 Exposed=Window,
35 ] interface PerformanceTiming { 37 ] interface PerformanceTiming {
36 readonly attribute unsigned long long navigationStart; 38 readonly attribute unsigned long long navigationStart;
37 readonly attribute unsigned long long unloadEventStart; 39 readonly attribute unsigned long long unloadEventStart;
38 readonly attribute unsigned long long unloadEventEnd; 40 readonly attribute unsigned long long unloadEventEnd;
39 readonly attribute unsigned long long redirectStart; 41 readonly attribute unsigned long long redirectStart;
40 readonly attribute unsigned long long redirectEnd; 42 readonly attribute unsigned long long redirectEnd;
41 readonly attribute unsigned long long fetchStart; 43 readonly attribute unsigned long long fetchStart;
42 readonly attribute unsigned long long domainLookupStart; 44 readonly attribute unsigned long long domainLookupStart;
43 readonly attribute unsigned long long domainLookupEnd; 45 readonly attribute unsigned long long domainLookupEnd;
44 readonly attribute unsigned long long connectStart; 46 readonly attribute unsigned long long connectStart;
45 readonly attribute unsigned long long connectEnd; 47 readonly attribute unsigned long long connectEnd;
46 readonly attribute unsigned long long secureConnectionStart; 48 readonly attribute unsigned long long secureConnectionStart;
47 readonly attribute unsigned long long requestStart; 49 readonly attribute unsigned long long requestStart;
48 readonly attribute unsigned long long responseStart; 50 readonly attribute unsigned long long responseStart;
49 readonly attribute unsigned long long responseEnd; 51 readonly attribute unsigned long long responseEnd;
50 readonly attribute unsigned long long domLoading; 52 readonly attribute unsigned long long domLoading;
51 readonly attribute unsigned long long domInteractive; 53 readonly attribute unsigned long long domInteractive;
52 readonly attribute unsigned long long domContentLoadedEventStart; 54 readonly attribute unsigned long long domContentLoadedEventStart;
53 readonly attribute unsigned long long domContentLoadedEventEnd; 55 readonly attribute unsigned long long domContentLoadedEventEnd;
54 readonly attribute unsigned long long domComplete; 56 readonly attribute unsigned long long domComplete;
55 readonly attribute unsigned long long loadEventStart; 57 readonly attribute unsigned long long loadEventStart;
56 readonly attribute unsigned long long loadEventEnd; 58 readonly attribute unsigned long long loadEventEnd;
57 serializer = {attribute}; 59 serializer = {attribute};
58 }; 60 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceTiming.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698