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

Unified Diff: third_party/WebKit/LayoutTests/webmidi/send-messages.html

Issue 2129913005: Revert of Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/LayoutTests/webmidi/send-messages.html
diff --git a/third_party/WebKit/LayoutTests/webmidi/send-messages.html b/third_party/WebKit/LayoutTests/webmidi/send-messages.html
index 2073dce820b1b02274b9a3e1cd679712dfba50f5..bac50ee2a029a7928776ed6f22ea45b6549764bb 100644
--- a/third_party/WebKit/LayoutTests/webmidi/send-messages.html
+++ b/third_party/WebKit/LayoutTests/webmidi/send-messages.html
@@ -13,8 +13,7 @@
window.jsTestIsAsync = true;
-Promise.all([PermissionsHelper.setPermission('midi', 'granted'),
- PermissionsHelper.setPermission('midi-sysex', 'granted')]).then(function() {
+PermissionsHelper.setPermission('midi-sysex', 'granted').then(function() {
return navigator.requestMIDIAccess({sysex: true});
}).then(function(a) {
output = a.outputs.values().next().value;
« no previous file with comments | « third_party/WebKit/LayoutTests/webmidi/permission.html ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698