21 lines
523 B
HTML
21 lines
523 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpChildFramesAsText();
|
|
|
|
var iframe = document.createElement('iframe');
|
|
document.body.appendChild(iframe);
|
|
|
|
iframe.contentDocument.write('<script>top.testPassed("script ran")</scr' + 'ipt>');
|
|
iframe.contentDocument.write('PASS');
|
|
iframe.contentDocument.close();
|
|
</script>
|
|
<script src="../../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|