Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: third_party/WebKit/LayoutTests/webmidi/loopback-receive.html

Issue 2116763002: Reland: Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for second attempt Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/LayoutTests/webmidi/permission.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
});
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/LayoutTests/webmidi/permission.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698