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

Issue 2940233002: WebUI: Allow using ES6 classes in the styleguide. (Closed)

Created:
3 years, 6 months ago by dpapad
Modified:
3 years, 6 months ago
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: Allow using ES6 classes in the styleguide. As part of the same CL, I am converting search_settings.js to use ES6 classes, to ensure that Closure compiler correctly handles it. BUG=671426 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2940233002 Cr-Commit-Position: refs/heads/master@{#480663} Committed: https://chromium.googlesource.com/chromium/src/+/f2fb4313701e313ca6aa74682ac627d07e9bd172

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove static #

Patch Set 3 : More #

Patch Set 4 : Link to thread. #

Total comments: 2

Patch Set 5 : Add IOS note #

Total comments: 2

Patch Set 6 : Address comments. #

Patch Set 7 : Resolve conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -206 lines) Patch
M chrome/browser/resources/settings/search_settings.js View 1 2 3 4 5 6 5 chunks +151 lines, -170 lines 0 comments Download
M docs/es6_chromium.md View 1 2 3 4 5 2 chunks +41 lines, -36 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
Tyler Breisacher (Chromium)
https://codereview.chromium.org/2940233002/diff/1/chrome/browser/resources/settings/search_settings.js File chrome/browser/resources/settings/search_settings.js (right): https://codereview.chromium.org/2940233002/diff/1/chrome/browser/resources/settings/search_settings.js#newcode554 chrome/browser/resources/settings/search_settings.js:554: SearchRequest.SANITIZE_REGEX_ = /[-[\]{}()*+?.,\\^$|#\s]/g; nit: Since this isn't Java, you ...
3 years, 6 months ago (2017-06-15 22:48:37 UTC) #3
dpapad
I'll update the ES6 styleguide to allow ES6 classes, and as part of this CL ...
3 years, 6 months ago (2017-06-15 22:57:54 UTC) #4
dpapad
3 years, 6 months ago (2017-06-15 23:29:36 UTC) #7
Dan Beam
maybe link to the chromium-dev@ discussion on this topic? is there anywhere class doesn't work? ...
3 years, 6 months ago (2017-06-16 00:43:20 UTC) #8
Dan Beam
https://codereview.chromium.org/2940233002/diff/60001/docs/es6_chromium.md File docs/es6_chromium.md (right): https://codereview.chromium.org/2940233002/diff/60001/docs/es6_chromium.md#newcode219 docs/es6_chromium.md:219: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/S1h-0m2ohOw/jyaiMGDlCwAJ nvm, i found this
3 years, 6 months ago (2017-06-16 00:43:41 UTC) #9
dpapad
@eugenebut: Do you know if ES6 classes work everywhere where Chrome runs on IOS? https://codereview.chromium.org/2940233002/diff/60001/docs/es6_chromium.md ...
3 years, 6 months ago (2017-06-16 00:52:01 UTC) #10
Dan Beam
On 2017/06/16 00:52:01, dpapad wrote: > @eugenebut: Do you know if ES6 classes work everywhere ...
3 years, 6 months ago (2017-06-16 01:00:36 UTC) #11
dpapad
On 2017/06/16 at 01:00:36, dbeam wrote: > On 2017/06/16 00:52:01, dpapad wrote: > > @eugenebut: ...
3 years, 6 months ago (2017-06-16 01:33:43 UTC) #12
Eugene But (OOO till 7-30)
On 2017/06/16 01:33:43, dpapad wrote: > On 2017/06/16 at 01:00:36, dbeam wrote: > > On ...
3 years, 6 months ago (2017-06-16 03:44:10 UTC) #13
PhistucK
https://codereview.chromium.org/2940233002/diff/80001/docs/es6_chromium.md File docs/es6_chromium.md (right): https://codereview.chromium.org/2940233002/diff/80001/docs/es6_chromium.md#newcode221 docs/es6_chromium.md:221: **Note**: => does not work in iOS9. Don't use ...
3 years, 6 months ago (2017-06-16 14:53:10 UTC) #15
dpapad
On 2017/06/16 at 03:44:10, eugenebut wrote: > On 2017/06/16 01:33:43, dpapad wrote: > > On ...
3 years, 6 months ago (2017-06-16 18:09:10 UTC) #16
dpapad
https://codereview.chromium.org/2940233002/diff/80001/docs/es6_chromium.md File docs/es6_chromium.md (right): https://codereview.chromium.org/2940233002/diff/80001/docs/es6_chromium.md#newcode221 docs/es6_chromium.md:221: **Note**: => does not work in iOS9. Don't use ...
3 years, 6 months ago (2017-06-16 18:09:25 UTC) #17
Dan Beam
lgtm
3 years, 6 months ago (2017-06-16 22:26:10 UTC) #18
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/2940233002/100001
3 years, 6 months ago (2017-06-19 17:39:19 UTC) #20
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/settings/search_settings.js: While running git apply --index -3 -p1; error: patch ...
3 years, 6 months ago (2017-06-19 19:34:20 UTC) #22
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/2940233002/120001
3 years, 6 months ago (2017-06-19 20:48:58 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/120809)
3 years, 6 months ago (2017-06-19 22:21:20 UTC) #27
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/2940233002/120001
3 years, 6 months ago (2017-06-19 23:27:54 UTC) #29
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 00:44:58 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/f2fb4313701e313ca6aa74682ac6...

Powered by Google App Engine
This is Rietveld 408576698