summaryrefslogtreecommitdiffstats
path: root/devtools/shared/commands/resource/tests/doc_console.html
blob: ee883cf47d8216eb506ad981242dcac78adf7266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf8">
  <title>Test document for console</title>
  <!-- Any copyright is dedicated to the Public Domain.
     - http://creativecommons.org/publicdomain/zero/1.0/ -->
</head>
  <body>
    <p>Test document for console</p>

    <iframe src="data:text/html;charset=utf-8,foo<script>console.log('data url data log')</script>"></iframe>
    <script>
    "use strict";
      console.log("top-level document log");
    </script>
  </body>
</html>