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

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)

Created:
3 years, 11 months ago by Dan Beam
Modified:
3 years, 11 months ago
Reviewers:
xiyuan, Nico, hirono, jam
CC:
chromium-reviews, skanuj+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org, apacible+watch_chromium.org, fukino+watch_chromium.org, extensions-reviews_chromium.org, melevin+watch_chromium.org, achuith+watch_chromium.org, Patrick Dubroy, posciak+watch_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-options_chromium.org, alemate+watch_chromium.org, yamaguchi+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, jfweitz+watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, Jered, michaelpg+watch-options_chromium.org, media-router+watch_chromium.org, donnd+watch_chromium.org, dbeam+watch-history_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, Nico, achuithb, michaelpg, satorux1, stevenjb, zel, fukino, hirono, mtomasz, oka, yawano, yoshiki
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS This unblocks clang-format on .js files. See bug for more details. R=thakis@chromium.org,hirono@chromium.org,xiyuan@chromium.org TBR=jam@chromium.org BUG=678778 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2617823002 Cr-Commit-Position: refs/heads/master@{#442322} Committed: https://chromium.googlesource.com/chromium/src/+/94146b3fa89acb43b24182b30258f3fb5bb62047

Patch Set 1 : add dep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+899 lines, -900 lines) Patch
M chrome/browser/resources/chromeos/first_run/first_run.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/keyboard_overlay.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_login.js View 1 chunk +14 lines, -14 lines 0 comments Download
M chrome/browser/resources/chromeos/login/custom_elements_oobe.js View 1 chunk +26 lines, -26 lines 0 comments Download
M chrome/browser/resources/chromeos/login/lock.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/login.js View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login_non_lock_shared.js View 1 chunk +23 lines, -23 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login_shared.js View 1 chunk +14 lines, -14 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.js View 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/main_scripts.js View 1 chunk +29 lines, -29 lines 0 comments Download
M chrome/browser/resources/extensions/chromeos/kiosk_apps.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/extensions/extension_command_list.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/extensions/extension_commands_overlay.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 chunk +17 lines, -17 lines 0 comments Download
M chrome/browser/resources/feedback/js/event_handler.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/feedback/js/feedback.js View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/gaia_auth_host/post_message_channel.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/gaia_auth_host/saml_handler.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/webview_saml_injected.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/help/help.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/help/help_page.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/history/history.js View 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_util.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_user_manager/user_manager.js View 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/media_router/media_router.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/options.js View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 2 chunks +103 lines, -103 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/predictors/predictors.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 2 chunks +81 lines, -81 lines 0 comments Download
M chrome/browser/resources/settings/a11y_page/a11y_page.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/about_page/about_page.js View 17 chunks +38 lines, -38 lines 0 comments Download
M chrome/browser/resources/settings/about_page/about_page_browser_proxy.js View 8 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_browser_proxy.js View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.js View 5 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/lifetime_browser_proxy.js View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 17 chunks +32 lines, -32 lines 0 comments Download
M chrome/browser/resources/settings/people_page/pin_keyboard.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/sync_browser_proxy.js View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/printing_page.js View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 6 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page_browser_proxy.js View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_browser_proxy.js View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.js View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 6 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/uber/uber_frame.js View 1 chunk +2 lines, -2 lines 0 comments Download
M components/chrome_apps/webstore_widget/app/main.js View 1 chunk +9 lines, -9 lines 0 comments Download
M components/neterror/resources/neterror.js View 2 chunks +6 lines, -6 lines 0 comments Download
M components/security_interstitials/core/browser/resources/interstitial_v2.js View 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/resources/gpu/gpu_internals.js View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/resources/media/media_internals.js View 1 chunk +7 lines, -7 lines 0 comments Download
M content/browser/resources/media/stats_graph_helper.js View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/resources/media/webrtc_internals.js View 1 chunk +7 lines, -7 lines 0 comments Download
M ui/file_manager/audio_player/js/audio_player_scripts.js View 2 chunks +22 lines, -22 lines 0 comments Download
M ui/file_manager/audio_player/js/background_scripts.js View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/background/js/background_common_scripts.js View 1 chunk +16 lines, -16 lines 0 comments Download
M ui/file_manager/file_manager/background/js/background_scripts.js View 1 chunk +19 lines, -19 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/main_scripts.js View 1 chunk +132 lines, -132 lines 0 comments Download
M ui/file_manager/gallery/js/background_scripts.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/file_manager/gallery/js/gallery_scripts.js View 1 chunk +65 lines, -66 lines 0 comments Download
M ui/file_manager/image_loader/background_scripts.js View 1 chunk +11 lines, -11 lines 0 comments Download
M ui/file_manager/video_player/js/background_scripts.js View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/file_manager/video_player/js/video_player_scripts.js View 1 chunk +31 lines, -31 lines 0 comments Download
M ui/webui/resources/js/cr/ui/array_data_model.js View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 45 (27 generated)
Dan Beam
3 years, 11 months ago (2017-01-05 22:45:59 UTC) #12
Nico
+c/b/resources/chromeos/OWNERS for their information. The motivation is to make our .js files actually syntactically valid ...
3 years, 11 months ago (2017-01-05 23:34:24 UTC) #15
Nico
+ui/file_manager/OWNERS as well. again, the motivation is to make our .js files actually syntactically valid ...
3 years, 11 months ago (2017-01-05 23:36:21 UTC) #16
xiyuan
Would GRIT expand the included file behind the "//" ?
3 years, 11 months ago (2017-01-05 23:43:30 UTC) #18
hirono
lgtm for ui/file_manager
3 years, 11 months ago (2017-01-06 01:48:10 UTC) #22
Dan Beam
On 2017/01/05 23:43:30, xiyuan wrote: > Would GRIT expand the included file behind the "//" ...
3 years, 11 months ago (2017-01-06 02:56:47 UTC) #23
xiyuan
On 2017/01/06 02:56:47, Dan Beam wrote: > On 2017/01/05 23:43:30, xiyuan wrote: > > Would ...
3 years, 11 months ago (2017-01-06 16:59:43 UTC) #24
jam
Which files do you want me to look at?
3 years, 11 months ago (2017-01-06 17:02:12 UTC) #25
Dan Beam
On 2017/01/06 17:02:12, jam wrote: > Which files do you want me to look at? ...
3 years, 11 months ago (2017-01-06 18:50:04 UTC) #26
Dan Beam
On 2017/01/06 18:50:04, Dan Beam wrote: > On 2017/01/06 17:02:12, jam wrote: > > Which ...
3 years, 11 months ago (2017-01-06 18:50:30 UTC) #27
jam
On 2017/01/06 18:50:30, Dan Beam wrote: > On 2017/01/06 18:50:04, Dan Beam wrote: > > ...
3 years, 11 months ago (2017-01-06 20:38:00 UTC) #28
Dan Beam
On 2017/01/06 20:38:00, jam wrote: > On 2017/01/06 18:50:30, Dan Beam wrote: > > On ...
3 years, 11 months ago (2017-01-06 22:05:02 UTC) #29
Nico
lgtm
3 years, 11 months ago (2017-01-09 15:15:44 UTC) #30
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/2617823002/60001
3 years, 11 months ago (2017-01-09 19:22:50 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/337551)
3 years, 11 months ago (2017-01-09 19:43:58 UTC) #38
Dan Beam
On 2017/01/09 19:43:58, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 11 months ago (2017-01-09 19:54:56 UTC) #40
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/2617823002/60001
3 years, 11 months ago (2017-01-09 19:55:51 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 20:17:32 UTC) #45
Message was sent while issue was closed.
Committed patchset #1 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/94146b3fa89acb43b24182b30258...

Powered by Google App Engine
This is Rietveld 408576698