Save http response reason instead of inferring it from status code (#34694)

* Don't unnecessarily clone responses twice when sending them to devtools

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Store http response reason instead of inferring it later

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update wpt expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2024-12-19 00:38:34 +01:00 committed by GitHub
parent 2caee9ae42
commit ba56494eec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 12 additions and 238 deletions

View file

@ -1,15 +1,8 @@
[api-and-duplicate-headers.any.html]
[fetch() and duplicate Content-Length/Content-Type headers]
expected: FAIL
[XMLHttpRequest and duplicate Content-Length/Content-Type headers]
expected: FAIL
[api-and-duplicate-headers.any.worker.html]
[fetch() and duplicate Content-Length/Content-Type headers]
expected: FAIL
[XMLHttpRequest and duplicate Content-Length/Content-Type headers]
expected: FAIL