mirror of
https://github.com/servo/servo.git
synced 2025-08-23 14:25:33 +01:00
Modify Headers API to correctly validate value.
This commit modifies the headers API script to correctly validate value. As a result of this change, more wpt tests pass. The commit also changes the expected test results.
This commit is contained in:
parent
fabe2b8f7e
commit
69f4cf6808
6 changed files with 14 additions and 42 deletions
|
@ -3,21 +3,12 @@
|
|||
[Create headers from empty object]
|
||||
expected: FAIL
|
||||
|
||||
[Create headers with sequence]
|
||||
expected: FAIL
|
||||
|
||||
[Create headers with OpenEndedDictionary]
|
||||
expected: FAIL
|
||||
|
||||
[Create headers with existing headers]
|
||||
expected: FAIL
|
||||
|
||||
[Check append method]
|
||||
expected: FAIL
|
||||
|
||||
[Check set method]
|
||||
expected: FAIL
|
||||
|
||||
[Check has method]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,12 +3,3 @@
|
|||
[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
|
||||
|
||||
|
|
|
@ -3,12 +3,6 @@
|
|||
[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
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[headers-errors.html]
|
||||
type: testharness
|
||||
[Headers forEach throws if argument is not callable]
|
||||
expected: FAIL
|
||||
|
||||
[Headers forEach loop should stop if callback is throwing exception]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,9 +3,3 @@
|
|||
[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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue