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

Issue 8349030: Invalid URLs should not be added to startup page list. (Closed)

Created:
9 years, 2 months ago by rosen.dash
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Invalid URLs should not be added to startup page list. BUG=100658 TEST=Try to add an invalid URL in start pages list in chrome://setttings. It should have no effect. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106947

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated according to review comment. #

Patch Set 3 : Updated AUTHORS file. #

Patch Set 4 : Syncing with codebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
rosen.dash
We have to check validity before adding any URL to start up page list. This ...
9 years, 2 months ago (2011-10-19 07:58:19 UTC) #1
jam
I'm not familiar with this code, so I'm not a good reviewer
9 years, 2 months ago (2011-10-19 18:19:52 UTC) #2
csilv
http://codereview.chromium.org/8349030/diff/1/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): http://codereview.chromium.org/8349030/diff/1/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode387 chrome/browser/ui/webui/options/browser_options_handler.cc:387: if (url.spec().empty()) I think url.is_valid() would be a better ...
9 years, 2 months ago (2011-10-19 18:49:48 UTC) #3
rosen.dash
Updated according to review comment. http://codereview.chromium.org/8349030/diff/1/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): http://codereview.chromium.org/8349030/diff/1/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode387 chrome/browser/ui/webui/options/browser_options_handler.cc:387: if (url.spec().empty()) On 2011/10/19 ...
9 years, 2 months ago (2011-10-20 06:31:24 UTC) #4
csilv
lgtm
9 years, 2 months ago (2011-10-20 16:53:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nqk836@motorola.com/8349030/6001
9 years, 2 months ago (2011-10-20 19:40:21 UTC) #6
commit-bot: I haz the power
Presubmit check for 8349030-6001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-10-20 19:40:23 UTC) #7
csilv
On 2011/10/20 19:40:23, I haz the power (commit-bot) wrote: > Presubmit check for 8349030-6001 failed ...
9 years, 2 months ago (2011-10-20 19:53:32 UTC) #8
csilv
(Alternatively, we can put you in the AUTHORS file as nqk836@motorola.com.)
9 years, 2 months ago (2011-10-20 19:54:52 UTC) #9
csilv
On 2011/10/20 19:54:52, csilv wrote: > (Alternatively, we can put you in the AUTHORS file ...
9 years, 2 months ago (2011-10-20 20:00:56 UTC) #10
rosen.dash
On 2011/10/20 20:00:56, csilv wrote: > On 2011/10/20 19:54:52, csilv wrote: > > (Alternatively, we ...
9 years, 2 months ago (2011-10-21 06:19:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nqk836@motorola.com/8349030/13001
9 years, 2 months ago (2011-10-21 06:23:55 UTC) #12
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-21 09:36:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nqk836@motorola.com/8349030/13001
9 years, 2 months ago (2011-10-21 17:03:13 UTC) #14
commit-bot: I haz the power
Can't apply patch for file AUTHORS. While running patch -p1 --forward --force; patching file AUTHORS ...
9 years, 2 months ago (2011-10-21 17:03:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nqk836@motorola.com/8349030/15002
9 years, 2 months ago (2011-10-24 05:40:00 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-24 06:42:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nqk836@motorola.com/8349030/15002
9 years, 2 months ago (2011-10-24 16:56:33 UTC) #18
commit-bot: I haz the power
9 years, 2 months ago (2011-10-24 18:13:17 UTC) #19
Change committed as 106947

Powered by Google App Engine
This is Rietveld 408576698