Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cache / subresource-expiration-1.html
blob74ff150198bfa13341a6e0d043f69ee4cd37bef8
1 <body>
2 <script src=resources/subresource-test.js></script>
3 <script>
5 tests = [
7 description: 'No cache headers or Last-modified header',
8 expectedResult: 'Uncached',
9 },
11 testHeaders: {
12 'Expires': '[now+10s]',
14 expectedResult: 'Cached',
17 testHeaders: {
18 'Expires': '[now-10s]',
20 expectedResult: 'Uncached',
23 testHeaders: {
24 'Expires': '[now+10s]',
25 'Cache-control': 'must-revalidate',
27 expectedResult: 'Cached',
30 testHeaders: {
31 'Expires': '[now+10s]',
32 'Cache-control': 'no-cache',
34 expectedResult: 'Uncached',
37 testHeaders: {
38 'Expires': '[now+10s]',
39 'Cache-control': 'no-store',
41 expectedResult: 'Uncached',
44 testHeaders: {
45 'Expires': '[now+10s]',
46 'Pragma': 'no-cache',
48 expectedResult: 'Uncached',
51 testHeaders: {
52 'Cache-control': 'max-age=10',
54 expectedResult: 'Cached',
57 testHeaders: {
58 'Cache-control': 'max-age=0',
60 expectedResult: 'Uncached',
63 testHeaders: {
64 'Cache-control': 'max-age=1',
66 delay: 1.5,
67 expectedResult: 'Uncached',
70 testHeaders: {
71 'Cache-control': 'max-age=10, no-cache',
73 expectedResult: 'Uncached',
77 runTests();
79 </script>