blob: 538c9af3aba899d6a0f3b57102b3c5f50ab3904d [file] [log] [blame]
<body onload="test()">
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=26764">bug 26764</a>:
Uncaught NOT_FOUND_ERR: DOMException 8 loading empty text file.</p>
<div id=result></div>
<iframe src="empty.txt"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test()
{
document.getElementById("result").innerHTML = frames[0].document.documentElement ? "PASS" : "FAIL";
}
</script>
</body>