Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 690343003: Fixed crash caused from invalid URLs in the PageInfo dialog (Closed)

Created:
6 years, 1 month ago by sashab
Modified:
6 years, 1 month ago
Reviewers:
Ted C
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, benwells
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixed 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -60 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java View 1 2 chunks +110 lines, -60 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
sashab
6 years, 1 month ago (2014-11-03 02:43:06 UTC) #2
Ted C
https://codereview.chromium.org/690343003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java File chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java (right): https://codereview.chromium.org/690343003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java#newcode262 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java:262: URI parsedUrl = new URI(mFullUrl); URI parsing isn't a ...
6 years, 1 month ago (2014-11-03 19:53:50 UTC) #3
Ted C
lgtm
6 years, 1 month ago (2014-11-05 01:03:41 UTC) #4
sashab
https://codereview.chromium.org/690343003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java File chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java (right): https://codereview.chromium.org/690343003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java#newcode262 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java:262: URI parsedUrl = new URI(mFullUrl); On 2014/11/03 19:53:50, Ted ...
6 years, 1 month ago (2014-11-05 01:05:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690343003/20001
6 years, 1 month ago (2014-11-05 01:07:34 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-05 02:08:18 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 02:11:08 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c1ab2b10ac0d9ffc067d521299504d8a9fbcebdb
Cr-Commit-Position: refs/heads/master@{#302743}

Powered by Google App Engine
This is Rietveld 408576698