Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / harness / override-preferences.html
blobdb67ff30dcb81351b5b8163d5e25209132cd385e
1 <html>
2 <body>
3 <script>
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";
13 </script>
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>
17 </body>
18 </html>