[iOS] Disallow non-app-initiated navigations to file URLs
WKWebView and iOS do not permit navigation to arbitrary files on a device's file system. Attempting to load such inaccessible files in WKWebView can later trigger broken behavior (see crbug.com/1010526 for more details). To prevent this brokenness, disallow these navigations right away, rather than waiting for WKWebView to disallow them. Bug: 1010526 Change-Id: Ieefb5befad659669a38efad127dfdb6e0179a165 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881667 Commit-Queue: Ali Juma <ajuma@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#710125}
Showing
Please register or sign in to comment