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:
shanehandley 2024-09-28 02:05:55 +10:00 committed by GitHub
parent f96a62f0ce
commit c7ef974968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 21 additions and 61 deletions

View file

@ -1,4 +0,0 @@
[access-control-basic-cors-safelisted-response-headers.htm]
[Response with CORS-safelisted headers]
expected: FAIL

View file

@ -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