Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cache / iframe-304-crash.html
blobbcf35493a91cba6fd9e47eec1964a3e16eb6359b
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.dumpResourceLoadCallbacks();
7 testRunner.waitUntilDone();
10 function removeAndReplaceIframe() {
11 document.body.removeChild(document.getElementById("iframe"));
12 var newIframe = document.createElement("iframe");
13 newIframe.src = "resources/iframe304.php";
14 newIframe.onload = function() { setTimeout(finish, 0); }
15 document.body.appendChild(newIframe);
18 function finish() {
19 if (window.testRunner)
20 testRunner.notifyDone();
22 </script>
23 </head>
24 <body onload="setTimeout(removeAndReplaceIframe, 0)">
25 <iframe id="iframe" src="resources/iframe304.php"></iframe>
26 </body>
27 </html>