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 attributes after a reloaded navigation<
/title> | 5 <title>window.performance.timing attributes after a reloaded 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 // explicitly test the namespace before we start testing | 15 // explicitly test the namespace before we start testing |
15 test_namespace('navigation'); | 16 test_namespace('navigation'); |
16 | 17 |
17 var reload_frame; | 18 var reload_frame; |
18 var initial_timing; | 19 var initial_timing; |
19 | 20 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 82 |
82 <p>This page should be loaded with a green background frame below. The
frame will be automatically reloaded | 83 <p>This page should be loaded with a green background frame below. The
frame will be automatically reloaded |
83 and then verified that the window.performance.timing attributes have bee
n updated to the new reloaded navigation timings.</p> | 84 and then verified that the window.performance.timing attributes have bee
n updated to the new reloaded navigation timings.</p> |
84 | 85 |
85 <div id="log"></div> | 86 <div id="log"></div> |
86 <br /> | 87 <br /> |
87 <iframe id="frameContext" src="resources/blank_page_green.html" style="w
idth: 250px; height: 250px;"></iframe> | 88 <iframe id="frameContext" src="resources/blank_page_green.html" style="w
idth: 250px; height: 250px;"></iframe> |
88 | 89 |
89 </body> | 90 </body> |
90 </html> | 91 </html> |
OLD | NEW |