4 if (window
.testRunner
) {
5 testRunner
.dumpAsText()
6 testRunner
.overridePreference("WebKitJavaScriptEnabled", false);
9 function loadstatus() {
10 if (window
.testRunner
)
11 document
.getElementById("status").innerHTML
= "FAIL";
14 <body onload=
"loadstatus()">
15 <p>This is a test that verifies that testRunner 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>
16 <span id=
"status">PASS
</span>