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

Issue 8702002: Strip invalid characters (line breaks, tabs), javascript:schemes from the copied text while pasti... (Closed)

Created:
9 years ago by SanjoyPal
Modified:
9 years ago
CC:
chromium-reviews, James Su, tfarina
Visibility:
Public.

Description

Strip invalid characters (line breaks, tabs), javascript:schemes from the copied text while pasting text, droping text and creating right click popup for omnibox. BUG=82181, 103703 TEST=Copy a string with line breaks "\n" or tabs "\t". Then right click on omnibox. Chromium should not trigger DCHECKS. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112923

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -32 lines) Patch
M base/utf_string_conversion_utils.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc View 1 2 7 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 1 chunk +2 lines, -12 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
SanjoyPal
Previous patch broke OmniboxViewTest.AcceptKeywordBySpace. Updated the patch. Please review one more time.
9 years ago (2011-11-25 09:32:57 UTC) #1
SanjoyPal
On 2011/11/25 09:32:57, SanjoyPal wrote: > Previous patch broke OmniboxViewTest.AcceptKeywordBySpace. Updated the patch. > Please ...
9 years ago (2011-11-25 11:23:50 UTC) #2
Peter Kasting
On 2011/11/25 11:23:50, SanjoyPal wrote: > Patch Set 1 broke OmniboxViewTest.BackspaceDeleteHalfWidthKatakana, i could not > ...
9 years ago (2011-11-28 00:04:02 UTC) #3
SanjoyPal
On 2011/11/28 00:04:02, Peter Kasting wrote: > On 2011/11/25 11:23:50, SanjoyPal wrote: > > Patch ...
9 years ago (2011-11-28 05:24:18 UTC) #4
Peter Kasting
On 2011/11/28 05:24:18, SanjoyPal wrote: > On 2011/11/28 00:04:02, Peter Kasting wrote: > > I ...
9 years ago (2011-11-28 18:41:47 UTC) #5
SanjoyPal
On 2011/11/28 18:41:47, Peter Kasting wrote: > On 2011/11/28 05:24:18, SanjoyPal wrote: > > On ...
9 years ago (2011-11-29 07:03:48 UTC) #6
Peter Kasting
I don't see this code you said tried pasting text with a whole bunch of ...
9 years ago (2011-11-29 19:07:28 UTC) #7
SanjoyPal
Modified the test case as per your suggestion. PTAL. http://codereview.chromium.org/8702002/diff/9001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): http://codereview.chromium.org/8702002/diff/9001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode760 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:760: ...
9 years ago (2011-11-30 06:49:26 UTC) #8
Peter Kasting
If this works, then LGTM. Not sure why the old test would have failed on ...
9 years ago (2011-12-01 19:31:32 UTC) #9
SanjoyPal
On 2011/12/01 19:31:32, Peter Kasting wrote: > If this works, then LGTM. > > Not ...
9 years ago (2011-12-02 06:39:56 UTC) #10
Peter Kasting
On 2011/12/02 06:39:56, SanjoyPal wrote: > On 2011/12/01 19:31:32, Peter Kasting wrote: > > If ...
9 years ago (2011-12-02 19:32:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ncj674@motorola.com/8702002/14001
9 years ago (2011-12-03 13:08:19 UTC) #12
commit-bot: I haz the power
Presubmit check for 8702002-14001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-03 13:08:22 UTC) #13
Nico
base lgtm stamp
9 years ago (2011-12-03 21:55:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ncj674@motorola.com/8702002/14001
9 years ago (2011-12-04 00:54:37 UTC) #15
commit-bot: I haz the power
9 years ago (2011-12-04 03:14:59 UTC) #16
Change committed as 112923

Powered by Google App Engine
This is Rietveld 408576698