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

Issue 15317009: Fix for CSS Variables tokenisation not checking CSS identifier length (Closed)

Created:
7 years, 7 months ago by alancutter (OOO until 2018)
Modified:
7 years, 7 months ago
CC:
blink-reviews, apavlov+blink_chromium.org, dglazkov+blink, eae+blinkwatch, darktears, eseidel, inferno
Visibility:
Public.

Description

Fix for CSS Variables tokenisation not checking CSS identifier length This bug was failing the fast/css/parsing-expr-error-recovery.html test in debug when CSS Variables was turned on for all tests. BUG=242182 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150955

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added check for extra CSS identifier character plus assert #

Total comments: 5

Patch Set 3 : Style changes #

Total comments: 1

Patch Set 4 : Fixed silly mistake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M Source/core/css/CSSParser.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSParser.cpp View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
alancutter (OOO until 2018)
The try bots seem to be unreliable at this time. I have tested this patch ...
7 years, 7 months ago (2013-05-21 01:18:48 UTC) #1
eseidel
https://codereview.chromium.org/15317009/diff/1/Source/core/css/CSSParser.cpp File Source/core/css/CSSParser.cpp (right): https://codereview.chromium.org/15317009/diff/1/Source/core/css/CSSParser.cpp#newcode10313 Source/core/css/CSSParser.cpp:10313: if (length >= 12) { Why 12? webkit-var is ...
7 years, 7 months ago (2013-05-21 01:33:11 UTC) #2
alancutter (OOO until 2018)
Thanks for the review Eric. Made minor tweaks and addressed your comments. Have retested locally ...
7 years, 7 months ago (2013-05-21 03:56:05 UTC) #3
Steve Block
https://codereview.chromium.org/15317009/diff/9001/Source/core/css/CSSParser.cpp File Source/core/css/CSSParser.cpp (right): https://codereview.chromium.org/15317009/diff/9001/Source/core/css/CSSParser.cpp#newcode10294 Source/core/css/CSSParser.cpp:10294: if (length >= 13) { if (length < 13) ...
7 years, 7 months ago (2013-05-21 04:47:53 UTC) #4
Mike Lawther (Google)
On 2013/05/21 03:56:05, alancutter wrote: https://codereview.chromium.org/15317009/diff/1/Source/core/css/CSSParser.cpp#newcode10313 > Source/core/css/CSSParser.cpp:10313: if (length >= 12) { > On ...
7 years, 7 months ago (2013-05-21 04:52:14 UTC) #5
alancutter (OOO until 2018)
On 2013/05/21 04:52:14, Mike Lawther (Google) wrote: > My reaction was the same as Eric's ...
7 years, 7 months ago (2013-05-21 05:05:15 UTC) #6
Steve Block
looks good, but eseidel should probably sign-off
7 years, 7 months ago (2013-05-22 06:48:07 UTC) #7
eseidel
lgtm It's really hard to tell how many off-by-one errors this code has. :) I've ...
7 years, 7 months ago (2013-05-22 07:11:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/15317009/16001
7 years, 7 months ago (2013-05-22 07:31:30 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-22 07:48:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/15317009/28001
7 years, 7 months ago (2013-05-23 03:41:23 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 04:26:37 UTC) #12
Message was sent while issue was closed.
Change committed as 150955

Powered by Google App Engine
This is Rietveld 408576698