OLD | NEW |
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.timing.redirect attributes on a same-origin se
rver redirected navigation</title> | 5 <title>window.performance.timing.redirect attributes on a same-origin se
rver redirected navigation</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-timing-interface"/> | 7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navig
ation-timing-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 | 12 |
12 <script> | 13 <script> |
13 function onload_test() | 14 function onload_test() |
14 { | 15 { |
15 test_namespace('navigation'); | 16 test_namespace('navigation'); |
16 if (performanceNamespace === undefined) | 17 if (performanceNamespace === undefined) |
17 { | 18 { |
18 // avoid script errors | 19 // avoid script errors |
19 done(); | 20 done(); |
(...skipping 18 matching lines...) Expand all Loading... |
38 <body> | 39 <body> |
39 <h1>Description</h1> | 40 <h1>Description</h1> |
40 <p>This test validates the values of the window.performance.redirectCoun
t and the | 41 <p>This test validates the values of the window.performance.redirectCoun
t and the |
41 window.performance.timing.redirectStart/End times for a same-origin s
erver side redirect navigation.</p> | 42 window.performance.timing.redirectStart/End times for a same-origin s
erver side redirect navigation.</p> |
42 | 43 |
43 <div id="log"></div> | 44 <div id="log"></div> |
44 <br /> | 45 <br /> |
45 <iframe id="frameContext" onload="onload_test();" src="/common/redirect.
py?location=/navigation-timing/resources/blank_page_green.html" style="width: 25
0px; height: 250px;"></iframe> | 46 <iframe id="frameContext" onload="onload_test();" src="/common/redirect.
py?location=/navigation-timing/resources/blank_page_green.html" style="width: 25
0px; height: 250px;"></iframe> |
46 </body> | 47 </body> |
47 </html> | 48 </html> |
OLD | NEW |