blob: b4e07ea28596c08d4ed1f43ed5c461dfff3b26d8 [file] [log] [blame] [edit]
<html><!-- webkit-test-runner [ AlwaysAllowLocalWebarchive=true ] -->
<script>
if (window.testRunner) {
testRunner.dumpFrameLoadCallbacks();
testRunner.dumpResourceLoadCallbacks();
testRunner.waitUntilDone();
}
if (window.internals)
internals.setAlwaysAllowLocalWebarchive(true);
function frameLoaded() {
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body>
<iframe onload="frameLoaded();" src="resources/cache-expired-subresource.webarchive"></iframe><br>
This tests that loading a webarchive with a subresource that has an expired cache header does not attempt to hit the network for resource, and actually uses the archived data
</body>
</html>