chromium/components/test/data/subresource_filter/frame_with_delayed_script.html

<html>
  <head>
  <script type="text/javascript">
     function insertScriptElementAndReportSuccess() {
       var s = document.createElement("script");
       s.type = "text/javascript"
       s.src = "included_script.js";
       return new Promise(resolve => {
        s.onload = () => { resolve(true); }
        s.onerror = () => { resolve(false); }
        document.head.appendChild(s);
       });
     }
  </script>
  </head>
</html>