Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / Document / document-close-nested-iframe-load.html
index 7fa2bfc..5fe1e91 100644 (file)
@@ -1,6 +1,8 @@
 <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>