summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/director-script-target.html
blob: 0b0b56d64022ea0ef47020e375f85b19747a6a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
  <head>
    <script>
      // change the eval function to ensure the window object in the debug-script is correctly wrapped
      window.eval = function () {
        return "unsecure-eval-called";
      };

      var globalAccessibleVar = "global-value";
    </script>
  </head>
  <body>
    <h1>debug script target</h1>
  </body>
</html>