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 attribute ordering on a simple navigati
on</title> | 5 <title>window.performance.timing attribute ordering on a simple navigati
on</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('timing'); | 15 test_namespace('timing'); |
15 | 16 |
16 var step = 1; | 17 var step = 1; |
17 function onload_test() | 18 function onload_test() |
18 { | 19 { |
19 if (step === 1 && window.performance === undefined) | 20 if (step === 1 && window.performance === undefined) |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 <div id="log"></div> | 101 <div id="log"></div> |
101 <br /> | 102 <br /> |
102 <iframe id="frameContext" | 103 <iframe id="frameContext" |
103 onload="/* Need to make sure we don't examine loadEventEnd | 104 onload="/* Need to make sure we don't examine loadEventEnd |
104 until after the load event has finished firing */ | 105 until after the load event has finished firing */ |
105 step_timeout(onload_test, 0);" | 106 step_timeout(onload_test, 0);" |
106 src="resources/blank_page_unload.html" | 107 src="resources/blank_page_unload.html" |
107 style="width: 250px; height: 250px;"></iframe> | 108 style="width: 250px; height: 250px;"></iframe> |
108 </body> | 109 </body> |
109 </html> | 110 </html> |
OLD | NEW |