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,36 +0,0 @@
[status-async.htm]
[Status on GET 201]
expected: FAIL
[Status on GET 202]
expected: FAIL
[Status on GET 203]
expected: FAIL
[Status on GET 204]
expected: FAIL
[Status on GET 205]
expected: FAIL
[Status on GET 206]
expected: FAIL
[Status on GET 209]
expected: FAIL
[Status on GET 299]
expected: FAIL
[Status on GET 400]
expected: FAIL
[Status on HEAD 401]
expected: FAIL
[Status on POST 404]
expected: FAIL
[Status on POST 500]
expected: FAIL