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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header-expected.txt

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 unified diff | Download patch
OLDNEW
1 Test that XMLHttpRequest doesn't return a wrong cached answer when there is a Va ry header in response. 1 Test that XMLHttpRequest doesn't return a wrong cached answer when there is a Va ry header in response.
2 2
3 Make cross origin request 3 Make cross origin request
4 4
5 PASS responseText is 'Cross origin response' 5 PASS responseText is 'Origin header value is http://127.0.0.1:8000'
6 PASS responseText is 'Same origin response' 6 PASS responseText is 'Origin header value is http://localhost:8000'
7 PASS responseText is 'Cross origin response' 7 PASS responseText is 'Origin header value is http://127.0.0.1:8000'
8 PASS successfullyParsed is true 8 PASS successfullyParsed is true
9 9
10 TEST COMPLETE 10 TEST COMPLETE
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698