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

Unified Diff: android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java

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 | « no previous file | android_webview/tools/system_webview_shell/test/data/blink-apis/webmidi/requestmidiaccess.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java
diff --git a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java b/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java
index a99c1b20a29deaf1e927ddd03f3f262a37528277..470061c5a47dc3f50e65e8b38f022e72f0acd645 100644
--- a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java
+++ b/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java
@@ -203,16 +203,22 @@ public class WebViewLayoutTest
@MediumTest
public void testRequestMIDIAccess() throws Exception {
- mTestActivity.setGrantPermission(true);
runWebViewLayoutTest("blink-apis/webmidi/requestmidiaccess.html",
"blink-apis/webmidi/requestmidiaccess-expected.txt");
+ }
+
+ @MediumTest
+ public void testRequestMIDIAccessWithSysex() throws Exception {
+ mTestActivity.setGrantPermission(true);
+ runWebViewLayoutTest("blink-apis/webmidi/requestmidiaccess-with-sysex.html",
+ "blink-apis/webmidi/requestmidiaccess-with-sysex-expected.txt");
mTestActivity.setGrantPermission(false);
}
@MediumTest
public void testRequestMIDIAccessDenyPermission() throws Exception {
runWebViewLayoutTest("blink-apis/webmidi/requestmidiaccess-permission-denied.html",
- "blink-apis/webmidi/requestmidiaccess-permission-denied-expected.html");
+ "blink-apis/webmidi/requestmidiaccess-permission-denied-expected.txt");
}
// Blink platform API tests
« no previous file with comments | « no previous file | android_webview/tools/system_webview_shell/test/data/blink-apis/webmidi/requestmidiaccess.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698