1 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie"
2 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2"
3 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie"
4 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2"
5 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie"
6 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2"
7 Test the required behavior of XMLHttpRequest.getResponseHeader()
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
12 PASS {state: 0}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
13 PASS headerValue is null
14 PASS {state: 1}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
15 PASS headerValue is null
16 PASS Header 'Content-Type' is null in ready state 1.
17 PASS xhr.open("GET", "resources/1251.html", true); did not throw exception.
18 PASS {state: 1}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
19 PASS headerValue is null
20 PASS xhr.send(null); did not throw exception.
21 PASS {state: 2}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
22 PASS headerValue is non-null.
23 PASS {state: 2}; headerValue = xhr.getResponseHeader('SeT-COoKie'); did not throw exception.
24 PASS headerValue is null
25 PASS {state: 2}; headerValue = xhr.getResponseHeader('sEt-coOkIE2'); did not throw exception.
26 PASS headerValue is null
27 PASS {state: 2}; headerValue = xhr.getResponseHeader('xxx-mytest-headerabc'); did not throw exception.
28 PASS headerValue is null
29 PASS {state: 2}; headerValue = xhr.getResponseHeader('null'); did not throw exception.
30 PASS headerValue is null
31 PASS {state: 2}; headerValue = xhr.getResponseHeader('Content-Type:'); did not throw exception.
32 PASS headerValue is null
33 PASS {state: 3}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
34 PASS headerValue is non-null.
35 PASS result is savedHeader
36 PASS {state: 3}; headerValue = xhr.getResponseHeader('SeT-COoKie'); did not throw exception.
37 PASS headerValue is null
38 PASS {state: 3}; headerValue = xhr.getResponseHeader('sEt-coOkIE2'); did not throw exception.
39 PASS headerValue is null
40 PASS {state: 3}; headerValue = xhr.getResponseHeader('xxx-mytest-headerabc'); did not throw exception.
41 PASS headerValue is null
42 PASS {state: 3}; headerValue = xhr.getResponseHeader('null'); did not throw exception.
43 PASS headerValue is null
44 PASS {state: 3}; headerValue = xhr.getResponseHeader('Content-Type:'); did not throw exception.
45 PASS headerValue is null
46 PASS {state: 4}; headerValue = xhr.getResponseHeader('Content-Type'); did not throw exception.
47 PASS headerValue is non-null.
48 PASS result is savedHeader
49 PASS {state: 4}; headerValue = xhr.getResponseHeader('SeT-COoKie'); did not throw exception.
50 PASS headerValue is null
51 PASS {state: 4}; headerValue = xhr.getResponseHeader('sEt-coOkIE2'); did not throw exception.
52 PASS headerValue is null
53 PASS {state: 4}; headerValue = xhr.getResponseHeader('xxx-mytest-headerabc'); did not throw exception.
54 PASS headerValue is null
55 PASS {state: 4}; headerValue = xhr.getResponseHeader('null'); did not throw exception.
56 PASS headerValue is null
57 PASS {state: 4}; headerValue = xhr.getResponseHeader('Content-Type:'); did not throw exception.
58 PASS headerValue is null
59 PASS successfullyParsed is true