| 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 for dynamically created documents</title> | 5 <title>window.performance.timing for dynamically created documents</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-navigation-ti
ming-interface"/> | 7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navigation-ti
ming-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(); | 16 test_namespace(); |
| 16 | 17 |
| 17 var originalTiming = {}; | 18 var originalTiming = {}; |
| 18 var didOpen = false; | 19 var didOpen = false; |
| 19 | 20 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 document in that frame with a green document.</p> | 74 document in that frame with a green document.</p> |
| 74 | 75 |
| 75 <p>The test passes if all of the checks to performance.timing are correct and | 76 <p>The test passes if all of the checks to performance.timing are correct and |
| 76 the frame below ends with a green background.</p> | 77 the frame below ends with a green background.</p> |
| 77 | 78 |
| 78 <div id="log"></div> | 79 <div id="log"></div> |
| 79 <br /> | 80 <br /> |
| 80 <iframe id="frameContext" onload="onload_test();" src="resources/blank_page_yell
ow.html" style="width: 250px; height: 250px;"></iframe> | 81 <iframe id="frameContext" onload="onload_test();" src="resources/blank_page_yell
ow.html" style="width: 250px; height: 250px;"></iframe> |
| 81 </body> | 82 </body> |
| 82 </html> | 83 </html> |
| OLD | NEW |