blob: d4a547631a324565c7169bbfee4010bac6666794 [file] [log] [blame]
cdumez@apple.com55c830f2019-09-06 04:51:31 +00001Test that Vary: Cookie in response is handled by caches.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6Testing disk cache
7Testing memory cache in private browsing
8Setting cookie and loading
9response headers: {"Cache-control":"max-age=100"}
10response source: Network
11
12response headers: {"Vary":"Cookie","Cache-control":"max-age=100"}
13response source: Network
14
15Loading again
16response headers: {"Cache-control":"max-age=100"}
17response source: Memory cache
18
19response headers: {"Vary":"Cookie","Cache-control":"max-age=100"}
20response source: Memory cache
21
22Changing cookie and loading
23response headers: {"Cache-control":"max-age=100"}
24response source: Memory cache
25
26response headers: {"Vary":"Cookie","Cache-control":"max-age=100"}
27response source: Network
28
29Loading again
30response headers: {"Cache-control":"max-age=100"}
31response source: Memory cache
32
33response headers: {"Vary":"Cookie","Cache-control":"max-age=100"}
34response source: Memory cache
35
36PASS successfullyParsed is true
37
38TEST COMPLETE
39