<script>
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
</script>
FAIL
-<iframe onload="document.open(); document.close(); document.write('<iframe onload=document.open();document.close();document.write(/PASS/); >')"></iframe>
+<iframe onload="document.open(); document.close(); document.write('<iframe onload=\'document.open();document.close();document.write(/PASS/); document.close(); if(window.testRunner) testRunner.notifyDone();\' >')"></iframe>