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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cache/resources/xhr-vary-header-subframe.html

Issue 2290193003: Include the Origin header for XHR and Fetch API even if the request is same-origin
Patch Set: a Created 4 years, 3 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/cache/resources/xhr-vary-header-subframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/resources/xhr-vary-header-subframe.html b/third_party/WebKit/LayoutTests/http/tests/cache/resources/xhr-vary-header-subframe.html
index 0e2d802491820891702ddca34f6542f6bd9872bf..729b83fa905b650dcf8343b00b24b471e594b025 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cache/resources/xhr-vary-header-subframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/cache/resources/xhr-vary-header-subframe.html
@@ -2,7 +2,7 @@
function testSameOrigin()
{
var req = new XMLHttpRequest;
- req.open("GET", "xhr-vary-header-response.php");
+ req.open("GET", "http://localhost:8080/cache/resources/xhr-vary-header-response.php");
req.onload=function() { parent.postMessage(req.responseText, "http://127.0.0.1:8000") }
req.send();
}

Powered by Google App Engine
This is Rietveld 408576698