20 lines
631 B
HTML
20 lines
631 B
HTML
<html>
|
|
<script>
|
|
if (window.testRunner) {
|
|
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>
|