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 client redirec
t navigation</title> | 5 <title>window.performance.timing.redirect attributes on a client redirec
t 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 <script> | 12 <script> |
12 setup({explicit_done: true}); | 13 setup({explicit_done: true}); |
13 | 14 |
14 test_namespace('navigation'); | 15 test_namespace('navigation'); |
15 test_namespace('timing', true); | 16 test_namespace('timing', true); |
16 | 17 |
17 var redirect_frame; | 18 var redirect_frame; |
18 function onload_test() | 19 function onload_test() |
19 { | 20 { |
(...skipping 25 matching lines...) Expand all Loading... |
45 </head> | 46 </head> |
46 <body onload="onload_test();"> | 47 <body onload="onload_test();"> |
47 <h1>Description</h1> | 48 <h1>Description</h1> |
48 <p>This test validates the values of the window.navigation.redirectCount
and the | 49 <p>This test validates the values of the window.navigation.redirectCount
and the |
49 window.performance.timing.redirectStart/End times on a client side re
direct.</p> | 50 window.performance.timing.redirectStart/End times on a client side re
direct.</p> |
50 | 51 |
51 <div id="log"></div><br /> | 52 <div id="log"></div><br /> |
52 <iframe id="frameContext" src="resources/blank_page_meta_redirect.html"
style="width: 250px; height: 250px;"></iframe> | 53 <iframe id="frameContext" src="resources/blank_page_meta_redirect.html"
style="width: 250px; height: 250px;"></iframe> |
53 </body> | 54 </body> |
54 </html> | 55 </html> |
OLD | NEW |