blob: 015707c0ecb536aa37b049a1a1883b25988f4b21 [file] [log] [blame]
<!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 '/wpt_internal/webmidi/resources/mock-midiservice.js';
const mock = new MockMIDIService();
run_permission_default_header_policy_tests(
location.protocol + '//localhost:' + location.port,
'midi',
'SecurityError',
function() {
return navigator.requestMIDIAccess();
}
);
</script>
</body>