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

Issue 2598863002: Allow and better handle single quotes in GRIT's <include> and <if> (Closed)

Created:
4 years ago by Dan Beam
Modified:
3 years, 11 months ago
Reviewers:
Nico
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow and better handle single quotes in GRIT's <include> and <if> I'm starting to run clang-format on things, and it's miraculously not blowing up on <if> or <include> in .js files. It IS, however, changing " to ', as JavaScript generally prefers '. This helps handle that. R=thakis@chromium.org BUG=567770 Committed: https://crrev.com/e89e068d8d527239f9de0d7c8350e338ba0db5c1 Cr-Commit-Position: refs/heads/master@{#441292}

Patch Set 1 : 80 col nit #

Total comments: 2

Patch Set 2 : more correcter quotes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M tools/grit/grit/format/html_inline.py View 1 4 chunks +8 lines, -5 lines 0 comments Download
M tools/grit/grit/format/html_inline_unittest.py View 1 4 chunks +8 lines, -1 line 2 comments Download

Messages

Total messages: 20 (11 generated)
Dan Beam
4 years ago (2016-12-22 02:00:34 UTC) #2
Dan Beam
ping when you get back
3 years, 11 months ago (2017-01-03 21:49:27 UTC) #5
Nico
Generally looks cool; one question: https://codereview.chromium.org/2598863002/diff/40001/tools/grit/grit/format/html_inline.py File tools/grit/grit/format/html_inline.py (right): https://codereview.chromium.org/2598863002/diff/40001/tools/grit/grit/format/html_inline.py#newcode47 tools/grit/grit/format/html_inline.py:47: '<include[^>]+?src=["\'](?P<filename>[^\'"]*)["\'].*?>(\s*</include>)?', doesn't this match ...
3 years, 11 months ago (2017-01-03 22:29:57 UTC) #6
Dan Beam
https://codereview.chromium.org/2598863002/diff/40001/tools/grit/grit/format/html_inline.py File tools/grit/grit/format/html_inline.py (right): https://codereview.chromium.org/2598863002/diff/40001/tools/grit/grit/format/html_inline.py#newcode47 tools/grit/grit/format/html_inline.py:47: '<include[^>]+?src=["\'](?P<filename>[^\'"]*)["\'].*?>(\s*</include>)?', On 2017/01/03 22:29:57, Nico (ooo sick) wrote: > ...
3 years, 11 months ago (2017-01-04 01:14:05 UTC) #7
Nico
lgtm https://codereview.chromium.org/2598863002/diff/60001/tools/grit/grit/format/html_inline_unittest.py File tools/grit/grit/format/html_inline_unittest.py (right): https://codereview.chromium.org/2598863002/diff/60001/tools/grit/grit/format/html_inline_unittest.py#newcode403 tools/grit/grit/format/html_inline_unittest.py:403: <include src='single-double-quotes.html"></include> Does the file single-double-quotes.html exist? (not ...
3 years, 11 months ago (2017-01-04 01:35:33 UTC) #12
Dan Beam
https://codereview.chromium.org/2598863002/diff/60001/tools/grit/grit/format/html_inline_unittest.py File tools/grit/grit/format/html_inline_unittest.py (right): https://codereview.chromium.org/2598863002/diff/60001/tools/grit/grit/format/html_inline_unittest.py#newcode403 tools/grit/grit/format/html_inline_unittest.py:403: <include src='single-double-quotes.html"></include> On 2017/01/04 01:35:33, Nico (ooo sick) wrote: ...
3 years, 11 months ago (2017-01-04 01:40:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2598863002/60001
3 years, 11 months ago (2017-01-04 02:11:56 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:60001)
3 years, 11 months ago (2017-01-04 02:16:40 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 02:21:09 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e89e068d8d527239f9de0d7c8350e338ba0db5c1
Cr-Commit-Position: refs/heads/master@{#441292}

Powered by Google App Engine
This is Rietveld 408576698