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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java

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
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
index 1f33ef5bb36de1e63f9c7227af527440f65f5a38..b3841fb49963bfab9d338bbc7898888addf56bee 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwPermissionManagerTest.java
@@ -22,9 +22,9 @@
public class AwPermissionManagerTest extends AwTestBase {
private static final String REQUEST_DUPLICATE = "<html> <script>"
- + "navigator.requestMIDIAccess().then(function() {"
+ + "navigator.requestMIDIAccess({sysex: true}).then(function() {"
+ "});"
- + "navigator.requestMIDIAccess().then(function() {"
+ + "navigator.requestMIDIAccess({sysex: true}).then(function() {"
+ " window.document.title = 'second-granted';"
+ "});"
+ "</script><body>"
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698