haikuwebkit/LayoutTests/webarchive/loading/test-loading-archive-subres...

20 lines
595 B
HTML

<html>
<script>
if (window.testRunner) {
testRunner.dumpResourceLoadCallbacks();
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
if (window.internals)
internals.setAlwaysAllowLocalWebarchive(true);
function frameLoaded() {
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body>
<iframe onload="frameLoaded();" src="resources/subresource-null-mimetype.webarchive"></iframe>
This tests that doing a normal load of a webarchive with a null mimetype for a subresource does not crash.
</body>
</html>