[iOS] Adjust the UserAgent in decidePolicyForNavigationAction
This CL modifies the place where the customUserAgent is updated, changing it from the request to -decidePolicyForNavigationAction:. This prevents issues where the page is loaded but not from a request (for example after a back/forward navigation). Fixed: 1059235 Change-Id: I83205c80a49e51ebfa194d12bae016bf48b52b4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107555 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by:Ali Juma <ajuma@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#754442}
Showing
Please register or sign in to comment