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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect-credentials.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-credentials.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect-credentials.html b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect-credentials.html
similarity index 92%
rename from third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect-credentials.html
rename to third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect-credentials.html
index 27940f65e01b1de657ac0e7d03734b219f40433f..91aac3f8df2c2ab9201859474f319e885917e285 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect-credentials.html
+++ b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-cross-origin-redirect-credentials.html
@@ -81,7 +81,7 @@ function run_test(url, status_code, expectations) {
promise_test(() => {
return run_test(
- host_info['HTTP_REMOTE_ORIGIN'] + '/navigation/resources/save-beacon.php',
+ host_info['HTTP_REMOTE_ORIGIN'] + '/sendbeacon/resources/save-beacon.php',
301,
{
cookie: 'TestCookie=cross',
@@ -91,7 +91,7 @@ promise_test(() => {
promise_test(() => {
return run_test(
- host_info['HTTP_REMOTE_ORIGIN'] + '/navigation/resources/save-beacon.php',
+ host_info['HTTP_REMOTE_ORIGIN'] + '/sendbeacon/resources/save-beacon.php',
302,
{
cookie: 'TestCookie=cross',
@@ -101,7 +101,7 @@ promise_test(() => {
promise_test(() => {
return run_test(
- host_info['HTTP_REMOTE_ORIGIN'] + '/navigation/resources/save-beacon.php',
+ host_info['HTTP_REMOTE_ORIGIN'] + '/sendbeacon/resources/save-beacon.php',
303,
{
cookie: 'TestCookie=cross',
@@ -111,7 +111,7 @@ promise_test(() => {
promise_test(() => {
return run_test(
- host_info['HTTP_REMOTE_ORIGIN'] + '/navigation/resources/save-beacon.php',
+ host_info['HTTP_REMOTE_ORIGIN'] + '/sendbeacon/resources/save-beacon.php',
307,
{
cookie: 'TestCookie=cross',

Powered by Google App Engine
This is Rietveld 408576698