Go to the source code of this file.
| function assertInvalidHeader |
( |
|
fieldName, |
|
|
|
fieldValue, |
|
|
|
headers |
|
) |
| |
Ensures that a fieldname-fieldvalue combination is not a valid header.
- Parameters
-
| fieldName | the name of the header |
| fieldValue | the value of the header |
| headers | an nsHttpHeaders object to use to check validity |
Definition at line 76 of file test_headers.js.
| function assertValidHeader |
( |
|
fieldName, |
|
|
|
fieldValue, |
|
|
|
headers |
|
) |
| |
Ensures that a fieldname-fieldvalue combination is a valid header.
- Parameters
-
| fieldName | the name of the header |
| fieldValue | the value of the header |
| headers | an nsHttpHeaders object to use to check validity |
Definition at line 54 of file test_headers.js.
| function testGetHeader |
( |
| ) |
|
| function testHasHeader |
( |
| ) |
|
| function testHeaderEnumerator |
( |
| ) |
|
| function testHeaderValidity |
( |
| ) |
|