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

Issue 287563004: Fix a bug where two loaded keywords clash after a GoogleBaseURL change. (Closed)

Created:
6 years, 7 months ago by erikwright (departed)
Modified:
6 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, Cait (Slow), gab, robertshield
Visibility:
Public.

Description

Fix a bug where two loaded keywords clash after a GoogleBaseURL change. Repros when a keyword exists for google.ca, in addition to a pre-pop for google.com, and the user is in Canada. The google.com is rewritten to google.ca and the latter should be uniquified to google.ca_. But it was not working as intended. NOTREECHECKS=True NOTRY=True BUG=365762 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270258

Patch Set 1 #

Patch Set 2 : Review comments. #

Total comments: 3

Patch Set 3 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M chrome/browser/search_engines/template_url_service.cc View 1 2 7 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
erikwright (departed)
pkasting: PTAL. Note that this is desired for merge to M36 before EOD.
6 years, 7 months ago (2014-05-13 15:35:10 UTC) #1
Peter Kasting
I don't understand a thing about how this change works :( How was this problem ...
6 years, 7 months ago (2014-05-13 17:58:19 UTC) #2
erikwright (departed)
On 2014/05/13 17:58:19, Peter Kasting wrote: > I don't understand a thing about how this ...
6 years, 7 months ago (2014-05-13 18:25:44 UTC) #3
chromium-reviews
PTAL. Added comments. On 13 May 2014 14:25, <erikwright@chromium.org> wrote: > On 2014/05/13 17:58:19, Peter ...
6 years, 7 months ago (2014-05-13 18:31:19 UTC) #4
Peter Kasting
On 2014/05/13 18:31:19, chromium-reviews_chromium.org wrote: > > At startup, we "AddNoNotify" each of the things ...
6 years, 7 months ago (2014-05-13 18:47:29 UTC) #5
Peter Kasting
I still want to know what the old code did, but I've now looked at ...
6 years, 7 months ago (2014-05-13 19:04:23 UTC) #6
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 7 months ago (2014-05-13 21:15:39 UTC) #7
erikwright (departed)
Responded to comments. I will investigate the previous behaviour first thing Thursday.
6 years, 7 months ago (2014-05-13 21:16:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/287563004/40001
6 years, 7 months ago (2014-05-13 21:18:10 UTC) #9
erikwright (departed)
The CQ bit was unchecked by erikwright@chromium.org
6 years, 7 months ago (2014-05-13 23:57:31 UTC) #10
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 7 months ago (2014-05-13 23:57:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/287563004/40001
6 years, 7 months ago (2014-05-13 23:59:06 UTC) #12
commit-bot: I haz the power
Change committed as 270258
6 years, 7 months ago (2014-05-14 00:02:22 UTC) #13
erikwright (departed)
6 years, 7 months ago (2014-05-22 21:10:24 UTC) #14
Cait supplied me with a profile directory that can reproduce the crash on
startup.  I ran it both against the current ToT and also against builds
from before our changes.

That Web Data DB has the user-defined google.ca entry and the pre-pop'd
google.com entry. It crashes on load before our changes, and with the same
stack trace.

On the other hand, _all_ build I tested instantly update the pre-pop'd
entry to google.ca during startup.

So my interpretation is that this bug would reliably reproduce on new and
old builds if you had a user-defined google.ca keyword and then moved from
the US to Canada (and accepted the prompt to update the Google base URL).
I'm not sure why Cait was able to get into this state without actually
crossing any borders.

It may be that this bug always existed and we happened to come upon it
while testing our changes. At least with our fixes it will not crash.

Let me know if you would like to see further follow up or attempts to
reproduce.

On Tue, May 13, 2014 at 8:02 PM, <commit-bot@chromium.org> wrote:

> Change committed as 270258
>
> https://codereview.chromium.org/287563004/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698