1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/framework/test/browser_toolbox_options_disable_js.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <title>browser_toolbox_options_disablejs.html</title> 1.8 + <meta charset="UTF-8"> 1.9 + <style> 1.10 + div { 1.11 + width: 260px; 1.12 + height: 24px; 1.13 + border: 1px solid #000; 1.14 + margin-top: 10px; 1.15 + } 1.16 + 1.17 + iframe { 1.18 + height: 90px; 1.19 + border: 1px solid #000; 1.20 + } 1.21 + 1.22 + h1 { 1.23 + font-size: 20px 1.24 + } 1.25 + </style> 1.26 + <script type="application/javascript;version=1.8"> 1.27 + function log(msg) { 1.28 + let output = document.getElementById("output"); 1.29 + 1.30 + output.innerHTML = msg; 1.31 + } 1.32 + </script> 1.33 + </head> 1.34 + <body> 1.35 + <h1>Test in page</h1> 1.36 + <input id="logJSEnabled" 1.37 + type="button" 1.38 + value="Log JS Enabled" 1.39 + onclick="log('JavaScript Enabled')"/> 1.40 + <input id="logJSDisabled" 1.41 + type="button" 1.42 + value="Log JS Disabled" 1.43 + onclick="log('JavaScript Disabled')"/> 1.44 + <br> 1.45 + <div id="output">No output</div> 1.46 + <h1>Test in iframe</h1> 1.47 + <iframe src="browser_toolbox_options_disable_js_iframe.html"></iframe> 1.48 + </body> 1.49 +</html>