| Tests that responses with 'content-disposition: attachment' are cacheable |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| running 2 tests |
| |
| --------Testing loads from disk cache-------- |
| response headers: {"Cache-control":"max-age=0","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=100","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Disk cache |
| |
| --------Testing loads through memory cache (XHR behavior)-------- |
| response headers: {"Cache-control":"max-age=0","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=100","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Memory cache |
| |
| --------Testing loads through memory cache (subresource behavior)-------- |
| response headers: {"Cache-control":"max-age=0","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Network |
| |
| response headers: {"Cache-control":"max-age=100","Content-Disposition":"attachment; filename=\"f.txt\""} |
| response source: Memory cache |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |