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

Issue 11644050: [Search] Avoid crash when hitting Esc in the Omnibox (Closed)

Created:
8 years ago by Mathieu
Modified:
7 years, 11 months ago
Reviewers:
MAD, gideonwald1, samarth, sky
CC:
chromium-reviews, melevin, samarth, sreeram, gideonwald, dominich, David Black, Jered
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Avoid crashing when a suggestion from Instant is set in the Omnibox and ESC is hit. Now checking for is_temporary_text_set_by_instant when hitting ESC. If suggestion was set by a REPLACE event from Instant, do not check the AutocompleteController as it may not necessarily be running (cause of the crash). BUG=167005 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176531

Patch Set 1 #

Patch Set 2 : initial #

Patch Set 3 : reupload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Mathieu
Hi Samarth, please take a look. I've tested this and behavior is fine (i.e. ESC ...
7 years, 11 months ago (2013-01-04 19:08:04 UTC) #1
samarth
This looks good if it fixes the crash. However, escape behavior is currently inconsistent and ...
7 years, 11 months ago (2013-01-07 17:47:14 UTC) #2
MAD
I validated that the fix resolved the crash, but I'm not sure if it changes ...
7 years, 11 months ago (2013-01-09 02:15:58 UTC) #3
gideonwald1
Samarth, can you comment? We can also wait for Mathieu to be back next week ...
7 years, 11 months ago (2013-01-09 06:56:53 UTC) #4
MAD
Ping?
7 years, 11 months ago (2013-01-09 20:57:30 UTC) #5
samarth
LGTM Sorry, missed your comment yesterday. This looks OK to me but you should probably ...
7 years, 11 months ago (2013-01-09 21:03:58 UTC) #6
MAD
D'Ho! I wasn't listed as a reviewer. so I never got your answer... Adding pkasting@ ...
7 years, 11 months ago (2013-01-10 21:00:13 UTC) #7
Mathieu
Adding sky@ as pkasting@ seems to be out. This indeed only fixes the crash and ...
7 years, 11 months ago (2013-01-11 15:40:08 UTC) #8
sky
Can you upload again, the side by side diff doesn't show up.
7 years, 11 months ago (2013-01-11 17:17:53 UTC) #9
Mathieu
Done. Thanks.
7 years, 11 months ago (2013-01-11 18:00:15 UTC) #10
sky
LGTM - how about a test?
7 years, 11 months ago (2013-01-11 18:58:10 UTC) #11
Mathieu
On 2013/01/11 18:58:10, sky wrote: > LGTM - how about a test? Certainly, Samarth is ...
7 years, 11 months ago (2013-01-11 19:26:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mathp@chromium.org/11644050/24001
7 years, 11 months ago (2013-01-11 19:27:46 UTC) #13
commit-bot: I haz the power
7 years, 11 months ago (2013-01-12 15:57:27 UTC) #14
Message was sent while issue was closed.
Change committed as 176531

Powered by Google App Engine
This is Rietveld 408576698