WKBasedNavigationManagerImpl::FinishGoToIndex() should propagate the |has_user_gesture| value to the NavigationContext created as a result of the back/forward navigation.
This is hard to fix today because NavigationContext for back/forward navigation is created asynchronously in the |webView:decidePolicyForNavigationAction:| callback in CRWWebController. It'll be easier to fix once WKNavigationDelegate logic moves into navigation manager.
I think this flag is mostly used for blocking unwanted actions from web pages. "false" means more secure, but can break compatibility with existing web sites.
Comment 1 by danyao@google.com
, Dec 7