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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame-post-expected.txt

Issue 2225383003: Origin header should be preserved in http requests made via OpenURL code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/navigation/form-targets-cross-site-frame-post-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame-post-expected.txt b/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame-post-expected.txt
index ca4d8e2a9bf1f6284ce88e3c7ec232fda8c8e79d..02ad302676489203149311fe2dde288d73be5060 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame-post-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/navigation/form-targets-cross-site-frame-post-expected.txt
@@ -9,3 +9,11 @@ This page was requested with the HTTP method POST.
Parameters:
test-field = test-value
+Http headers:
+
+HTTP_CACHE_CONTROL = max-age=0
+HTTP_CONNECTION = keep-alive
+HTTP_HOST = localhost:8000
+HTTP_ORIGIN = http://127.0.0.1:8000
Łukasz Anforowicz 2016/08/09 17:55:51 1. When this test with --site-per-process flag, we
jww 2016/08/09 22:38:22 I'm not sure what's going on, but it is not "obvio
Łukasz Anforowicz 2016/08/10 00:03:19 The "obviously wrong" part is that behavior should
jww 2016/08/10 00:44:53 Ah, yes, agreed.
+HTTP_REFERER = http://127.0.0.1:8000/navigation/form-targets-cross-site-frame-post.html
Łukasz Anforowicz 2016/08/09 17:55:51 It is interesting that Origin header above provide
jww 2016/08/09 22:38:22 Why is that surprising? One of the goals of the Or
Łukasz Anforowicz 2016/08/10 00:03:19 Thanks for the explanation. TIL :-)
+HTTP_UPGRADE_INSECURE_REQUESTS = 1

Powered by Google App Engine
This is Rietveld 408576698