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

Issue 1679173003: Fix a crash by AdvanceToNextMisspelling command (⌘-;) with empty INPUT (Closed)

Created:
4 years, 10 months ago by tkent
Modified:
4 years, 10 months ago
Reviewers:
yosin_UTC9
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, groby+blinkspell_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a crash by AdvanceToNextMisspelling command (⌘-;) with empty INPUT SpellChecker::advanceToNextMisspelling() should not choose VisiblePosition pointing a different rootEditableElement. BUG=584986 TEST=automated Committed: https://crrev.com/f51e256f1250f2c84ba227ac796092b65a8ec0a6 Cr-Commit-Position: refs/heads/master@{#374337}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't change html.css #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
tkent
yosin@, would you review this please?
4 years, 10 months ago (2016-02-09 04:11:00 UTC) #2
yosin_UTC9
|advanceToNextMisspelling()| is too big, we may want to break it into functions... https://codereview.chromium.org/1679173003/diff/1/third_party/WebKit/Source/core/css/html.css File third_party/WebKit/Source/core/css/html.css ...
4 years, 10 months ago (2016-02-09 05:06:13 UTC) #3
tkent
https://codereview.chromium.org/1679173003/diff/1/third_party/WebKit/Source/core/css/html.css File third_party/WebKit/Source/core/css/html.css (right): https://codereview.chromium.org/1679173003/diff/1/third_party/WebKit/Source/core/css/html.css#newcode533 third_party/WebKit/Source/core/css/html.css:533: -webkit-user-select: none; On 2016/02/09 at 05:06:13, Yosi_UTC9 wrote: > ...
4 years, 10 months ago (2016-02-09 05:09:26 UTC) #4
tkent
Update the patch. Please take another look.
4 years, 10 months ago (2016-02-09 05:59:54 UTC) #6
tkent
On 2016/02/09 at 05:09:26, tkent wrote: > https://codereview.chromium.org/1679173003/diff/1/third_party/WebKit/Source/core/css/html.css > File third_party/WebKit/Source/core/css/html.css (right): > > https://codereview.chromium.org/1679173003/diff/1/third_party/WebKit/Source/core/css/html.css#newcode533 ...
4 years, 10 months ago (2016-02-09 06:17:38 UTC) #7
yosin_UTC9
lgtm Thanks!
4 years, 10 months ago (2016-02-09 07:13:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679173003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679173003/20001
4 years, 10 months ago (2016-02-09 07:14:27 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-09 08:30:28 UTC) #11
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 08:31:18 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f51e256f1250f2c84ba227ac796092b65a8ec0a6
Cr-Commit-Position: refs/heads/master@{#374337}

Powered by Google App Engine
This is Rietveld 408576698