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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/navigation-timing/test_navigation_type_enums.html

Issue 2839683003: Server-Timing (Closed)
Patch Set: make those robots happy, attempt #4 Created 3 years, 7 months 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8" /> 4 <meta charset="utf-8" />
5 <title>window.performance.navigation enums</title> 5 <title>window.performance.navigation enums</title>
6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navig ation-info-interface"/> 7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navig ation-info-interface"/>
8 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 <script src="/common/performance-timeline-utils.js"></script>
10 <script src="resources/webperftestharness.js"></script> 11 <script src="resources/webperftestharness.js"></script>
11 </head> 12 </head>
12 <body> 13 <body>
13 <h1>Description</h1> 14 <h1>Description</h1>
14 <p>This test validates that the TYPE_* enumerations of window.performanc e.navigation exist and their values are correct.</p> 15 <p>This test validates that the TYPE_* enumerations of window.performanc e.navigation exist and their values are correct.</p>
15 16
16 <div id="log"></div> 17 <div id="log"></div>
17 18
18 <script> 19 <script>
19 test_namespace('navigation'); 20 test_namespace('navigation');
20 21
21 test_enum('navigation', 'TYPE_NAVIGATE', 0); 22 test_enum('navigation', 'TYPE_NAVIGATE', 0);
22 test_enum('navigation', 'TYPE_RELOAD', 1); 23 test_enum('navigation', 'TYPE_RELOAD', 1);
23 test_enum('navigation', 'TYPE_BACK_FORWARD', 2); 24 test_enum('navigation', 'TYPE_BACK_FORWARD', 2);
24 test_enum('navigation', 'TYPE_RESERVED', 255); 25 test_enum('navigation', 'TYPE_RESERVED', 255);
25 </script> 26 </script>
26 </body> 27 </body>
27 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698