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

Issue 2624503002: Add web_dev_style presubmit to ensure <if>/<include> live in comments (Closed)

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

Description

Add web_dev_style presubmit to ensure <if>/<include> live in comments Before: <include src="..."> <if expr="chromeos"> chromeOsOnlyCode(); </if> After: // <includes src="..."> // <if expr="chromeos"> chromeOsOnlyCode(); // </if> This is to unblock running clang-format on JavaScript and allow other tools to run on more expected input inside of .js files (i.e. closure compiler). BUG=678778 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2624503002 Cr-Commit-Position: refs/heads/master@{#443069} Committed: https://chromium.googlesource.com/chromium/src/+/1d4982588b9a0dc7a6685e850235dbe394eb7731

Patch Set 1 : nit #

Patch Set 2 : . #

Patch Set 3 : move to JS checker #

Patch Set 4 : '<iframe' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -41 lines) Patch
M chrome/browser/resources/settings/people_page/people_page.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/web_dev_style/js_checker.py View 1 2 3 4 chunks +10 lines, -39 lines 0 comments Download
M chrome/browser/web_dev_style/js_checker_test.py View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
Dan Beam
3 years, 11 months ago (2017-01-09 19:21:23 UTC) #1
Dan Beam
3 years, 11 months ago (2017-01-10 01:06:45 UTC) #4
Dan Beam
3 years, 11 months ago (2017-01-10 04:36:52 UTC) #12
Dan Beam
as per our IM convo: a) this check should be in the JS checker b) ...
3 years, 11 months ago (2017-01-10 04:56:57 UTC) #14
Dan Beam
On 2017/01/10 04:56:57, Dan Beam wrote: > as per our IM convo: > > a) ...
3 years, 11 months ago (2017-01-11 07:56:56 UTC) #15
tsergeant
lgtm
3 years, 11 months ago (2017-01-11 21:23:51 UTC) #20
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/2624503002/80001
3 years, 11 months ago (2017-01-11 21:58:28 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 00:12:39 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1d4982588b9a0dc7a6685e850235...

Powered by Google App Engine
This is Rietveld 408576698