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

Issue 355953003: Fixed srcset descriptor parsing bug and added tests (Closed)

Created:
6 years, 5 months ago by Yoav Weiss
Modified:
6 years, 5 months ago
Reviewers:
esprehn, eseidel
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fixed srcset descriptor parsing bug and added tests Srcset's 'w' descriptor parsing accepted descriptors of the form "400pw". This CL fixes that by making their parsing stricter. It also adds a bunch of tests to prevent it from regressing, and to make sure float based descriptors are properly parsed as well. BUG=389575 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177120

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M Source/core/html/parser/HTMLSrcsetParser.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/parser/HTMLSrcsetParserTest.cpp View 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yoav Weiss
6 years, 5 months ago (2014-06-27 15:59:21 UTC) #1
eseidel
lgtm
6 years, 5 months ago (2014-06-27 16:32:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoav@yoav.ws/355953003/1
6 years, 5 months ago (2014-06-27 16:33:29 UTC) #3
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 17:04:17 UTC) #4
Message was sent while issue was closed.
Change committed as 177120

Powered by Google App Engine
This is Rietveld 408576698