| OLD | NEW |
| 1 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie" | 1 CONSOLE ERROR: line 1: Refused to get unsafe header "SeT-COoKie" |
| 2 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2" | 2 CONSOLE ERROR: line 1: Refused to get unsafe header "sEt-coOkIE2" |
| 3 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie" | 3 CONSOLE ERROR: line 1: Refused to get unsafe header "SeT-COoKie" |
| 4 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2" | 4 CONSOLE ERROR: line 1: Refused to get unsafe header "sEt-coOkIE2" |
| 5 CONSOLE ERROR: Refused to get unsafe header "SeT-COoKie" | 5 CONSOLE ERROR: line 1: Refused to get unsafe header "SeT-COoKie" |
| 6 CONSOLE ERROR: Refused to get unsafe header "sEt-coOkIE2" | 6 CONSOLE ERROR: line 1: Refused to get unsafe header "sEt-coOkIE2" |
| 7 Test the required behavior of XMLHttpRequest.getResponseHeader() | 7 Test the required behavior of XMLHttpRequest.getResponseHeader() |
| 8 | 8 |
| 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 10 | 10 |
| 11 | 11 |
| 12 PASS {state: 0}; headerValue = xhr.getResponseHeader('Content-Type'); did not th
row exception. | 12 PASS {state: 0}; headerValue = xhr.getResponseHeader('Content-Type'); did not th
row exception. |
| 13 PASS headerValue is null | 13 PASS headerValue is null |
| 14 PASS {state: 1}; headerValue = xhr.getResponseHeader('Content-Type'); did not th
row exception. | 14 PASS {state: 1}; headerValue = xhr.getResponseHeader('Content-Type'); did not th
row exception. |
| 15 PASS headerValue is null | 15 PASS headerValue is null |
| 16 PASS Header 'Content-Type' is null in ready state 1. | 16 PASS Header 'Content-Type' is null in ready state 1. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 PASS {state: 4}; headerValue = xhr.getResponseHeader('xxx-mytest-headerabc'); di
d not throw exception. | 53 PASS {state: 4}; headerValue = xhr.getResponseHeader('xxx-mytest-headerabc'); di
d not throw exception. |
| 54 PASS headerValue is null | 54 PASS headerValue is null |
| 55 PASS {state: 4}; headerValue = xhr.getResponseHeader('null'); did not throw exce
ption. | 55 PASS {state: 4}; headerValue = xhr.getResponseHeader('null'); did not throw exce
ption. |
| 56 PASS headerValue is null | 56 PASS headerValue is null |
| 57 PASS {state: 4}; headerValue = xhr.getResponseHeader('Content-Type:'); did not t
hrow exception. | 57 PASS {state: 4}; headerValue = xhr.getResponseHeader('Content-Type:'); did not t
hrow exception. |
| 58 PASS headerValue is null | 58 PASS headerValue is null |
| 59 PASS successfullyParsed is true | 59 PASS successfullyParsed is true |
| 60 | 60 |
| 61 TEST COMPLETE | 61 TEST COMPLETE |
| 62 | 62 |
| OLD | NEW |