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

Issue 1124863003: Harden changing font style over unknown elements. (Closed)

Created:
5 years, 7 months ago by sof
Modified:
5 years, 7 months ago
CC:
blink-reviews, blink-reviews-style_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Harden changing font style over unknown elements. When adjusting the start node position of where to apply a font style command, check that we haven't stepped off the end. R=leviw BUG=484434 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194944

Patch Set 1 #

Total comments: 6

Patch Set 2 : Clean up the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
A LayoutTests/editing/style/apply-style-crash3.html View 1 1 chunk +37 lines, -0 lines 0 comments Download
A + LayoutTests/editing/style/apply-style-crash3-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/ApplyStyleCommand.cpp View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
sof
please take a look.
5 years, 7 months ago (2015-05-05 14:36:39 UTC) #2
leviw_travelin_and_unemployed
LGTM on the code change. Remove the "R=" line from your description. s/Robustify/Harden/ ? https://codereview.chromium.org/1124863003/diff/1/LayoutTests/editing/style/apply-style-crash3.html ...
5 years, 7 months ago (2015-05-05 18:21:40 UTC) #3
sof
Thanks for the quick review. https://codereview.chromium.org/1124863003/diff/1/LayoutTests/editing/style/apply-style-crash3.html File LayoutTests/editing/style/apply-style-crash3.html (right): https://codereview.chromium.org/1124863003/diff/1/LayoutTests/editing/style/apply-style-crash3.html#newcode21 LayoutTests/editing/style/apply-style-crash3.html:21: } catch(e) {} On ...
5 years, 7 months ago (2015-05-05 19:47:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124863003/20001
5 years, 7 months ago (2015-05-05 19:47:57 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 22:21:06 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194944

Powered by Google App Engine
This is Rietveld 408576698