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

Issue 170283003: Attempt to fix issue 344300 by guarding against rootStyle being null. (Closed)

Created:
6 years, 10 months ago by wibling-chromium
Modified:
6 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, rune+blink, apavlov+blink_chromium.org, ed+blinkwatch_opera.com, darktears, ojan
Visibility:
Public.

Description

Attempt to fix issue 344300 by guarding against rootStyle being null. From what I can tell this was introduced in issue 64293008 at Nov 29th 2013. Clusterfuzz also broke at that time with a similar stack trace. An alternatively fix could be to assert that rootStyle is never set to null in the constructors of CSSToLengthConversionData. However that seems to be a more involved fix and I will leave that for the owner of the code. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, timloh@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=344300 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167596

Patch Set 1 #

Patch Set 2 : Adding test #

Patch Set 3 : dumpAsText #

Patch Set 4 : more information test body #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
A LayoutTests/animations/pseudo-element-animation-with-rems.html View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A + LayoutTests/animations/pseudo-element-animation-with-rems-expected.txt View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 1 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/css/CSSToLengthConversionData.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
wibling-chromium
6 years, 10 months ago (2014-02-18 12:09:52 UTC) #1
eseidel
6 years, 10 months ago (2014-02-18 12:14:02 UTC) #2
Timothy Loh
lgtm (I'm not an OWNER), this is probably fine for now. I guess this is ...
6 years, 10 months ago (2014-02-20 05:26:23 UTC) #3
esprehn
not lgtm, you need to add a test.
6 years, 10 months ago (2014-02-20 07:05:24 UTC) #4
wibling-chromium
On 2014/02/20 07:05:24, esprehn wrote: > not lgtm, you need to add a test. Okay. ...
6 years, 10 months ago (2014-02-20 12:59:19 UTC) #5
wibling-chromium
PTAL The added test crashes chromium without the patch.
6 years, 10 months ago (2014-02-20 14:17:46 UTC) #6
rune
On 2014/02/20 14:17:46, wibling-chromium wrote: > PTAL > > The added test crashes chromium without ...
6 years, 10 months ago (2014-02-20 14:28:27 UTC) #7
wibling-chromium
On 2014/02/20 14:28:27, rune - CET wrote: > On 2014/02/20 14:17:46, wibling-chromium wrote: > > ...
6 years, 10 months ago (2014-02-20 14:39:57 UTC) #8
wibling-chromium
PTAL
6 years, 10 months ago (2014-02-20 14:42:16 UTC) #9
ojan
lgtm I agree with the change description that a better fix would be to figure ...
6 years, 10 months ago (2014-02-20 20:23:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/170283003/180001
6 years, 10 months ago (2014-02-20 20:23:52 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 00:19:43 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=13417
6 years, 10 months ago (2014-02-21 00:19:44 UTC) #13
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 10 months ago (2014-02-21 08:27:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/170283003/180001
6 years, 10 months ago (2014-02-21 08:27:40 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 11:42:05 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=13508
6 years, 10 months ago (2014-02-21 11:42:05 UTC) #17
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 10 months ago (2014-02-21 11:43:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/170283003/180001
6 years, 10 months ago (2014-02-21 11:43:37 UTC) #19
commit-bot: I haz the power
6 years, 10 months ago (2014-02-21 13:59:21 UTC) #20
Message was sent while issue was closed.
Change committed as 167596

Powered by Google App Engine
This is Rietveld 408576698