[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.24
[framework/web/webkit-efl.git] / LayoutTests / fast / harness / override-preferences.html
1 <html>
2 <body>
3 <script>
4     if (window.layoutTestController) {
5         layoutTestController.dumpAsText()
6         layoutTestController.overridePreference("WebKitJavaScriptEnabled", false);
7     }
8
9     function loadstatus() {
10         if (window.layoutTestController)
11             document.getElementById("status").innerHTML = "FAIL";
12     }
13 </script>
14 <body onload="loadstatus()">
15     <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>
16     <span id="status">PASS</span>
17 </body>
18 </html>