[WKWebView setCustomUserAgent] doesn't work for news.google.com on devices. |
||
Issue descriptionCall [WKWebView setCustomUserAgent] on news.google.com on devices doesn't refresh the page.
,
Nov 2 2017
I stumbled on this bug because of the TODO here: https://cs.chromium.org/chromium/src/ios/web/web_state/web_state_impl.mm?q=736103&l=764 It looks like calling [WKWebView setCustomUserAgent] updates navigator.userAgent as expected without having to destroy the WKWebView. The current page is not reloaded, but the next page loaded will see the new user agent. Right now we're calling [CRWWebController requirePageReconstruction], which is slow. Is this really necessary?
,
Apr 20 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by eugene...@chromium.org
, Jul 11 2017