Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Enable Headers API tests.
- Loading branch information
Showing
8 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
tests/wpt/metadata/fetch/api/headers/headers-basic.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[headers-basic.html] | ||
type: testharness | ||
[Create headers from no parameter] | ||
expected: FAIL | ||
|
||
[Create headers from undefined parameter] | ||
expected: FAIL | ||
|
||
[Create headers from empty object] | ||
expected: FAIL | ||
|
||
[Create headers with sequence] | ||
expected: FAIL | ||
|
||
[Create headers with OpenEndedDictionary] | ||
expected: FAIL | ||
|
||
[Create headers whith existing headers] | ||
expected: FAIL | ||
|
||
[Check append method] | ||
expected: FAIL | ||
|
||
[Check set method] | ||
expected: FAIL | ||
|
||
[Check has method] | ||
expected: FAIL | ||
|
||
[Check delete method] | ||
expected: FAIL | ||
|
||
[Check get method] | ||
expected: FAIL | ||
|
||
[Check keys method] | ||
expected: FAIL | ||
|
||
[Check values method] | ||
expected: FAIL | ||
|
||
[Check entries method] | ||
expected: FAIL | ||
|
||
[Check Symbol.iterator method] | ||
expected: FAIL | ||
|
||
[Check forEach method] | ||
expected: FAIL | ||
|
14 changes: 14 additions & 0 deletions
14
tests/wpt/metadata/fetch/api/headers/headers-casing.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[headers-casing.html] | ||
type: testharness | ||
[Create headers, names use characters with different case] | ||
expected: FAIL | ||
|
||
[Check append method, names use characters with different case] | ||
expected: FAIL | ||
|
||
[Check set method, names use characters with different case] | ||
expected: FAIL | ||
|
||
[Check delete method, names use characters with different case] | ||
expected: FAIL | ||
|
14 changes: 14 additions & 0 deletions
14
tests/wpt/metadata/fetch/api/headers/headers-combine.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[headers-combine.html] | ||
type: testharness | ||
[Create headers using same name for different values] | ||
expected: FAIL | ||
|
||
[Check delete and has methods when using same name for different values] | ||
expected: FAIL | ||
|
||
[Check set methods when called with already used name] | ||
expected: FAIL | ||
|
||
[Check append methods when called with already used name] | ||
expected: FAIL | ||
|
44 changes: 44 additions & 0 deletions
44
tests/wpt/metadata/fetch/api/headers/headers-errors.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[headers-errors.html] | ||
type: testharness | ||
[Check headers get with an invalid name invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers get with an invalid name [object Object\]] | ||
expected: FAIL | ||
|
||
[Check headers delete with an invalid name invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers delete with an invalid name [object Object\]] | ||
expected: FAIL | ||
|
||
[Check headers has with an invalid name invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers has with an invalid name [object Object\]] | ||
expected: FAIL | ||
|
||
[Check headers set with an invalid name invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers set with an invalid name [object Object\]] | ||
expected: FAIL | ||
|
||
[Check headers set with an invalid value invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers append with an invalid name invalidĀ] | ||
expected: FAIL | ||
|
||
[Check headers append with an invalid name [object Object\]] | ||
expected: FAIL | ||
|
||
[Check headers append with an invalid value invalidĀ] | ||
expected: FAIL | ||
|
||
[Headers forEach throws if argument is not callable] | ||
expected: FAIL | ||
|
||
[Headers forEach loop should stop if callback is throwing exception] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[headers-idl.html] | ||
type: testharness | ||
expected: TIMEOUT |
11 changes: 11 additions & 0 deletions
11
tests/wpt/metadata/fetch/api/headers/headers-normalize.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[headers-normalize.html] | ||
type: testharness | ||
[Create headers with not normalized values] | ||
expected: FAIL | ||
|
||
[Check append method whith not normalized values] | ||
expected: FAIL | ||
|
||
[Check set method whith not normalized values] | ||
expected: FAIL | ||
|
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata/fetch/api/headers/headers-structure.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[headers-structure.html] | ||
type: testharness | ||
expected: TIMEOUT |