Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html
diff --git a/LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html b/LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html
index ed24c2dd896391fe1a428ddfc4c3852c39b0523b..f63facf4f7b351f4f1d3c2e6fa8a18d7c50838d1 100644
--- a/LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html
+++ b/LayoutTests/fast/dom/Window/window-open-no-multiple-windows-from-iframe.html
@@ -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();

Powered by Google App Engine
This is Rietveld 408576698