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

Issue 610323003: Editing: Null-check in FrameSelection::updteAppearancea (Closed)

Created:
6 years, 2 months ago by yoichio
Modified:
6 years, 2 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Editing: Null-check in FrameSelection::updateAppearance This uncheck causes crash when selecting inside HTMLTextFormElement and either start or end node element doesn't have a renderer. BUG=404560 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183784

Patch Set 1 #

Patch Set 2 : Add unit test #

Total comments: 2

Patch Set 3 : Add a layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
A LayoutTests/editing/selection/deleteFromDocument-crash.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/editing/selection/deleteFromDocument-crash-expected.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (4 generated)
yoichio
6 years, 2 months ago (2014-09-29 08:34:56 UTC) #2
yosin_UTC9
LGTM Is it possible to write layout test? If so, please do so. If not ...
6 years, 2 months ago (2014-09-29 09:40:49 UTC) #4
tkent
Can you make a C++ unit test?
6 years, 2 months ago (2014-09-30 01:29:04 UTC) #5
yoichio
Add yutak@ as an owner. PTAL?
6 years, 2 months ago (2014-10-01 07:45:49 UTC) #7
Yuta Kitamura
https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp File Source/core/editing/FrameSelectionTest.cpp (right): https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp#newcode151 Source/core/editing/FrameSelectionTest.cpp:151: node->setRenderer(nullptr); I'm almost certain that you shouldn't simply call ...
6 years, 2 months ago (2014-10-01 08:19:48 UTC) #8
yoichio
On 2014/10/01 08:19:48, Yuta Kitamura wrote: > https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp > File Source/core/editing/FrameSelectionTest.cpp (right): > > https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp#newcode151 ...
6 years, 2 months ago (2014-10-01 08:26:35 UTC) #9
Yuta Kitamura
https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp File Source/core/editing/FrameSelectionTest.cpp (right): https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp#newcode151 Source/core/editing/FrameSelectionTest.cpp:151: node->setRenderer(nullptr); I have little knowledge around this, but you ...
6 years, 2 months ago (2014-10-01 08:49:32 UTC) #10
yoichio
On 2014/10/01 08:49:32, Yuta Kitamura wrote: > https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp > File Source/core/editing/FrameSelectionTest.cpp (right): > > https://codereview.chromium.org/610323003/diff/20001/Source/core/editing/FrameSelectionTest.cpp#newcode151 ...
6 years, 2 months ago (2014-10-02 05:38:19 UTC) #11
yosin_UTC9
On 2014/10/02 05:38:19, yoichio wrote: > On 2014/10/01 08:49:32, Yuta Kitamura wrote: > > > ...
6 years, 2 months ago (2014-10-02 06:28:16 UTC) #12
Yuta Kitamura
At the very least, the current test looks wrong to me, so I cannot approve ...
6 years, 2 months ago (2014-10-06 09:41:30 UTC) #13
yoichio
Finally I found the layout case. PTAL.
6 years, 2 months ago (2014-10-16 04:22:11 UTC) #14
tkent
lgtm
6 years, 2 months ago (2014-10-16 04:34:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/610323003/40001
6 years, 2 months ago (2014-10-16 04:36:55 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 05:56:52 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 183784

Powered by Google App Engine
This is Rietveld 408576698