| Index: chrome/browser/extensions/web_view_browsertest.cc
|
| diff --git a/chrome/browser/extensions/web_view_browsertest.cc b/chrome/browser/extensions/web_view_browsertest.cc
|
| index 158fc3e937287c9d1af7f7933a23b0fbed04096e..dbbb30eb9cbac6969ef092434f6961bc78e6d09c 100644
|
| --- a/chrome/browser/extensions/web_view_browsertest.cc
|
| +++ b/chrome/browser/extensions/web_view_browsertest.cc
|
| @@ -6,8 +6,8 @@
|
| #include "chrome/browser/automation/automation_util.h"
|
| #include "chrome/browser/extensions/platform_app_browsertest_util.h"
|
| #include "chrome/browser/ui/browser_tabstrip.h"
|
| -#include "chrome/test/base/ui_test_utils.h"
|
| #include "chrome/test/base/test_launcher_utils.h"
|
| +#include "chrome/test/base/ui_test_utils.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| @@ -608,3 +608,13 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, IndexedDBIsolation) {
|
| script, "db not found");
|
| ExecuteScriptWaitForTitle(default_tag_contents1, script, "db not found");
|
| }
|
| +
|
| +IN_PROC_BROWSER_TEST_F(WebViewTest, MediaAccessApi) {
|
| + ASSERT_TRUE(StartTestServer()); // For serving guest pages.
|
| + ASSERT_TRUE(RunPlatformAppTest(
|
| + "platform_apps/web_view_media_access/embedder_has_permission"))
|
| + << message_;
|
| + ASSERT_TRUE(RunPlatformAppTest(
|
| + "platform_apps/web_view_media_access/embedder_has_no_permission"))
|
| + << message_;
|
| +}
|
|
|