Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cache / subresource-expiration-2.html
blob79756006de55bcfb664cb8af1f4103d0380d7a11
1 <body>
2 <script src=resources/subresource-test.js></script>
3 <script>
5 tests = [
7 testHeaders: {
8 'Cache-control': 'max-age=10, no-store',
9 },
10 expectedResult: 'Uncached',
13 testHeaders: {
14 'Cache-control': 'max-age=10, no-cache="Set-Cookie"',
16 expectedResult: 'Cached',
19 testHeaders: {
20 'Cache-control': 'max-age=10, must-revalidate',
22 expectedResult: 'Cached',
25 testHeaders: {
26 'Age': '100',
27 'Cache-control': 'max-age=10',
29 expectedResult: 'Uncached',
32 testHeaders: {
33 'Age': '1',
34 'Cache-control': 'max-age=10',
36 expectedResult: 'Cached',
39 testHeaders: {
40 'Cache-control': 'max-age=10',
41 'Pragma': 'no-cache',
43 expectedResult: 'Uncached',
46 testHeaders: {
47 'Cache-control': 'max-age=0, private, must-revalidate, max-age=60',
49 expectedResult: 'Uncached',
52 testHeaders: {
53 'Cache-control': 'max-age=60, private, must-revalidate, max-age=0',
55 expectedResult: 'Cached',
58 testHeaders: {
59 'Expires': '[now-10s]',
60 'Cache-control': 'max-age=10'
62 expectedResult: 'Cached',
65 testHeaders: {
66 'Expires': '[now+10s]',
67 'Cache-control': 'max-age=0'
69 expectedResult: 'Uncached',
72 testHeaders: {
73 'Last-modified': '[now-3600s]',
75 delay: 1.5,
76 expectedResult: 'Cached',
79 testHeaders: {
80 'Last-modified': '[now-10s]',
82 delay: 1.5,
83 expectedResult: 'Uncached',
86 testHeaders: {
87 'Last-modified': '[now+10s]',
89 expectedResult: 'Uncached',
93 runTests();
95 </script>