| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 | 2 |
| 3 <!-- READ BEFORE UPDATING: | 3 <!-- READ BEFORE UPDATING: |
| 4 If this test is updated make sure to increment the "revision" value of the | 4 If this test is updated make sure to increment the "revision" value of the |
| 5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens
ure | 5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens
ure |
| 6 that the baseline images are regenerated on the next run. | 6 that the baseline images are regenerated on the next run. |
| 7 --> | 7 --> |
| 8 | 8 |
| 9 <html> | 9 <html> |
| 10 <head> | 10 <head> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 } | 106 } |
| 107 | 107 |
| 108 function main() { | 108 function main() { |
| 109 startTest(); | 109 startTest(); |
| 110 } | 110 } |
| 111 | 111 |
| 112 function waitForFinish() | 112 function waitForFinish() |
| 113 { | 113 { |
| 114 if (g_swapsBeforeAck == 0) { | 114 if (g_swapsBeforeAck == 0) { |
| 115 domAutomationController.setAutomationId(1); | |
| 116 domAutomationController.send("SUCCESS"); | 115 domAutomationController.send("SUCCESS"); |
| 117 } else { | 116 } else { |
| 118 g_swapsBeforeAck--; | 117 g_swapsBeforeAck--; |
| 119 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1; | 118 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1; |
| 120 requestAnimationFrame(waitForFinish); | 119 requestAnimationFrame(waitForFinish); |
| 121 } | 120 } |
| 122 } | 121 } |
| 123 | 122 |
| 124 </script> | 123 </script> |
| 125 </body> | 124 </body> |
| 126 </html> | 125 </html> |
| OLD | NEW |