weblayer: extend set of schemes handled by WebLayer
WebLayer's ShouldOverrideUrlLoading() defines a set of known scheme. Any URL that not in the set will fail to load if not initiated by a user gesture. The set is incomplete and needs to include some other schemes such as 'blob'. This patch moves from a regex in the java side to weblayer/browser/content_browser_client_impl.cc where it can use existing constants. BUG=1056259 TEST=covered by wpt Change-Id: I1d38e4f6a27099426786736aeeea6a2f24851882 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2074811Reviewed-by:John Abd-El-Malek <jam@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#745301}
Showing
Please register or sign in to comment