blob: 1ab393af25c8f2c7770a4e70ba5dcf4da3cd4128 [file] [log] [blame]
Test that responses with HTTP status code 307 which are not cacheable by default
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
running 6 tests
--------Testing loads from disk cache--------
response headers: {"Status":"307"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=100"}
response source: Disk cache
response headers: {"Status":"307","Expires":"now(0)"}
response source: Network
response headers: {"Status":"307","Expires":"now(100)"}
response source: Disk cache
response headers: {"Status":"307","Last-Modified":"now(-1000)"}
response source: Network
--------Testing loads through memory cache (XHR behavior)--------
response headers: {"Status":"307"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"307","Expires":"now(0)"}
response source: Network
response headers: {"Status":"307","Expires":"now(100)"}
response source: Memory cache
response headers: {"Status":"307","Last-Modified":"now(-1000)"}
response source: Memory cache
--------Testing loads through memory cache (subresource behavior)--------
response headers: {"Status":"307"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=0"}
response source: Network
response headers: {"Status":"307","Cache-control":"max-age=100"}
response source: Memory cache
response headers: {"Status":"307","Expires":"now(0)"}
response source: Network
response headers: {"Status":"307","Expires":"now(100)"}
response source: Memory cache
response headers: {"Status":"307","Last-Modified":"now(-1000)"}
response source: Memory cache
PASS successfullyParsed is true
TEST COMPLETE