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

Issue 514403002: [Presubmit] Make CSS checker ignore '@' inside of strings. (Closed)

Created:
6 years, 3 months ago by huangs
Modified:
6 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Presubmit] Make CSS checker ignore '@' inside of strings. This fixes the bug where url('google_logo.png@2x') causes validation failures. BUG=408759 R=dbeam@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/99abda3dd6b692269c036fe83dcc4e3d729e8241

Patch Set 1 #

Patch Set 2 : Adding unit test. #

Total comments: 2

Patch Set 3 : Update test case naming. #

Total comments: 1

Patch Set 4 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M chrome/browser/test_presubmit.py View 1 2 2 chunks +26 lines, -3 lines 0 comments Download
M chrome/browser/web_dev_style/css_checker.py View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
huangs
huangs@chromium.org changed reviewers: + dbeam@chromium.org
6 years, 3 months ago (2014-08-28 21:37:13 UTC) #1
huangs
PTAL. This is needed for the CL https://codereview.chromium.org/512583002/ Thanks!.
6 years, 3 months ago (2014-08-28 21:37:13 UTC) #2
huangs
Ping dbeam@ for comments.
6 years, 3 months ago (2014-08-29 16:04:28 UTC) #3
Dan Beam
please update the tests
6 years, 3 months ago (2014-09-03 18:38:07 UTC) #4
Dan Beam
chrome/browser/test_presubmit.py
6 years, 3 months ago (2014-09-03 18:38:42 UTC) #5
huangs
Added unit test, and verified that it fails without the fix. PTAL.
6 years, 3 months ago (2014-09-03 20:46:39 UTC) #6
Dan Beam
lgtm https://chromiumcodereview.appspot.com/514403002/diff/20001/chrome/browser/test_presubmit.py File chrome/browser/test_presubmit.py (right): https://chromiumcodereview.appspot.com/514403002/diff/20001/chrome/browser/test_presubmit.py#newcode531 chrome/browser/test_presubmit.py:531: } ^ do you need this filler? i ...
6 years, 3 months ago (2014-09-03 21:18:01 UTC) #7
huangs
Response to comment. https://chromiumcodereview.appspot.com/514403002/diff/20001/chrome/browser/test_presubmit.py File chrome/browser/test_presubmit.py (right): https://chromiumcodereview.appspot.com/514403002/diff/20001/chrome/browser/test_presubmit.py#newcode531 chrome/browser/test_presubmit.py:531: } Yup, the filler is needed. ...
6 years, 3 months ago (2014-09-03 21:38:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/514403002/40001
6 years, 3 months ago (2014-09-03 23:23:55 UTC) #10
Dan Beam
https://codereview.chromium.org/514403002/diff/40001/chrome/browser/test_presubmit.py File chrome/browser/test_presubmit.py (right): https://codereview.chromium.org/514403002/diff/40001/chrome/browser/test_presubmit.py#newcode527 chrome/browser/test_presubmit.py:527: .stuff1 { can you just put something into these ...
6 years, 3 months ago (2014-09-03 23:55:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8577)
6 years, 3 months ago (2014-09-04 01:29:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/514403002/40001
6 years, 3 months ago (2014-09-05 04:39:55 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8908)
6 years, 3 months ago (2014-09-05 04:53:40 UTC) #17
huangs
Committed patchset #4 (id:60001) manually as 99abda3 (presubmit successful).
6 years, 3 months ago (2014-09-06 04:12:40 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:42:13 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/99abda3dd6b692269c036fe83dcc4e3d729e8241
Cr-Commit-Position: refs/heads/master@{#293603}

Powered by Google App Engine
This is Rietveld 408576698