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

Issue 291173008: [OriginChip] Don't crash for invalid extension URL (Closed)

Created:
6 years, 7 months ago by groby-ooo-7-16
Modified:
6 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, Greg Billock, Justin Donnelly, benjhayden
Visibility:
Public.

Description

[OriginChip] Don't crash for invalid extension URL If the user enters a chrome-extension:// url with an invalid extension id, let's not crash. That's rude. Instead, origin chip will display <id> as extension name, show a "page not available" message. BUG=375426 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273020

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -22 lines) Patch
M chrome/browser/ui/toolbar/origin_chip_info.cc View 1 1 chunk +27 lines, -22 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
groby-ooo-7-16
PTAL. Screenshot is on bug. Tests will be separate CL, to minimize merge size.
6 years, 7 months ago (2014-05-21 19:33:40 UTC) #1
groby-ooo-7-16
Now with actual reviewer assigned... Peter: PTAL?
6 years, 7 months ago (2014-05-21 21:35:19 UTC) #2
groby-ooo-7-16
Friendly ping...
6 years, 7 months ago (2014-05-22 16:49:49 UTC) #3
Peter Kasting
https://codereview.chromium.org/291173008/diff/1/chrome/browser/ui/toolbar/origin_chip_info.cc File chrome/browser/ui/toolbar/origin_chip_info.cc (right): https://codereview.chromium.org/291173008/diff/1/chrome/browser/ui/toolbar/origin_chip_info.cc#newcode124 chrome/browser/ui/toolbar/origin_chip_info.cc:124: extension_icon_image_.reset( It seems like an even simpler change would ...
6 years, 7 months ago (2014-05-22 17:30:29 UTC) #4
groby-ooo-7-16
PTAL https://codereview.chromium.org/291173008/diff/1/chrome/browser/ui/toolbar/origin_chip_info.cc File chrome/browser/ui/toolbar/origin_chip_info.cc (right): https://codereview.chromium.org/291173008/diff/1/chrome/browser/ui/toolbar/origin_chip_info.cc#newcode124 chrome/browser/ui/toolbar/origin_chip_info.cc:124: extension_icon_image_.reset( On 2014/05/22 17:30:29, Peter Kasting wrote: > ...
6 years, 7 months ago (2014-05-22 23:12:59 UTC) #5
Peter Kasting
LGTM
6 years, 7 months ago (2014-05-22 23:26:52 UTC) #6
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 7 months ago (2014-05-22 23:28:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/291173008/20001
6 years, 7 months ago (2014-05-22 23:29:11 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 03:04:56 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 06:09:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/31885)
6 years, 7 months ago (2014-05-23 06:09:51 UTC) #11
groby-ooo-7-16
Hm. Can't repro the failures locally at all. Giving the CQ another shot, also pinged ...
6 years, 7 months ago (2014-05-27 17:57:47 UTC) #12
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 7 months ago (2014-05-27 17:57:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/291173008/20001
6 years, 7 months ago (2014-05-27 17:58:23 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 20:53:56 UTC) #15
Message was sent while issue was closed.
Change committed as 273020

Powered by Google App Engine
This is Rietveld 408576698