summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/chrome/inspector-template.html
blob: 13c9d5c7d3db9034bb208c9f0d21fb87a7c0bbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<body>
  <template>
    <p>template content</p>
  </template>
  <div></div>
  <script>
    "use strict";

    const template = document.querySelector("template");
    const clone = document.importNode(template.content, true);
    document.querySelector("div").appendChild(clone);

    window.opener.postMessage("ready", "*");
  </script>
</body>
</html>