chromium/fuchsia_web/webengine/test/data/popup_parent.html

<html>
  <head><title>Popup parent</title></head>
  <body>
    <script>
      function getChildUrl(parentUrl) {
        const search_string = "?child_url=";

        let index = parentUrl.indexOf(search_string);
        if (index <= 0) {
          document.title = 'FAILED: No child URL specified'
          return document.title;
        }
        
        return parentUrl.substring(index + search_string.length);
      }

      window.open(getChildUrl(window.location.href));
    </script>
  </body>
</html>