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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.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/http/tests/xmlhttprequest/navigation-should-abort.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html b/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html
index 21bb3350ed2ee44857eb1a190824a9c6b64fe4c3..3eded8a494843b9e08e90fbaa2c008cc19db5d4c 100644
--- a/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html
+++ b/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html
@@ -2,8 +2,10 @@
<html>
<head>
<script>
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
var req = new XMLHttpRequest();
req.open("GET", "resources/endlessxml.php");
@@ -15,8 +17,7 @@
};
req.send(null);
- if (window.testRunner)
- testRunner.queueLoad("resources/navigation-target.html");
+ location = "resources/navigation-target.html";
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698