blob: e72fe37948905dc241ca55edb76cbac6f2497f3b (
plain)
1
2
3
4
5
6
7
8
9
|
if (window.testRunner)
testRunner.dumpChildFramesAsText();
var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
iframe.contentDocument.write('<script>top.testPassed("script ran")</script>');
iframe.contentDocument.write('PASS');
iframe.contentDocument.close();
|