Description<webview>: Navigate to about:blank if attempting to navigate to bad URL
If <webview> attempts to navigate to a URL that is invalid or it cannot
access, it will fire a loadabort message. However, a loadstop will not fire
and <webview> may remain in an unnavigated state despite having a set src
attribute. This causes various APIs such as executeScript to fail.
This CL navigates <webview> to about:blank in the case of a bad navigation.
This puts <webview> back to a sane state.
BUG=450125
Committed: https://crrev.com/fb12824b8b2caf76dbb341ef53f3225d09f0ca86
Cr-Commit-Position: refs/heads/master@{#314517}
Patch Set 1 #Patch Set 2 : Updated tess #
Total comments: 1
Patch Set 3 : Addressed lazyboy's comment #
Total comments: 3
Patch Set 4 : Addressed nits #
Messages
Total messages: 13 (3 generated)
|