DescriptionFixed crash caused from invalid URLs in the PageInfo dialog
Cleaned up WebsiteSettingsPopup::updatePageDetails in the PageInfo
dialog and fixed a crash from invalid URLs. When a malformed URL is
accessed, the PageInfo dialog will still display the URL, but won't
apply any custom coloring (this only applies to well-formed URLs).
TEST=Visit a malformed URL, such as 'data:html,foo<script', and open the
PageInfo dialog by long-pressing on the URL. The URL should be displayed
(but not colored), and Chrome should not crash.
BUG=427566
Committed: https://crrev.com/c1ab2b10ac0d9ffc067d521299504d8a9fbcebdb
Cr-Commit-Position: refs/heads/master@{#302743}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Review feedback #Messages
Total messages: 9 (2 generated)
|