[Nav Experiment] Fix testBrowsingJavaScriptBasedNavigation.
With WKBasedNavigationManager, after the back navigation, the URL has an extra '#' at the end as a result of the link click. LegacyNavigationManager reloads the URL on back navigation so doesn't have this problem. However, the new behavior is consistent with Safari, Firefox and Blink. Changed test to check for the content of the first link instead of looking at the URL. Bug: 807428 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ia98f5a6f69b3aa322781c4a48cf4a8bef90fad2f Reviewed-on: https://chromium-review.googlesource.com/896683 Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#533704}
Showing
Please register or sign in to comment