Run confirmation dialog before cancelling in progress download.
There is no unit test for tapping OK and Cancel buttons, because it's something that is very hard to test in unit test (buttons are not tappable unless the UI got synchronized). UI mock: https://docs.google.com/presentation/d/1GzbAoJrpW9IAQF78afh5SZLWJWErNcC67t_ctujjEus/edit#slide=id.g2b7a689b42_0_196 Bug: 791806 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ic291ef5db83eaea4220ff1ed3f9501020de7389f Reviewed-on: https://chromium-review.googlesource.com/919492Reviewed-by:Mark Cogan <marq@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#537357}
Showing
Please register or sign in to comment