blob: 04581f9caf7848945c000693551052868ae5afa3 [file] [log] [blame]
function repaintTest() {
if (!window.eventSender)
return;
for (i = 0; i < zoomCount; ++i) {
if (window.shouldZoomOut)
eventSender.zoomPageOut();
else
eventSender.zoomPageIn();
}
if (!window.postZoomCallback)
return;
if (window.testRunner)
testRunner.waitUntilDone();
window.postZoomCallback();
completeDynamicTest();
}
function completeDynamicTest() {
var script = document.createElement("script");
script.onload = function() {
if (window.testRunner)
testRunner.notifyDone();
};
script.src = "../../../resources/js-test-post.js";
successfullyParsed = true;
document.body.appendChild(script);
}