chromium/third_party/blink/web_tests/http/tests/priorities/resources/fetch.html

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

  fetch(url)
    .then(reportLoaded, reportFailure);
</script>