[Webkit-unassigned] [Bug 192675] New: WKWebView's has old URL while displaying SafeBrowsing interstitial, for link-click navigations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 13 13:02:07 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192675
Bug ID: 192675
Summary: WKWebView's has old URL while displaying SafeBrowsing
interstitial, for link-click navigations
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ajuma at chromium.org
CC: achristensen at apple.com, ajuma at chromium.org,
eugenebut at chromium.org, jberlin at webkit.org
When navigating to an unsafe site by clicking on a link, WKWebView's URL property is the old URL (the URL we're coming from), not the unsafe URL, while the SafeBrowsing interstitial is displayed. Also, WKWebView's isLoading property is false while the interstitial is displayed. This makes it harder for an embedder to display the unsafe URL in the embedder's UI (so that the user can make an informed decision when presented with the warning interstitial).
This also happens for client-side redirects to unsafe destinations -- the URL is the redirecting page's URL and isLoading is false.
This is different from what happens when navigating to an unsafe site using back/forward navigation or using loadRequest, where WKWebView's URL is the unsafe URL and isLoading is true while the interstitial is displayed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181213/751c24fd/attachment.html>
More information about the webkit-unassigned
mailing list