Update web-platform-tests to revision b'e0214318249f1b6ea09b837db6eac7b0facd1b52'

This commit is contained in:
WPT Sync Bot 2023-02-05 01:47:40 +00:00
parent 3429e8fe3b
commit febcb80385
141 changed files with 2568 additions and 986 deletions

View file

@ -90,6 +90,27 @@ var tests = [
}
]
},
{
name: "HTTP cache stores complete response and serves smaller ranges from it with only-if-cached",
requests: [
{
response_headers: [
["Cache-Control", "max-age=3600"]
],
response_body: "01234567890"
},
{
request_headers: [
['Range', "bytes=0-1"]
],
mode: "same-origin",
cache: "only-if-cached",
expected_type: "cached",
expected_status: 206,
expected_response_text: "01"
},
]
},
{
name: "HTTP cache stores partial response and serves smaller ranges from it (byte-range-spec)",
requests: [