Use FormatUrl in Android PageInfoPopup
This adds a new UrlFormatter.formatUrlForDisplayWithNormalEscaping() function, and uses it in the Android PageInfoPopup to make its URL display correctly de-punycode URLs that are safe to convert back to Unicode for display. This also adds url_formatter unittests for the specific usage of FormatUrl that the new function uses under a variety of URL conditions. Bug: 818839 Change-Id: Id0f50a6a37be7309c684ef180acc78f84895d729 Reviewed-on: https://chromium-review.googlesource.com/1015229 Commit-Queue: Christopher Thompson <cthomp@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Emily Stark <estark@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#554611}
Showing
Please register or sign in to comment