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

Issue 2921143002: Reverse accidental enabling of 'use strict' in closure compiler (Closed)

Created:
3 years, 6 months ago by wychen
Modified:
3 years, 6 months ago
Reviewers:
dpapad
CC:
chromium-reviews, darin-cc_chromium.org, flackr, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reverse accidental enabling of 'use strict' in closure compiler In grit, JavaScript files are minified using closure compiler. The output is in ES6 without "use strict", until a roll in https://codereview.chromium.org/2918683002, which adds "use strict" by default for ES6 (now called ES2015). Having "use strict" caused failures in DOM distiller and probably other things, so we need to fix them first. BUG=728655, 729689 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2921143002 Cr-Commit-Position: refs/heads/master@{#477192} Committed: https://chromium.googlesource.com/chromium/src/+/14fb5d1f03c1d705a5c0e1d33904df5da7153221

Patch Set 1 #

Patch Set 2 : emit_use_strict=false #

Total comments: 11

Patch Set 3 : add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -72 lines) Patch
M components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc View 8 chunks +8 lines, -72 lines 0 comments Download
M third_party/closure_compiler/closure_args.gni View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 39 (22 generated)
wychen
dbeam@chromium.org: Please review changes in closure_args.gni flackr@chromium.org: Please review changes in grit_rule.gni
3 years, 6 months ago (2017-06-05 17:00:51 UTC) #9
wychen
dbeam@chromium.org: Please review changes in closure_args.gni flackr@chromium.org: Please review changes in grit_rule.gni
3 years, 6 months ago (2017-06-05 17:00:53 UTC) #10
Dan Beam
-dbeam, +dpapad
3 years, 6 months ago (2017-06-05 17:25:27 UTC) #13
dpapad
https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni File third_party/closure_compiler/closure_args.gni (right): https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni#newcode56 third_party/closure_compiler/closure_args.gni:56: "emit_use_strict=false", Can you elaborate a bit on what is ...
3 years, 6 months ago (2017-06-05 17:31:31 UTC) #14
wychen
https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni File third_party/closure_compiler/closure_args.gni (right): https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni#newcode56 third_party/closure_compiler/closure_args.gni:56: "emit_use_strict=false", On 2017/06/05 17:31:31, dpapad wrote: > Can you ...
3 years, 6 months ago (2017-06-05 17:35:08 UTC) #15
flackr
https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni File tools/grit/grit_rule.gni (right): https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni#newcode407 tools/grit/grit_rule.gni:407: "//third_party/closure_compiler/compiler/compiler.jar", I'm not sure I follow this change, is ...
3 years, 6 months ago (2017-06-05 17:39:47 UTC) #16
wychen
https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni File tools/grit/grit_rule.gni (right): https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni#newcode407 tools/grit/grit_rule.gni:407: "//third_party/closure_compiler/compiler/compiler.jar", On 2017/06/05 17:39:46, flackr wrote: > I'm not ...
3 years, 6 months ago (2017-06-05 17:46:25 UTC) #17
dpapad
https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni File third_party/closure_compiler/closure_args.gni (right): https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni#newcode56 third_party/closure_compiler/closure_args.gni:56: "emit_use_strict=false", > We can turn it on after fixing ...
3 years, 6 months ago (2017-06-05 17:51:23 UTC) #18
flackr
https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni File tools/grit/grit_rule.gni (right): https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni#newcode407 tools/grit/grit_rule.gni:407: "//third_party/closure_compiler/compiler/compiler.jar", On 2017/06/05 17:46:25, wychen wrote: > On 2017/06/05 ...
3 years, 6 months ago (2017-06-05 17:54:54 UTC) #19
wychen
https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni File third_party/closure_compiler/closure_args.gni (right): https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni#newcode56 third_party/closure_compiler/closure_args.gni:56: "emit_use_strict=false", On 2017/06/05 17:51:23, dpapad wrote: > > We ...
3 years, 6 months ago (2017-06-05 18:25:57 UTC) #20
flackr
https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni File tools/grit/grit_rule.gni (right): https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni#newcode407 tools/grit/grit_rule.gni:407: "//third_party/closure_compiler/compiler/compiler.jar", On 2017/06/05 18:25:56, wychen wrote: > On 2017/06/05 ...
3 years, 6 months ago (2017-06-05 18:46:40 UTC) #21
wychen
https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni File tools/grit/grit_rule.gni (right): https://codereview.chromium.org/2921143002/diff/20001/tools/grit/grit_rule.gni#newcode407 tools/grit/grit_rule.gni:407: "//third_party/closure_compiler/compiler/compiler.jar", On 2017/06/05 18:46:40, flackr wrote: > On 2017/06/05 ...
3 years, 6 months ago (2017-06-05 19:05:43 UTC) #22
wychen
https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni File third_party/closure_compiler/closure_args.gni (right): https://codereview.chromium.org/2921143002/diff/20001/third_party/closure_compiler/closure_args.gni#newcode56 third_party/closure_compiler/closure_args.gni:56: "emit_use_strict=false", On 2017/06/05 18:25:56, wychen wrote: > On 2017/06/05 ...
3 years, 6 months ago (2017-06-05 20:21:54 UTC) #25
dpapad
LGTM
3 years, 6 months ago (2017-06-05 20:54:25 UTC) #27
commit-bot: I haz the power
This CL has an open dependency (Issue 2924653002 Patch 1). Please resolve the dependency and ...
3 years, 6 months ago (2017-06-05 21:10:57 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/2921143002/40001
3 years, 6 months ago (2017-06-06 04:15:11 UTC) #36
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 04:19:17 UTC) #39
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/14fb5d1f03c1d705a5c0e1d33904...

Powered by Google App Engine
This is Rietveld 408576698