| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/timeline-test.js"></script> | 4 <script src="../../../http/tests/inspector/timeline-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 | 6 |
| 7 function display(callback) | 7 function display(callback) |
| 8 { | 8 { |
| 9 requestAnimationFrame(function() { | 9 requestAnimationFrame(function() { |
| 10 document.body.style.backgroundColor = "blue"; | 10 document.body.style.backgroundColor = "blue"; |
| 11 if (window.testRunner) | 11 if (window.testRunner) |
| 12 testRunner.layoutAndPaintAsyncThen(callback); | 12 testRunner.layoutAndPaintAsyncThen(callback); |
| 13 }); | 13 }); |
| 14 } | 14 } |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 } | 58 } |
| 59 } | 59 } |
| 60 | 60 |
| 61 </script> | 61 </script> |
| 62 </head> | 62 </head> |
| 63 | 63 |
| 64 <body onload="runTest()"> | 64 <body onload="runTest()"> |
| 65 <p> | 65 <p> |
| 66 Tests the Timeline API instrumentation of a paint event | 66 Tests the Timeline API instrumentation of a paint event |
| 67 </p> | 67 </p> |
| 68 <iframe src="resources/timeline-iframe-paint.html" style="position: absolute; le
ft: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe> | 68 <iframe src="../resources/timeline-iframe-paint.html" style="position: absolute;
left: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe> |
| 69 </body> | 69 </body> |
| 70 </html> | 70 </html> |
| OLD | NEW |