[Nav Experiment] Mock out WKWebView in TabTest.
TabTest uses the internal NavigationManagerImpl::CommitPendingItem() API. WKBasedNavigationManager's implementation of this API requires a precondition that a WKBackForwardListItem exists for the to be committed pending item. Mocking out WKWebView allows injection of WKBackForwardList item to satisfy this precondition. Parameterized TabTest to test both navigation manager implementations on trybot. Bug: 863026 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I5f6b2faa94c1c63682a333c9f8c7c2600017cdea Reviewed-on: https://chromium-review.googlesource.com/1176376 Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#583454}
Showing
Please register or sign in to comment