blob: adf316ef8c381f735a54f2af511e9cc723cf87ef [file] [log] [blame]
This test verifies that XMLHttpRequest properly handles list-valued headers.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS xhr.getResponseHeader("CONTENT-TYPE").indexOf("text/plain") is >= 0
PASS xhr.getResponseHeader("x-custom-header-single") is "single"
PASS xhr.getResponseHeader("x-custom-header-empty") is ""
PASS xhr.getResponseHeader("x-custom-header-list") is "one, two"
PASS successfullyParsed is true
TEST COMPLETE