chromium/chrome/test/data/extensions/api_test/messaging/connect_fenced_frames/main.html

<fencedframe></fencedframe>
<script>
  const url = new URL("fenced_frame.html", location.href);
  document.querySelector("fencedframe").config = new FencedFrameConfig(url);
</script>