summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/devtools/addon/content/pages/custom/debugger/app-build/index.html
blob: 9e1f3afdb6bfa35530583afc9b0f8458518aa0a4 (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
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>iframe wrapper for the debugger custom page</title>
  <style type="text/css">
    html, body {
      height: 100%;
      width: 100%;
    }
    iframe {
      border-style: none;
      height: 100%;
      position: absolute;
      width: 100%;
    }
  </style>
</head>
<body>

  <!-- For now we load the iframe in the same site as the damp top frame.
       We will switch to a different-site URL (eg http://damp.iframe.com) when
       DevTools work against remote frames. -->
  <iframe src="http://damp.top.com/tests/devtools/addon/content/pages/custom/debugger/app-build/iframe.html"></iframe>

  <script>
    // We are using eval + sourceURL in order to prevent doing any HTTP request
    // and speed up the test runtime.
    for(let i = 0; i < 500; i++) {
      eval("function evalScript() {} //# sourceURL=eval/eval-script-" + i +".js");
    }
  </script>
</body>
</html>