| 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 93b0029db2ff367d3af4c0dc98ba3a33aad55a1c..81a9b7c720554efd9fb8fbf9fb518c0bf366bf09 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
|
| @@ -243,6 +243,14 @@ public class WebViewLayoutTest
|
| "blink-apis/battery-status/battery-callback-expected.txt");
|
| }
|
|
|
| + @MediumTest
|
| + public void testEMEPermission() throws Exception {
|
| + mTestActivity.setGrantPermission(true);
|
| + runWebViewLayoutTest("blink-apis/eme/eme.html", "blink-apis/eme/eme-expected.txt");
|
| + mTestActivity.setGrantPermission(false);
|
| + }
|
| +
|
| +
|
| // test helper methods
|
|
|
| private void runWebViewLayoutTest(final String fileName, final String fileNameExpected)
|
|
|