blob: c0a5eb0b61c474bd3bd9be983ec5adba5479495f [file] [log] [blame]
Test permutations of various cache headers when using back navigation cache policy
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
running 54 tests
response headers: undefined
response source: Disk cache
response headers: {"Cache-control":"max-age=0"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Cache-control":"no-store"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store"}
response source: Network
response headers: {"Cache-control":"no-cache"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache"}
response source: Disk cache
response headers: {"ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"no-store","ETag":"match"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store","ETag":"match"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store","ETag":"match"}
response source: Network
response headers: {"Cache-control":"no-cache","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache","ETag":"match"}
response source: Disk cache
response headers: {"ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"no-store","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"no-cache","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"no-store, must-revalidate"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store, must-revalidate"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store, must-revalidate"}
response source: Network
response headers: {"Cache-control":"no-cache, must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache, must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache, must-revalidate"}
response source: Disk cache
response headers: {"ETag":"match","Cache-control":"must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, must-revalidate","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, must-revalidate","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"no-store, must-revalidate","ETag":"match"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store, must-revalidate","ETag":"match"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store, must-revalidate","ETag":"match"}
response source: Network
response headers: {"Cache-control":"no-cache, must-revalidate","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache, must-revalidate","ETag":"match"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache, must-revalidate","ETag":"match"}
response source: Disk cache
response headers: {"ETag":"nomatch","Cache-control":"must-revalidate"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, must-revalidate","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, must-revalidate","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"no-store, must-revalidate","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"max-age=0, no-store, must-revalidate","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"max-age=100, no-store, must-revalidate","ETag":"nomatch"}
response source: Network
response headers: {"Cache-control":"no-cache, must-revalidate","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=0, no-cache, must-revalidate","ETag":"nomatch"}
response source: Disk cache
response headers: {"Cache-control":"max-age=100, no-cache, must-revalidate","ETag":"nomatch"}
response source: Disk cache
PASS successfullyParsed is true
TEST COMPLETE