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 b2ef76a5568365c0edfc14ab13f8bc39099bb555..3c58c49c636c241111689de8d2ba82a02e666e89 100644 |
--- a/chrome/browser/extensions/web_view_browsertest.cc |
+++ b/chrome/browser/extensions/web_view_browsertest.cc |
@@ -965,6 +965,13 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, GeolocationAPICancelGeolocation) { |
"platform_apps/web_view/geolocation/cancel_request")) << message_; |
} |
+// Tests that setting focus on the <webview> sets focus on the guest. |
+IN_PROC_BROWSER_TEST_F(WebViewTest, Focus) { |
+ ASSERT_TRUE(StartTestServer()); // For serving guest pages. |
+ ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/focus")) |
+ << message_; |
+} |
+ |
// Disabled on win debug bots due to flaky timeouts. |
// See http://crbug.com/222618 . |
#if defined(OS_WIN) && !defined(NDEBUG) |