blob: 0ae96be16cb9d07e53d649a658ed8930beb1f247 [file] [log] [blame]
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
function iframeLoaded()
{
if (window.testRunner)
testRunner.notifyDone();
}
function bodyLoaded()
{
console.log("The page loaded successfully.");
document.getElementById("iframe").onload = iframeLoaded;
document.getElementById("iframe").src = "http://localhost:8000/contentextensions/resources/should-load.html";
}
</script>
</head>
<body onload="bodyLoaded()">
<iframe id="iframe" name="iframe"></iframe>
</body>