Commit 3d38231b authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Disable LookUpStringForRangeRoutesToFocusedWidget on Mac

TBR=wjmaclean@chromium.org
NOTRY=true

Bug: 874417
Change-Id: Ide6bc7a1fd7d8cc25d96204a2e43f446d2782c3d
Reviewed-on: https://chromium-review.googlesource.com/1175842
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583241}
parent 104b778b
......@@ -1311,10 +1311,17 @@ class ShowDefinitionForWordObserver
DISALLOW_COPY_AND_ASSIGN(ShowDefinitionForWordObserver);
};
#if defined(OS_MACOSX)
#define MAYBE_LookUpStringForRangeRoutesToFocusedWidget \
DISABLED_LookUpStringForRangeRoutesToFocusedWidget
#else
#define MAYBE_LookUpStringForRangeRoutesToFocusedWidget \
LookUpStringForRangeRoutesToFocusedWidget
#endif
// This test verifies that requests for dictionary lookup based on selection
// range are routed to the focused RenderWidgetHost.
IN_PROC_BROWSER_TEST_F(SitePerProcessTextInputManagerTest,
LookUpStringForRangeRoutesToFocusedWidget) {
MAYBE_LookUpStringForRangeRoutesToFocusedWidget) {
CreateIframePage("a(b)");
std::vector<content::RenderFrameHost*> frames{GetFrame(IndexVector{}),
GetFrame(IndexVector{0})};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment