OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js-test-resources/js-test-pre.js"></script> | 4 <script src="../../js-test-resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description("If the destination and previous page have the same origin, then Web
Timing should report unload timing."); | 10 description("If the destination and previous page have the same origin, then Web
Timing should report unload timing."); |
11 | 11 |
12 window.performance = window.performance || {}; | 12 window.performance = window.performance || {}; |
13 var navigation = performance.navigation || {}; | 13 var navigation = performance.navigation || {}; |
14 var timing = performance.timing || {}; | 14 var timing = performance.timing || {}; |
(...skipping 17 matching lines...) Expand all Loading... |
32 | 32 |
33 finishJSTest(); | 33 finishJSTest(); |
34 } | 34 } |
35 | 35 |
36 window.addEventListener("load", performTest); | 36 window.addEventListener("load", performTest); |
37 | 37 |
38 var jsTestIsAsync = true; | 38 var jsTestIsAsync = true; |
39 </script> | 39 </script> |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |