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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-response-with-expose-headers-expected.txt

Issue 1987613002: [DevTools Capture call stacks for XHR console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 CONSOLE ERROR: Refused to get unsafe header "X-TEST" 1 CONSOLE ERROR: line 1: Refused to get unsafe header "X-TEST"
2 Test for bug 41210: Cross Origin XMLHttpRequest can not expose headers indicated in Access-Control-Expose-Headers HTTP Response Header. 2 Test for bug 41210: Cross Origin XMLHttpRequest can not expose headers indicated in Access-Control-Expose-Headers HTTP Response Header.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS xhr.getResponseHeader("X-FOO") is 'BAR' 7 PASS xhr.getResponseHeader("X-FOO") is 'BAR'
8 PASS xhr.getResponseHeader("x-foo") is 'BAR' 8 PASS xhr.getResponseHeader("x-foo") is 'BAR'
9 PASS xhr.getResponseHeader("X-TEST") is null 9 PASS xhr.getResponseHeader("X-TEST") is null
10 PASS successfullyParsed is true 10 PASS successfullyParsed is true
11 11
12 TEST COMPLETE 12 TEST COMPLETE
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698