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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-no-store.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 store</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-store" mode does not check the cache for previou sly cached content and goes to the network regardless',
18 state: "stale",
19 request_cache: ["default", "no-store"],
20 expected_validation_headers: [false, false],
21 expected_no_cache_headers: [false, true],
22 },
23 {
24 name: 'RequestCache "no-store" mode does not check the cache for previou sly cached content and goes to the network regardless',
25 state: "fresh",
26 request_cache: ["default", "no-store"],
27 expected_validation_headers: [false, false],
28 expected_no_cache_headers: [false, true],
29 },
30 {
31 name: 'RequestCache "no-store" mode does not store the response in the c ache',
32 state: "stale",
33 request_cache: ["no-store", "default"],
34 expected_validation_headers: [false, false],
35 expected_no_cache_headers: [true, false],
36 },
37 {
38 name: 'RequestCache "no-store" mode does not store the response in the c ache',
39 state: "fresh",
40 request_cache: ["no-store", "default"],
41 expected_validation_headers: [false, false],
42 expected_no_cache_headers: [true, false],
43 },
44 ];
45 run_tests(tests);
46 </script>
47 </body>
48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698