mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm
Continue http cache work <!-- Please describe your changes on the following line: --> Work in progress, and not quite worth a review yet. (Continuation of https://github.com/servo/servo/pull/4117) TODO - [ ] cache metadata (find some subset of`net_traits::Metadata` that can be shared across threads, it seems the problem is mainly stuff inside `hyper::header` in the `headers` field) - [ ] determine which other fields of a `Response` need to be cached, so a full and valid one can be returned upon a cache hit. - [ ] determine how to best share the cache across fetch threads (inside HttpState like I tried now?) - [ ] Spend more time reading the spec and make sure the cache follows it where it matters. - [ ] Make the current wpt tests pass. - [ ] More... --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #12972 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18676) <!-- Reviewable:end -->
This commit is contained in:
commit
e2bc0f017c
37 changed files with 1238 additions and 631 deletions
|
@ -528584,7 +528584,7 @@
|
|||
"support"
|
||||
],
|
||||
"fetch/http-cache/cc-request.html": [
|
||||
"d4417b8fd444362a3f217d1c95d37811a608e1a7",
|
||||
"2002d341679139428e164cfe916dd39b9b664a3e",
|
||||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/freshness.html": [
|
||||
|
@ -528592,7 +528592,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/heuristic.html": [
|
||||
"5b0d55f891cb2e235456cd65f4e9f63e07999410",
|
||||
"63837026eb6085fc7d6220c3dcab200b4bcd1eca",
|
||||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/http-cache.js": [
|
||||
|
@ -528604,7 +528604,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/partial.html": [
|
||||
"243e57c39f9e45e3e2acf845b36f3a140e3763bc",
|
||||
"685057fe8876321a5d42bcf1e7582e6f0b745f85",
|
||||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/resources/http-cache.py": [
|
||||
|
@ -528616,7 +528616,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"fetch/http-cache/vary.html": [
|
||||
"fa9a2e0554671bf2de5826e66ac0ea73de28d530",
|
||||
"45f337270cfa90932c7469802655e313367ac92f",
|
||||
"testharness"
|
||||
],
|
||||
"fetch/nosniff/image.html": [
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[304.htm]
|
||||
type: testharness
|
||||
[A 304 response with no CORS headers inherits from the stored response]
|
||||
expected: FAIL
|
||||
|
||||
[A 304 can expand Access-Control-Expose-Headers]
|
||||
expected: FAIL
|
||||
|
||||
[A 304 can contract Access-Control-Expose-Headers]
|
||||
expected: FAIL
|
||||
|
||||
[A 304 can change Access-Control-Allow-Origin]
|
||||
expected: FAIL
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
[accept-header.any.html]
|
||||
type: testharness
|
||||
[Request through fetch should have 'accept' header with value 'custom/*']
|
||||
expected: FAIL
|
||||
|
||||
[Request through fetch should have 'accept-language' header with value 'bzh']
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[accept-header.any.worker.html]
|
||||
type: testharness
|
||||
[Request through fetch should have 'accept' header with value 'custom/*']
|
||||
expected: FAIL
|
||||
|
||||
[Request through fetch should have 'accept-language' header with value 'bzh']
|
||||
expected: FAIL
|
||||
|
|
@ -39,12 +39,6 @@
|
|||
[Fetch with Chicken with body]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch with TacO and mode "same-origin" needs an Origin header]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch with TacO and mode "cors" needs an Origin header]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[request-headers.any.worker.html]
|
||||
type: testharness
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
[cors-preflight-star.any.html]
|
||||
type: testharness
|
||||
[CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test)]
|
||||
expected: FAIL
|
||||
|
||||
[CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *)]
|
||||
expected: FAIL
|
||||
|
||||
[CORS that fails with credentials: true; method: GET (allowed: get); header: X-Test,1 (allowed: *)]
|
||||
expected: FAIL
|
||||
|
||||
[CORS that fails with credentials: true; method: GET (allowed: *); header: X-Test,1 (allowed: *)]
|
||||
expected: FAIL
|
||||
|
||||
[CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,47 +1,17 @@
|
|||
[cors-preflight.any.html]
|
||||
type: testharness
|
||||
[CORS [PATCH\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: allowed\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: refused\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [several headers\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [several headers\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [PUT\] [several headers\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cors-preflight.any.worker.html]
|
||||
type: testharness
|
||||
[CORS [PATCH\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [NEW\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: allowed\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [x-test-header: refused\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [several headers\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [GET\] [several headers\], server refuses]
|
||||
expected: FAIL
|
||||
|
||||
[CORS [PUT\] [several headers\], server allows]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,185 +0,0 @@
|
|||
[cors-redirect-preflight.any.html]
|
||||
type: testharness
|
||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cors-redirect-preflight.any.worker.html]
|
||||
type: testharness
|
||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 301: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 302: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 303: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 307: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: same origin to cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to same origin (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors (preflight after redirection success case)]
|
||||
expected: FAIL
|
||||
|
||||
[Redirect 308: cors to another cors (preflight after redirection failure case)]
|
||||
expected: FAIL
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[authentication-basic.any.html]
|
||||
type: testharness
|
||||
[User-added Authorization header with include mode]
|
||||
expected: FAIL
|
||||
|
||||
[User-added Authorization header with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[User-added Authorization header with omit mode]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[authentication-basic.any.worker.html]
|
||||
type: testharness
|
||||
[User-added Authorization header with include mode]
|
||||
expected: FAIL
|
||||
|
||||
[User-added Authorization header with same-origin mode]
|
||||
expected: FAIL
|
||||
|
||||
[User-added Authorization header with omit mode]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[request-cache-default-conditional.html]
|
||||
type: testharness
|
||||
disabled: https://github.com/servo/servo/issues/13441
|
|
@ -1,11 +0,0 @@
|
|||
[request-cache-default.html]
|
||||
type: testharness
|
||||
[RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
[request-cache-force-cache.html]
|
||||
type: testharness
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Last-Modified and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "force-cache" stores the response in the cache if it goes to the network with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
[request-cache-only-if-cached.html]
|
||||
type: testharness
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[request-cache-reload.html]
|
||||
type: testharness
|
||||
[RequestCache "reload" mode does store the response in the cache with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
||||
[RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Last-Modified and fresh response]
|
||||
expected: FAIL
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[304-update.html]
|
||||
type: testharness
|
||||
[HTTP cache updates returned headers from a Last-Modified 304.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache updates stored headers from a Last-Modified 304.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache updates returned headers from a ETag 304.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache updates stored headers from a ETag 304.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,11 +1,5 @@
|
|||
[cc-request.html]
|
||||
type: testharness
|
||||
[HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
[freshness.html]
|
||||
type: testharness
|
||||
[HTTP cache reuses a response with a future Expires.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a response with positive Cache-Control: max-age.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a response with positive Cache-Control: max-age and a past Expires.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a response with positive Cache-Control: max-age and an invalid Expires.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache stores a response with Cache-Control: no-cache, but revalidates upon use.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache stores a response with Cache-Control: no-cache, but revalidates upon use, even with max-age and Expires.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
[heuristic.html]
|
||||
type: testharness
|
||||
[HTTP cache reuses an unknown response with Last-Modified based upon heuristic freshness when Cache-Control: public is present.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 200 OK response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 203 Non-Authoritative Information response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 204 No Content response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 404 Not Found response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 405 Method Not Allowed response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 410 Gone response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 414 URI Too Long response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses a 501 Not Implemented response with Last-Modified based upon heuristic freshness.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[invalidate.html]
|
||||
type: testharness
|
||||
[HTTP cache does not invalidate after a failed response from an unsafe request]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache invalidates after a successful response from an unknown method]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache does not invalidate Location URL after a failed response from an unsafe request]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache invalidates Location URL after a successful response from an unknown method]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache does not invalidate Content-Location URL after a failed response from an unsafe request]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache invalidates Content-Location URL after a successful response from an unknown method]
|
||||
expected: FAIL
|
||||
|
|
@ -1,13 +1,5 @@
|
|||
[partial.html]
|
||||
type: testharness
|
||||
[HTTP cache stores partial content and reuses it.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache stores complete response and serves smaller ranges from it.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache stores partial response and serves smaller ranges from it.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache stores partial content and completes it.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
[status.html]
|
||||
type: testharness
|
||||
[HTTP cache avoids going to the network if it has a fresh 200 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 203 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 204 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 299 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 400 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 404 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 410 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 499 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 500 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 502 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 503 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 504 response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache avoids going to the network if it has a fresh 599 response.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
[vary.html]
|
||||
type: testharness
|
||||
[HTTP cache reuses Vary response when request matches.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache doesn't invalidate existing Vary response.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache doesn't pay attention to headers not listed in Vary.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses two-way Vary response when request matches.]
|
||||
expected: FAIL
|
||||
|
||||
[HTTP cache reuses three-way Vary response when request matches.]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue