<!DOCTYPE html> | |
<html> | |
<head><script src="resources/ad-iframe-writer.js"></script></head> | |
<body> | |
<script type="text/javascript"> | |
if (window.testRunner) { | |
testRunner.setHighlightAds(); | |
} | |
ad_frame = createAdFrame(); | |
ad_frame.width = 100; | |
ad_frame.height = 200; | |
// Finish the test once the ad frame is loaded. | |
ad_frame.onload = function () { | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
ad_frame.src = "about:blank"; | |
if (window.testRunner) | |
testRunner.waitUntilDone(); | |
</script> | |
</body> | |
</html> |