chromium/chrome/test/data/extensions/declarative_net_request/child_frame.html

<html>
  <head>
  </head>
  <body>
    <script type="text/javascript">
      let params = (new URL(document.location)).searchParams;
      let frameId = 'none';
      if (params.has('frame'))
        frameId = params.get('frame');

      var script = document.createElement('script');
      script.src = 'subresources/script.js?frameId=' + frameId;
      document.body.appendChild(script);
    </script>
  </body>
</html>