summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/postmessage-config.html
blob: 3c20190420028c2a0ce9117a18d7ace6b6526714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<script src="utils.js"></script>
<title>A page opened in a pop-up that sends a FencedFrameConfig</title>
<script>
  async function init() {
    const [key] = parseKeylist();

    const config = await generateURNFromFledge(
          "embeddee.html", [key], [], true);

    window.opener.postMessage(config, "*");
  }
  init();
</script>