Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-no-cache.html

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Request cache : no-cache</title>
6 <meta name="help" href="https://fetch.spec.whatwg.org/#request">
7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script>
9 <script src="/common/utils.js"></script>
10 <script src="/common/get-host-info.sub.js"></script>
11 <script src="request-cache.js"></script>
12 </head>
13 <body>
14 <script>
15 var tests = [
16 {
17 name: 'RequestCache "no-cache" mode revalidates stale responses found in the cache',
18 state: "stale",
19 request_cache: ["default", "no-cache"],
20 expected_validation_headers: [false, true],
21 expected_no_cache_headers: [false, false],
22 expected_max_age_headers: [false, true],
23 },
24 {
25 name: 'RequestCache "no-cache" mode revalidates fresh responses found in the cache',
26 state: "fresh",
27 request_cache: ["default", "no-cache"],
28 expected_validation_headers: [false, true],
29 expected_no_cache_headers: [false, false],
30 expected_max_age_headers: [false, true],
31 },
32 ];
33 run_tests(tests);
34 </script>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698