| Index: views/controls/textfield/native_textfield_views_unittest.cc
|
| diff --git a/views/controls/textfield/native_textfield_views_unittest.cc b/views/controls/textfield/native_textfield_views_unittest.cc
|
| index f3a046aac875911f89685bce48a0822cec681c19..03b6cb7ad3d1f7320bfb0317f4a59493786efea4 100644
|
| --- a/views/controls/textfield/native_textfield_views_unittest.cc
|
| +++ b/views/controls/textfield/native_textfield_views_unittest.cc
|
| @@ -1537,6 +1537,14 @@ TEST_F(NativeTextfieldViewsTest, OverflowInRTLTest) {
|
| display = GetDisplayRect();
|
| OverflowCursorBoundTestVerifier(display, bound);
|
|
|
| +
|
| +#if !defined(OS_WIN)
|
| + // TODO(jennyz): NonClientMouseClick() does not work for os_win builds;
|
| + // see crbug.com/104150. The mouse click in the next test will be confused
|
| + // as a double click, which breaks the test. Disable the test until the
|
| + // issue is fixed.
|
| + NonClientMouseClick();
|
| +
|
| MouseClick(bound, 1);
|
| #if defined(OS_WIN)
|
| // In Windows, the text is always in LTR directionality even in RTL UI.
|
| @@ -1546,6 +1554,7 @@ TEST_F(NativeTextfieldViewsTest, OverflowInRTLTest) {
|
| #else
|
| EXPECT_EQ(500U, textfield_->GetCursorPosition());
|
| #endif
|
| +#endif // !defined(OS_WIN)
|
|
|
| // Reset locale.
|
| base::i18n::SetICUDefaultLocale(locale);
|
|
|