summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/test/browser_toolbox_options_disable_js_iframe.html
blob: 5006d24c9a2e7d8da5a70f7b5b8547df3523c46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
  <head>
    <title>browser_toolbox_options_disablejs.html</title>
    <meta charset="UTF-8">
    <style>
      div {
        width: 260px;
        height: 24px;
        border: 1px solid #000;
        margin-top: 10px;
      }
    </style>
    <script type="application/javascript">
      /* exported log */
      function log(msg) {
        const output = document.getElementById("output");

        output.innerHTML = msg;
      }
    </script>
  </head>
  <body>
    <input id="logJSEnabled"
           type="button"
           value="Log JS Enabled"
           onclick="log('JavaScript Enabled')"/>
    <input id="logJSDisabled"
           type="button"
           value="Log JS Disabled"
           onclick="log('JavaScript Disabled')"/>
    <br>
    <div id="output">No output</div>
  </body>
</html>