DescriptionWebView shell: automatically escape URLs
Let WebView deal with weird URLs, rather than handling errors in the
shell browser. WebView will automatically escape illegal characters
where appropriate, and display appropriate error pages for bad URLs.
This was tested like so:
adb shell am start -n org.chromium.webview_shell/.WebViewBrowserActivity -d URL
where URL was:
https://example.com (should work normally)
example.com (should become http://example.com)
blah://example.com (should show WebView's ERR_UNKNOWN_URL_SCHEME page)
http://example.com/a^b (should become http://example.com/a%5Eb)
BUG=685419
TEST=manual
Review-Url: https://codereview.chromium.org/2668273003
Cr-Commit-Position: refs/heads/master@{#447697}
Committed: https://chromium.googlesource.com/chromium/src/+/8d24b2d5f9d6e67d53f2aa8e532430f2dd096d59
Patch Set 1 #
Total comments: 2
Patch Set 2 : more descriptive #
Messages
Total messages: 13 (7 generated)
|