mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
script: Refactor dom/headers to match spec better (#36943)
This includes removing an implementation of normalize for `ByteString`, because it is effectively duplicated in net under `trim_http_whitespace`. This is part of an attempt to cleanup and centralize code for header parsing and manipulation. Testing: Covered by existing WPT tests Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
parent
aaacd61800
commit
cdf5fdd2b4
5 changed files with 121 additions and 231 deletions
|
@ -1,19 +1,3 @@
|
|||
[request-headers.any.html]
|
||||
[Adding invalid request header "Set-Cookie: KO"]
|
||||
expected: FAIL
|
||||
|
||||
[Adding invalid request header "Access-Control-Request-Private-Network: KO"]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[request-headers.any.worker.html]
|
||||
[Adding invalid request header "Set-Cookie: KO"]
|
||||
expected: FAIL
|
||||
|
||||
[Adding invalid request header "Access-Control-Request-Private-Network: KO"]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[request-headers.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue