summaryrefslogtreecommitdiffstats
path: root/browser/components/extensions/test/browser/file_inspectedwindow_eval.html
blob: 04128d9ef37a563814eb5c47d02b8ec2ffdd6f46 (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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <script>
      "use strict";

      // eslint-disable-next-line no-unused-vars
      function test_inspect_function() {
        // a function to inspect using `inspect(test_inspect_function)`,
        // the related test case asserts that it is defined at line 9
        // of this file.
      }

      function test_bound_target() {
        // Another function to inspect, expected to be located at line 15.
      }

      window.test_bound_function = test_bound_target.bind(window);
    </script>
  </head>
  <body>
    <div id="container">
      <span id="nested-container">
        <a id="link-to-inspect" href="#link-ref">link to inspect</a>
      </span>
    </div>
  </body>
</html>