blob: f65a08796917aae5b2ccff72a95e2ff2f61278e5 [file] [log] [blame]
<html>
<head>
<title>Test crash on directory display</title>
<script>
function directoryTest() {
if (window.testRunner)
testRunner.dumpAsText();
var result = document.getElementById("result");
var directoryDocument = document.getElementById("myDirectory").contentDocument;
if (directoryDocument)
result.innerHTML = "PASS: Local directory loaded.";
else
result.innerHTML = "FAIL: Local directory cannot be listed.";
}
</script>
</head>
<body>
<p>This test is to see if a local directory index can be diplayed.</p>
<p id="result">
Test has not run.
</p>
<iframe id="myDirectory" src="resources/directory" width="600px" height="400px" onload="directoryTest()"/>
</body>
</html>