Disallow loading webarchives as iframes
[WebKit-https.git] / LayoutTests / webarchive / loading / missing-data.html
1 <script>
2     if (window.testRunner) {
3         testRunner.waitUntilDone();
4         testRunner.dumpAsText();
5     }
6     if (window.internals)
7         internals.setAlwaysAllowLocalWebarchive();
8     onload = function() {
9         frame = document.createElement("iframe");
10         frame.src = "resources/missing-data.webarchive";
11         frame.onload = function() {
12             if (window.testRunner)
13                 testRunner.notifyDone();
14         }
15         document.body.appendChild(frame);
16     }
17 </script>