haikuwebkit/ManualTests/disable-javascript-reload.html

22 lines
475 B
HTML

<html>
<head>
<script>
function test()
{
document.getElementById("manualDirections").setAttribute("style","display:block;");
document.getElementById("console").innerHTML = "FAIL - disabled javascript hasn't been applied to refreshed webpage";
}
</script>
</head>
<body onload="test();">
<div id="manualDirections" style="display:none;">
To run this test manually, disable javascript and reload the page.
<br><br>
</div>
<div id="console">
PASS
</div>
</body
</html>