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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php

Issue 1844053003: CREDENTIAL: Rework the integration with Fetch (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: horo@ Created 4 years, 8 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/credentialmanager/resources/redirect-to-echo-post.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php
new file mode 100644
index 0000000000000000000000000000000000000000..4f12045d930559ab6ff96f330a038746a2fdd29b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/redirect-to-echo-post.php
@@ -0,0 +1,8 @@
+<?php
+$origin = "http://127.0.0.1:8000";
+if ($_GET['origin'])
+ $origin = $_GET['origin'];
+
+http_response_code(307);
+header("Location: ${origin}/credentialmanager/echo-post.php");
+?>

Powered by Google App Engine
This is Rietveld 408576698