chromium/third_party/blink/web_tests/http/tests/priority-hints/fetch-api-use-counter.html

<script src=resources/common.js></script>
<script src=../resources/testharness.js></script>
<script src=../resources/testharnessreport.js></script>

<script>
  test(t => {
    t.add_cleanup(clearUseCounter);
    assert_false(internals.isUseCounted(document, kPriorityHints),
                 'Priority Hints is not use-counted before Request is ' +
                 'constructed');
    const request = new Request("", {priority: 'low'});
    assert_true(internals.isUseCounted(document, kPriorityHints),
                'Priority Hints is not use-counted before Request is ' +
                'constructed');
  }, 'Priority Hints is use-counted when a Request is constructed with ' +
     'RequestInit containing the priority member');
</script>