summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/getAllResponseHeaders-expected.txt
blob: 4496c8c5f5d90128d1a9a83eaac3bfaf16cd14f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Test the required behavior of XMLHttpRequest.getAllResponseHeaders()

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS {state: 0}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is the empty string
PASS {state: 1}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is the empty string
PASS getAllResponseHeaders() result is empty in ready state 1.
PASS xhr.open("GET", "resources/1251.html", true); did not throw exception.
PASS {state: 1}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is the empty string
PASS xhr.send(null); did not throw exception.
PASS {state: 2}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is not the empty string
PASS Header values appears to be conforming.
PASS {state: 3}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is not the empty string
PASS responseHeaders is savedHeaders
PASS {state: 4}; headerValues = xhr.getAllResponseHeaders(); did not throw exception.
PASS headerValues is not the empty string
PASS responseHeaders is savedHeaders
PASS successfullyParsed is true

TEST COMPLETE