Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / Window / window-open-no-multiple-windows-from-iframe.html
index ed24c2d..f63facf 100644 (file)
@@ -12,8 +12,10 @@ if (window.testRunner) {
 
 function opened(result) {
     // Called by the embedded iframe.
-    if (result == window)
+    if (result == window) {
         document.writeln("PASS");
+        document.close();
+    }
 
     if (window.testRunner)
         testRunner.notifyDone();