commit | 070f876a788a7e2a0cb6852bcd4f92d31042c941 | [log] [tgz] |
---|---|---|
author | Mike Dougherty <michaeldo@chromium.org> | Wed Dec 12 19:53:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 12 19:53:37 2018 |
tree | fa5535de555e5ec9edd4bdf9ed2a1a51bc1c8051 | |
parent | 4acf4fc88e0e669cc3f5f7af10c2f6c8f1a32667 [diff] |
Ensure that WebFramesManager->GetMainWebFrame() always returns a valid WebFrame. Remove extraneous |removeAllWebFrames| call to ensure a WebFrame exists for the main frame when navigating back then forward on a same page (ex:example.com#link) link. Additionally, add tests to validate the returned WebFrame object. Bug: 913825 Change-Id: I5abe3a50769564c1c95157eb713ee435093cbab4 Reviewed-on: https://chromium-review.googlesource.com/c/1368768 Reviewed-by: Eugene But <eugenebut@chromium.org> Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#616004}
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 .