Commit e6c09732 authored by Danyao Wang's avatar Danyao Wang Committed by Commit Bot

[Nav Experiment] Improve comments in |loadCurrentURL|.

I missed this suggestion in http://crrev.com/c/1145725

Bug: 865985
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ie656457f7acf0acb5da81cfc267a7962acb62cc3
Reviewed-on: https://chromium-review.googlesource.com/1146902Reviewed-by: default avatarKurt Horimoto <kkhorimoto@chromium.org>
Commit-Queue: Danyao Wang <danyao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577567}
parent bf161698
......@@ -1915,8 +1915,9 @@ registerLoadRequestForURL:(const GURL&)requestURL
if (!_containerView)
return;
// WKBasedNavigationManagerImpl requires web usage to be enabled to load any
// URL. So bail if web usage is disabled, and let the URL be loaded when web
// WKBasedNavigationManagerImpl needs WKWebView to load native views, but
// WKWebView cannot be created while web usage is disabled to avoid breaking
// clearing browser data. Bail now and let the URL be loaded when web
// usage is enabled again. This can happen when purging web pages when an
// interstitial is presented over a native view. See https://crbug.com/865985
// for details.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment