blob: 36a388c5f95b381fc6bd8b565ea17cf4e9852e57 [file] [edit]
<!-- webkit-test-runner [ dumpResourceLoadCallbacks=true ] -->
<html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest() {
testRunner.dumpWillCacheResponse();
var f = document.createElement('iframe');
f.src = "resources/willCacheResponse-success.html";
f.onload = function() {
if (window.testRunner)
setTimeout(() => testRunner.notifyDone(), 0);
}
document.body.appendChild(f);
}
</script>
<body onLoad="setTimeout(runTest, 10);">
This tests for the willCacheResponse resource delegate callback as added for radar 5008925.<br>
The test is only meaningful if you are running it under DumpRenderTree<br>
</body>
</html>