chromium/third_party/blink/web_tests/http/tests/webmidi/midi-default-feature-policy.https.sub.html

<!DOCTYPE html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../resources/feature-policy-permissions-test.js></script>
<script type="module">
import {MockMIDIService} from './resources/mock-midiservice.js';

const mock = new MockMIDIService();

run_permission_default_header_policy_tests(
  location.protocol + '//localhost:' + location.port,
  'midi-sysex',
  'midi',
  'SecurityError',
  function() {
    return navigator.requestMIDIAccess();
  }
);

</script>
</body>