blob: 523589ac75e4787ff0d51c68d74cb64efb5f9a2f [file] [log] [blame]
<html>
<body>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText()
layoutTestController.overridePreference("WebKitJavaScriptEnabled", false);
}
function loadstatus() {
if (window.layoutTestController)
document.getElementById("status").innerHTML = "FAIL";
}
</script>
<body onload="loadstatus()">
<p>This is a test that verifies that layoutTestController can have its default preferences overridden. This test specifically checks that Javascript can be disabled, and you should see "PASS" below if viewing with a browser.</p>
<span id="status">PASS</span>
</body>
</html>