New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 824879 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

chrome_test_util::TapWebViewElementWithId() is non-deterministic for links that call window.close()

Project Member Reported by kkhorimoto@chromium.org, Mar 22 2018

Issue description

While fixing Issue 652932, I noticed that the return value/error is non-deterministic when tapping a link that closes the Tab.  Before crrev.com/c/974791, we assumed that this behavior was affected only by whether or not the slim navigation manager is enabled, but I noticed that the behavior of these taps is flaky regardless of enabled flags or device vs. simulator.  This seems to be a race condition, where sometimes the tap finishes successfully, but other times the tap is handled on the JS side (causing the tab to close and web view to be invalidated) before the function returns.
 
Owner: linds...@chromium.org
Status: Assigned (was: Untriaged)
Please assess the severity

Sign in to add a comment