mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
fetch: header tweaks to improve compliance with fetch spec (#33562)
* fetch: various header tweaks to improve compliance with fetch spec Signed-off-by: Shane Handley <shanehandley@fastmail.com> * fix: simplify the authorization header removal Signed-off-by: Shane Handley <shanehandley@fastmail.com> --------- Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
f96a62f0ce
commit
c7ef974968
12 changed files with 21 additions and 61 deletions
|
@ -1,4 +0,0 @@
|
|||
[response-headers.htm]
|
||||
[getResponseHeader: Content-Length: readable by default]
|
||||
expected: FAIL
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[cors-filtering.sub.any.html]
|
||||
[CORS filter on Content-Length header]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cors-filtering.sub.any.worker.html]
|
||||
[CORS filter on Content-Length header]
|
||||
expected: FAIL
|
||||
|
|
@ -1,12 +1,6 @@
|
|||
[authentication-redirection.any.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[authentication-redirection.any.worker.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[authentication-redirection.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[access-control-basic-cors-safelisted-response-headers.htm]
|
||||
[Response with CORS-safelisted headers]
|
||||
expected: FAIL
|
||||
|
|
@ -2,13 +2,8 @@
|
|||
expected: ERROR
|
||||
|
||||
[xhr-authorization-redirect.any.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[xhr-authorization-redirect.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[xhr-authorization-redirect.any.worker.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
|
4
tests/wpt/meta/cors/response-headers.htm.ini
vendored
4
tests/wpt/meta/cors/response-headers.htm.ini
vendored
|
@ -1,4 +0,0 @@
|
|||
[response-headers.htm]
|
||||
[getResponseHeader: Content-Length: readable by default]
|
||||
expected: FAIL
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[cors-filtering.sub.any.html]
|
||||
[CORS filter on Content-Length header]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cors-filtering.sub.any.worker.html]
|
||||
[CORS filter on Content-Length header]
|
||||
expected: FAIL
|
|
@ -2,13 +2,8 @@
|
|||
expected: ERROR
|
||||
|
||||
[authentication-redirection.any.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[authentication-redirection.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[authentication-redirection.any.worker.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[access-control-basic-cors-safelisted-response-headers.htm]
|
||||
[Response with CORS-safelisted headers]
|
||||
expected: FAIL
|
||||
|
|
@ -2,14 +2,8 @@
|
|||
expected: ERROR
|
||||
|
||||
[xhr-authorization-redirect.any.worker.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[xhr-authorization-redirect.any.html]
|
||||
[getAuthorizationHeaderValue - cross origin redirection]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[xhr-authorization-redirect.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue