Index: third_party/WebKit/LayoutTests/webmidi/loopback-receive.html |
diff --git a/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html b/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html |
index c3f6b0f24161f5100ece95d5f5c6cdda74d7be53..3b2423179b5f4f25d178fbdb43e65c822f31c605 100644 |
--- a/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html |
+++ b/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html |
@@ -73,7 +73,8 @@ function test(useAddEventListener) { |
}); |
} |
-PermissionsHelper.setPermission('midi-sysex', 'granted').then(function() { |
+Promise.all([PermissionsHelper.setPermission('midi', 'granted'), |
+ PermissionsHelper.setPermission('midi-sysex', 'granted')]).then(function() { |
test(false).then(test.bind(null, true)).then(finishJSTest, finishJSTest); |
}); |