| Test that Vary: Cookie in response is handled by caches. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| Testing disk cache |
| Testing memory cache in private browsing |
| Setting cookie and loading |
| response headers: {"Cache-control":"max-age=100"} |
| response source: Network |
| |
| response headers: {"Vary":"Cookie","Cache-control":"max-age=100"} |
| response source: Network |
| |
| Loading again |
| response headers: {"Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Vary":"Cookie","Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| Changing cookie and loading |
| response headers: {"Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Vary":"Cookie","Cache-control":"max-age=100"} |
| response source: Network |
| |
| Loading again |
| response headers: {"Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| response headers: {"Vary":"Cookie","Cache-control":"max-age=100"} |
| response source: Memory cache |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |