freshness.any.html

FAILExpected11 of 17 subtests pass6,479 ms

Details

Test
/fetch/http-cache/freshness.any.html
Harness
OK

Subtests

StatusSubtestMessage
FAILHTTP cache reuses a response with a future Expires
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
PASSHTTP cache does not reuse a response with a past Expires
PASSHTTP cache does not reuse a response with a present Expires
PASSHTTP cache does not reuse a response with an invalid Expires
PASSHTTP cache does not reuse a response with an invalid Expires with Last-Modified now
PASSHTTP cache does not reuse a response with an invalid Expires with past Last-Modified
FAILHTTP cache reuses a response with positive Cache-Control: max-age
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
PASSHTTP cache does not reuse a response with Cache-Control: max-age=0
FAILHTTP cache reuses a response with positive Cache-Control: max-age and a past Expires
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
FAILHTTP cache reuses a response with positive Cache-Control: max-age and an invalid Expires
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
assert_less_than: Response 2 does not come from cache expected a number less than 2 but got 2
PASSHTTP cache does not reuse a response with Cache-Control: max-age=0 and a future Expires
PASSHTTP cache does not prefer Cache-Control: s-maxage over Cache-Control: max-age
PASSHTTP cache does not reuse a response when the Age header is greater than its freshness lifetime
PASSHTTP cache does not store a response with Cache-Control: no-store
PASSHTTP cache does not store a response with Cache-Control: no-store, even with max-age and Expires
FAILHTTP cache stores a response with Cache-Control: no-cache, but revalidates upon use
promise_test: Unhandled rejection with value: object "TypeError: This ReadableStream is disturbed (has already been read from), and cannot be used as a body."
promise_test: Unhandled rejection with value: object "TypeError: This ReadableStream is disturbed (has already been read from), and cannot be used as a body."
FAILHTTP cache stores a response with Cache-Control: no-cache, but revalidates upon use, even with max-age and Expires
promise_test: Unhandled rejection with value: object "TypeError: This ReadableStream is disturbed (has already been read from), and cannot be used as a body."
promise_test: Unhandled rejection with value: object "TypeError: This ReadableStream is disturbed (has already been read from), and cannot be used as a body."