| 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 in document navigation</title> | 5 <title>window.performance.timing in document navigation</title> |
| 6 <link rel="author" title="Google" href="http://www.google.com/" /> | 6 <link rel="author" title="Google" href="http://www.google.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 </head> | 12 </head> |
| 12 <body> | 13 <body> |
| 13 <h1>Description</h1> | 14 <h1>Description</h1> |
| 14 <p>This test validates that all of the window.performance.timing attribu
tes remain unchanged after an in document navigation (URL fragment change).</p> | 15 <p>This test validates that all of the window.performance.timing attribu
tes remain unchanged after an in document navigation (URL fragment change).</p> |
| 15 | 16 |
| 16 <div id="log"></div> | 17 <div id="log"></div> |
| 17 <script> | 18 <script> |
| 18 setup({explicit_done: true}); | 19 setup({explicit_done: true}); |
| 19 | 20 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 timing = performanceNamespace.timing; | 58 timing = performanceNamespace.timing; |
| 58 | 59 |
| 59 window.removeEventListener("load", load_handler); | 60 window.removeEventListener("load", load_handler); |
| 60 step_timeout(save_timing_after_load, 0); | 61 step_timeout(save_timing_after_load, 0); |
| 61 } | 62 } |
| 62 | 63 |
| 63 window.addEventListener("load", load_handler, false); | 64 window.addEventListener("load", load_handler, false); |
| 64 </script> | 65 </script> |
| 65 </body> | 66 </body> |
| 66 </html> | 67 </html> |
| OLD | NEW |