| 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/page_sets/pixel_tests.py. This will ensure | 5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure |
| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 grd.addColorStop(0,"yellow"); | 131 grd.addColorStop(0,"yellow"); |
| 132 grd.addColorStop(0.5,"blue"); | 132 grd.addColorStop(0.5,"blue"); |
| 133 grd.addColorStop(0.75,"red"); | 133 grd.addColorStop(0.75,"red"); |
| 134 grd.addColorStop(1,"black"); | 134 grd.addColorStop(1,"black"); |
| 135 ctx.fillStyle=grd; | 135 ctx.fillStyle=grd; |
| 136 ctx.fillRect(0, 0, canvas.width, canvas.height); | 136 ctx.fillRect(0, 0, canvas.width, canvas.height); |
| 137 } | 137 } |
| 138 | 138 |
| 139 function finish() | 139 function finish() |
| 140 { | 140 { |
| 141 domAutomationController.setAutomationId(1); | |
| 142 domAutomationController.send("SUCCESS"); | 141 domAutomationController.send("SUCCESS"); |
| 143 } | 142 } |
| 144 window.requestAnimationFrame(finish); | 143 window.requestAnimationFrame(finish); |
| 145 </script> | 144 </script> |
| 146 </head> | 145 </head> |
| 147 </html> | 146 </html> |
| OLD | NEW |