| 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.now across frames</title> | 5 <title>window.performance.now across frames</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/hr-time/#sec-extenstions-per
formance-interface"> | 7 <link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-per
formance-interface"> |
| 8 | 8 |
| 9 <script src="/w3c/resources/testharness.js"></script> | 9 <script src="../../../resources/testharness.js"></script> |
| 10 <script src="/w3c/resources/testharnessreport.js"></script> | 10 <script src="../../../resources/testharnessreport.js"></script> |
| 11 | 11 |
| 12 <script type="text/javascript"> | 12 <script type="text/javascript"> |
| 13 setup({explicit_done: true}); | 13 setup({explicit_done: true}); |
| 14 | 14 |
| 15 function start_test() { | 15 function start_test() { |
| 16 setTimeout(function() { | 16 setTimeout(function() { |
| 17 var iframe = document.createElement('iframe'); | 17 var iframe = document.createElement('iframe'); |
| 18 iframe.id = 'frameContext'; | 18 iframe.id = 'frameContext'; |
| 19 iframe.onload = finish_test; | 19 iframe.onload = finish_test; |
| 20 iframe.src = "resources/now_frame.html"; | 20 iframe.src = "resources/now_frame.html"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 } | 47 } |
| 48 </script> | 48 </script> |
| 49 | 49 |
| 50 </head> | 50 </head> |
| 51 <body onload="start_test()"> | 51 <body onload="start_test()"> |
| 52 <h1>Description</h1> | 52 <h1>Description</h1> |
| 53 <p>This test validates the values of the window.performance.now() are ba
sed on the current document's navigationStart.</p> | 53 <p>This test validates the values of the window.performance.now() are ba
sed on the current document's navigationStart.</p> |
| 54 <div id="log"></div> | 54 <div id="log"></div> |
| 55 </body> | 55 </body> |
| 56 </html> | 56 </html> |
| OLD | NEW |