Disallow loading webarchives as iframes
[WebKit-https.git] / LayoutTests / webarchive / loading / test-loading-archive-subresource-null-mimetype.html
1 <html>
2 <script>
3     if (window.testRunner) {
4         testRunner.dumpResourceLoadCallbacks();
5         testRunner.dumpAsText();
6         testRunner.waitUntilDone();
7     }
8     if (window.internals)
9         internals.setAlwaysAllowLocalWebarchive();
10     function frameLoaded() {
11         if (window.testRunner)
12             testRunner.notifyDone();
13     }
14 </script>
15 <body>
16     <iframe onload="frameLoaded();" src="resources/subresource-null-mimetype.webarchive"></iframe>
17     This tests that doing a normal load of a webarchive with a null mimetype for a subresource does not crash.
18 </body>
19 </html>