commit | 436c1fabb9260c9920bc5db4f8359e0f7aa9d6f8 | [log] [tgz] |
---|---|---|
author | Giovanni Ortuño Urquidi <ortuno@chromium.org> | Wed Oct 11 02:40:47 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 11 02:40:47 2017 |
tree | e8687be4b63c717a702cd94cd40849f5c7ea9914 | |
parent | 65e7acb2c57731ba7d22f2cda10308cc0b5bcba8 [diff] |
content/test: Add new functionality to TestNavigationObserver Adds three features to TestNavigationObserver: 1. A new constructor that takes a |target_url|. When TestNavigationObserver is instantiated with this constructor Wait/WaitForNavigationFinished will quit when a navigation to target_url has loaded or finished. 2. WaitForNavigationFinished. TestNavigationObserver will wait for navigations to finish rather than waiting for loading to stop. 3. WatchExistingWebContents. Adds TestNavigationObserver as an observer of all previously created WebContents. Change-Id: Ic11098dd77dcdca9e3f144c9afea9eff90727348 Reviewed-on: https://chromium-review.googlesource.com/706741 Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#507872}
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 .