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

Side by Side Diff: chrome/test/data/extensions/api_test/webrequest/cors/redirect_target.gif.mock-http-headers

Issue 348253002: Add CORS headers to URLRequestRedirectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT GURL -> std::string Created 6 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
(Empty)
1 HTTP/1.1 200 OK
2 Content-type: image/gif
3 X-Comment: Origin is null because the redirect target is on a different origin/
4 X-Comment: See "CORS 7.1.7 Generic Cross-Origin Request Algorithms,"
5 X-Comment: http://www.w3.org/TR/cors/#redirect-steps
6 X-Comment: "If the request URL origin is not same origin with the original URL o rigin, set
7 X-Comment: source origin to a globally unique identifier (becomes "null" when tr ansmitted)."
8 Access-Control-Allow-Origin: null
9 Access-Control-Allow-Credentials: true
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698