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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect.html

Issue 2702113003: Move tests for sendBeacon to a separate dedicated directory for clearer ownership (Closed)
Patch Set: a Created 3 years, 10 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: third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect.html
similarity index 76%
rename from third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html
rename to third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect.html
index 26936a8f2431f8de7729bf9ce7bfca1c00859a40..0495ad7d89cbb624a1c26330785c9efb02cfed5d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect.html
+++ b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect.html
@@ -13,7 +13,7 @@ function test() {
testRunner.dumpPingLoaderCallbacks();
}
- shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.php?status=302&target=non-existent.php", "CrossOrigin");');
+ shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/resources/redirection-response.php?status=302&target=/non-existent.php", "CrossOrigin");');
// Wait a while for the redirect response handling to happen before finishing up.
setTimeout(finishJSTest, 200);
}

Powered by Google App Engine
This is Rietveld 408576698