| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.testRunner) { | 4 if (window.testRunner) { |
| 5 testRunner.dumpAsText(1); | 5 testRunner.dumpAsText(1); |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function load() { | 9 function load() { |
| 10 if (!window.internals) | 10 if (!window.eventSender) |
| 11 return; | 11 return; |
| 12 | 12 |
| 13 window.internals.setPageScaleFactor(2, 0, 0); | 13 window.eventSender.setPageScaleFactor(2, 0, 0); |
| 14 | 14 |
| 15 setTimeout(increasePageScale, 0); | 15 setTimeout(increasePageScale, 0); |
| 16 } | 16 } |
| 17 | 17 |
| 18 function increasePageScale() { | 18 function increasePageScale() { |
| 19 window.internals.setPageScaleFactor(4, 0, 0); | 19 window.eventSender.setPageScaleFactor(4, 0, 0); |
| 20 | 20 |
| 21 if (window.testRunner) | 21 if (window.testRunner) |
| 22 testRunner.notifyDone(); | 22 testRunner.notifyDone(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 window.onload = load; | 25 window.onload = load; |
| 26 </script> | 26 </script> |
| 27 </head> | 27 </head> |
| 28 <img style="width: 32px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDo
vL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaWx
sPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K"> | 28 <img style="width: 32px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDo
vL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaWx
sPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K"> |
| 29 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD
ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj
QiIHI9IjY0IiAvPgo8L3N2Zz4="> | 29 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD
ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj
QiIHI9IjY0IiAvPgo8L3N2Zz4="> |
| 30 <p>This test passes if both of the circles have sharp edges.</p> | 30 <p>This test passes if both of the circles have sharp edges.</p> |
| 31 <p>To run manually, use full-page zoom to increase the page scale factor.</p> | 31 <p>To run manually, use full-page zoom to increase the page scale factor.</p> |
| 32 </html> | 32 </html> |
| OLD | NEW |