-
Mike Dougherty authored
Messaging from chrome url pages was broken when the page was loaded by navigating from chrome://chrome-urls because the webUI object was being cleared in |CRWWKNavigationHandler webView:didStartProvisionalNavigation|. Navigating to an app specific URL is only allowed in certain situations, one of which is when the page is loaded by clicking a link on another app specific URL. So, update the logic to handle this scenario. Bug: 1140780 Change-Id: I9fbdca65487ce7c3e287922f1c98fa11da1c2d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518192 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Reviewed-by:
Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#826898}
ff9f977e