Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / zoom / resources / testPageZoom.js
blobc37c1a328ea09a57f0f764eb6e98753c254d08af
1 function repaintTest() {
2 if (!window.eventSender)
3 return;
5 for (i = 0; i < zoomCount; ++i) {
6 if (window.shouldZoomOut)
7 eventSender.zoomPageOut();
8 else
9 eventSender.zoomPageIn();
12 if (!window.postZoomCallback)
13 return;
15 window.jsTestIsAsync = true;
16 if (window.testRunner)
17 testRunner.waitUntilDone();
19 window.postZoomCallback();
20 finishJSTest();