Chromium Code Reviews| Index: chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc |
| diff --git a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc |
| index e25a322b3b25e03d4ec16ab89b16c4c44d7c413f..db9205e2986a8e68778b6bc72d048d72f10e00f5 100644 |
| --- a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc |
| +++ b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc |
| @@ -1285,36 +1285,6 @@ IN_PROC_BROWSER_TEST_P(WebViewInteractiveTest, DISABLED_Focus_InputMethod) { |
| } |
| #endif |
| -#if defined(OS_MACOSX) |
| -IN_PROC_BROWSER_TEST_P(WebViewInteractiveTest, TextSelection) { |
|
EhsanK
2016/07/13 17:44:57
This is just testing that RWHVGuest::GetSelectedTe
|
| -#if defined(OS_MACOSX) |
| - // TODO(ekaramad): This test is failing under OOPIF for MAC. |
| - if (GetParam()) |
| - return; |
| -#endif |
| - SetupTest("web_view/text_selection", |
| - "/extensions/platform_apps/web_view/text_selection/guest.html"); |
| - ASSERT_TRUE(guest_web_contents()); |
| - ASSERT_TRUE(ui_test_utils::ShowAndFocusNativeWindow( |
| - GetPlatformAppWindow())); |
| - |
| - // Wait until guest sees a context menu, select an arbitrary item (copy). |
| - ExtensionTestMessageListener ctx_listener("MSG_CONTEXTMENU", false); |
| - ContextMenuNotificationObserver menu_observer(IDC_CONTENT_CONTEXT_COPY); |
| - SimulateRWHMouseClick(guest_web_contents()->GetRenderViewHost()->GetWidget(), |
| - blink::WebMouseEvent::ButtonRight, 20, 20); |
| - ASSERT_TRUE(ctx_listener.WaitUntilSatisfied()); |
| - |
| - // Now verify that the selection text propagates properly to RWHV. |
| - content::RenderWidgetHostView* guest_rwhv = |
| - guest_web_contents()->GetRenderWidgetHostView(); |
| - ASSERT_TRUE(guest_rwhv); |
| - std::string selected_text = base::UTF16ToUTF8(guest_rwhv->GetSelectedText()); |
| - ASSERT_TRUE(selected_text.size() >= 10u); |
| - ASSERT_EQ("AAAAAAAAAA", selected_text.substr(0, 10)); |
| -} |
| -#endif |
| - |
| IN_PROC_BROWSER_TEST_F(WebViewFocusInteractiveTest, FocusAndVisibility) { |
| ASSERT_TRUE(StartEmbeddedTestServer()); |
| LoadAndLaunchPlatformApp("web_view/focus_visibility", |