blob: 080578de99fc1254ad0db0391b333fc91921a669 [file] [log] [blame]
Test for bug 41210: Cross Origin XMLHttpRequest can not expose headers indicated in Access-Control-Expose-Headers HTTP Response Header.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS xhr.getResponseHeader("X-FOO") is 'BAR'
PASS xhr.getResponseHeader("x-foo") is 'BAR'
PASS xhr.getResponseHeader("X-TEST") is null
PASS successfullyParsed is true
TEST COMPLETE