summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/director-script-target.html
blob: c436a5446cbe97612543b7b461522a081aa0f45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
  <head>
    <script>
      /* exported globalAccessibleVar */
      "use strict";
      // change the eval function to ensure the window object
      // in the debug-script is correctly wrapped
      // eslint-disable-next-line no-eval
      window.eval = function() {
        return "unsecure-eval-called";
      };
      var globalAccessibleVar = "global-value";
    </script>
  </head>
  <body>
    <h1>debug script target</h1>
  </body>
</html>