commit | 2bc1ba8303f429ec75fd19ec7c84b7c6cedba518 | [log] [tgz] |
---|---|---|
author | Jérôme Lebel <jlebel@chromium.org> | Tue Jul 24 13:57:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 24 13:57:29 2018 |
tree | dde1e34f25d76667f54a4dce3e1facac7bc4b8db | |
parent | 78d611582e176735c229965589cbb837bf08dc2a [diff] |
[iOS] Fixing the scroll view test for the signin confirmation To validate the signin consent, the consent scroll view has to be scrolled down to the bottom. Unfortunately, when a scroll view doesn't bounce, grey_scrollToContentEdge() scrolls without stopping. To workaround the problem and keep -UIScrollView.alwaysBounceVertical set to NO, a matcher is used to test if content is smaller than the scroll view. If the content is smaller, than the consent is validated directly. Otherwise, the view is scrolled down to the bottom, before validating the consent. Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I5a982cefd38c755be3993cd27b619b8f400efdb6 Reviewed-on: https://chromium-review.googlesource.com/1147520 Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Reviewed-by: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#577516}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .