| 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 function performActions(callback) | 6 function performActions(callback) |
| 7 { | 7 { |
| 8 var square = document.getElementById("square"); | 8 var square = document.getElementById("square"); |
| 9 step1(); | 9 step1(); |
| 10 | 10 |
| 11 function step1() | 11 function step1() |
| 12 { | 12 { |
| 13 square.style.backgroundColor = "red"; | 13 square.style.backgroundColor = "red"; |
| 14 testRunner.layoutAndPaintAsyncThen(step2); | 14 testRunner.layoutAndPaintAsyncThen(step2); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 <body onload="runTest()"> | 76 <body onload="runTest()"> |
| 77 <p> | 77 <p> |
| 78 Tests that paint profiler is properly update when an event is selected in Flame
Chart | 78 Tests that paint profiler is properly update when an event is selected in Flame
Chart |
| 79 </p> | 79 </p> |
| 80 | 80 |
| 81 <div id="square" style="width: 40px; height: 40px"></div> | 81 <div id="square" style="width: 40px; height: 40px"></div> |
| 82 | 82 |
| 83 </body> | 83 </body> |
| 84 </html> | 84 </html> |
| OLD | NEW |