New issue
Advanced search Search tips

Issue 736759 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

WebViewInteractiveTests/WebViewImeInteractiveTest.CompositionRangeUpdates/0 is very flaky on Mac

Project Member Reported by xidac...@chromium.org, Jun 26 2017

Issue description

Please refer to the flakiness dashboard:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=browser_side_navigation_interactive_ui_tests&tests=WebViewImeInteractiveTest.CompositionRangeUpdates

ekaramad@: I found that this test is recently changed by you, could you take a look.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c722c37fb327b2a9977052cf01daf3a464acc1a3

commit c722c37fb327b2a9977052cf01daf3a464acc1a3
Author: Xida Chen <xidachen@chromium.org>
Date: Mon Jun 26 14:09:04 2017

Disable flaky testWebViewInteractiveTests/WebViewImeInteractiveTest.CompositionRangeUpdates/0 on Mac

TBR=ekaramad@chromium.org, msramek@chromium.org
NOTRY=true

Bug:  736759 
Change-Id: Ib37608b7107d922e0f45886f7b3a4dff715bf726
Reviewed-on: https://chromium-review.googlesource.com/548835
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482262}
[modify] https://crrev.com/c722c37fb327b2a9977052cf01daf3a464acc1a3/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc

Status: Started (was: Assigned)
I have a CL in progress:
https://chromium-review.googlesource.com/c/545223/
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/090e405d8593f529416c11b589134ab4b7232554

commit 090e405d8593f529416c11b589134ab4b7232554
Author: Xida Chen <xidachen@chromium.org>
Date: Thu Jun 29 01:29:21 2017

[Follow up] Disable flaky test ...
  testWebViewInteractiveTests/WebViewImeInteractiveTest.CompositionRangeUpdates/0 on Mac

I made a mistake in a previous CL here:
https://chromium-review.googlesource.com/c/548835/
This CL disable it for real.

TBR=ekaramad@chromium.org
NOTRY=true

Bug:  736759 
Change-Id: I03fe74fae7f6da36fc15c8caebf5195c8ea476f7
Reviewed-on: https://chromium-review.googlesource.com/553499
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483242}
[modify] https://crrev.com/090e405d8593f529416c11b589134ab4b7232554/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b933c4942b1f9f74cef4d563c49fb82b3c4795da

commit b933c4942b1f9f74cef4d563c49fb82b3c4795da
Author: Ehsan Karamad <ekaramad@chromium.org>
Date: Thu Jul 13 17:23:52 2017

Fix an issue in WebViewImeInteractiveTest.CompositionRangeUpdates.

We need to properly clear CompositionRangeUpdateObserver used in the test body
and do not rely on tear down process. There seems to be a bug in the internals
of TextInputManagerTester where the internal observer is not properly removed
from TextInputManager's observer list.

Synthetic local testing shows that if we repeatedly pump
RenderWidget::UpdateCompositionInfo(true), the test crashes in non-OOPIF mode. The
reasons seems to be that TextInputManagerTester::observer_ is not removed from
TextInputManager's observer list and a late arriving IPC for IME composition range
during shutdown causes the test process to crash (UaF).

BUG= 736759 ,  602723 

Change-Id: Iebf1f20dccddae63ad587ec6f03bf6951b89c5ee
Reviewed-on: https://chromium-review.googlesource.com/545223
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Ehsan Karamad <ekaramad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486425}
[modify] https://crrev.com/b933c4942b1f9f74cef4d563c49fb82b3c4795da/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
[modify] https://crrev.com/b933c4942b1f9f74cef4d563c49fb82b3c4795da/content/public/test/text_input_test_utils.cc
Marking as fixed following comment #4.
Status: Fixed (was: Started)
Actually marking as fixed.

Sign in to add a comment