blob: f3edb6581981757f0859fd9f4270f2a9954af8d4 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'">
</head>
<body>
<iframe src="about:blank" id="frame"></iframe>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
function appendTestScriptToDocument(contentDocument)
{
var script = contentDocument.createElement("script");
script.src = "resources/alert-pass-and-notify-done.js";
contentDocument.body.appendChild(script);
}
appendTestScriptToDocument(document.getElementById("frame").contentDocument);
</script>
</body>
</html>