aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-05-08 03:19:53 +0200
committerGitHub <noreply@github.com>2023-05-08 03:19:53 +0200
commit897ecc5a19600e2e54ccc7ba75dcd8c271f1eade (patch)
tree1379c673f9cf4c2a3900373421628d056b7d9a3c /tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js
parent463e5f9d5a8e1e50cfc9a6258fc2b1ad2586a206 (diff)
parent9b45fdb3f514b3ad46466db01f20ecbd456601d9 (diff)
downloadservo-897ecc5a19600e2e54ccc7ba75dcd8c271f1eade.tar.gz
servo-897ecc5a19600e2e54ccc7ba75dcd8c271f1eade.zip
Auto merge of #29721 - servo:wpt_update_07-05-2023, r=jdm
Sync WPT with upstream (07-05-2023) Automated downstream sync of changes from upstream as of 07-05-2023 [no-wpt-sync] r? @servo-wpt-sync
Diffstat (limited to 'tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js')
-rw-r--r--tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js b/tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js
index fabc836fdba..8fbd6a903c4 100644
--- a/tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js
+++ b/tests/wpt/web-platform-tests/webmidi/idlharness.https.window.js
@@ -1,5 +1,7 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
+// META: script=/resources/testdriver.js
+// META: script=/resources/testdriver-vendor.js
// META: timeout=long
// https://webaudio.github.io/web-midi-api/
@@ -18,6 +20,8 @@ idl_test(
MIDIConnectionEvent: ['new MIDIConnectionEvent("type")'],
})
+ await test_driver.set_permission({name: 'midi'}, 'granted');
+
self.access = await navigator.requestMIDIAccess();
self.inputs = access.inputs;
self.outputs = access.outputs;