chromium/third_party/blink/web_tests/http/tests/priorities/resources/preload/as-script.html

<script src="../common.js"></script>
<script>
  observeAndReportResourceLoadPriority(new URL('../../../resources/dummy.js', location));
</script>

<link rel="preload" as="script" href="../../../resources/dummy.js" onload="reportLoaded()" onerror="reportFailure()">