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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 3eded8a494843b9e08e90fbaa2c008cc19db5d4c..21bb3350ed2ee44857eb1a190824a9c6b64fe4c3 100644
--- a/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html
+++ b/LayoutTests/http/tests/xmlhttprequest/navigation-should-abort.html
@@ -2,10 +2,8 @@
<html>
<head>
<script>
- if (window.testRunner) {
+ if (window.testRunner)
testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
var req = new XMLHttpRequest();
req.open("GET", "resources/endlessxml.php");
@@ -17,7 +15,8 @@
};
req.send(null);
- location = "resources/navigation-target.html";
+ if (window.testRunner)
+ testRunner.queueLoad("resources/navigation-target.html");
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698