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

Issue 1486953003: Support numbers in settings-checkbox (Closed)

Created:
5 years ago by stevenjb
Modified:
5 years ago
Reviewers:
Dan Beam, michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support numbers in settings-checkbox BUG=521791 Committed: https://crrev.com/718499570a952cf2e95a4d6b695bd931d088ab05 Cr-Commit-Position: refs/heads/master@{#362836}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix type + add test #

Patch Set 3 : Ensure type of boolean pref also #

Total comments: 8

Patch Set 4 : Rebase + Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M chrome/browser/resources/settings/controls/settings_checkbox.js View 1 1 chunk +10 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings/checkbox_tests.js View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
stevenjb
5 years ago (2015-12-01 17:41:04 UTC) #2
Dan Beam
lgtm (would be cool to test this, though...) https://codereview.chromium.org/1486953003/diff/1/chrome/browser/resources/settings/controls/settings_checkbox.js File chrome/browser/resources/settings/controls/settings_checkbox.js (right): https://codereview.chromium.org/1486953003/diff/1/chrome/browser/resources/settings/controls/settings_checkbox.js#newcode94 chrome/browser/resources/settings/controls/settings_checkbox.js:94: // ...
5 years ago (2015-12-02 05:11:59 UTC) #3
stevenjb
Excellent point. Test added, PTAL. https://codereview.chromium.org/1486953003/diff/1/chrome/browser/resources/settings/controls/settings_checkbox.js File chrome/browser/resources/settings/controls/settings_checkbox.js (right): https://codereview.chromium.org/1486953003/diff/1/chrome/browser/resources/settings/controls/settings_checkbox.js#newcode94 chrome/browser/resources/settings/controls/settings_checkbox.js:94: // a bolean or ...
5 years ago (2015-12-02 18:14:51 UTC) #4
michaelpg
lgtm https://codereview.chromium.org/1486953003/diff/40001/chrome/browser/resources/settings/controls/settings_checkbox.js File chrome/browser/resources/settings/controls/settings_checkbox.js (right): https://codereview.chromium.org/1486953003/diff/40001/chrome/browser/resources/settings/controls/settings_checkbox.js#newcode92 chrome/browser/resources/settings/controls/settings_checkbox.js:92: /** @type {boolean} */ var newValue = this.getNewValue_(this.checked); ...
5 years ago (2015-12-02 18:54:50 UTC) #5
stevenjb
https://codereview.chromium.org/1486953003/diff/40001/chrome/browser/resources/settings/controls/settings_checkbox.js File chrome/browser/resources/settings/controls/settings_checkbox.js (right): https://codereview.chromium.org/1486953003/diff/40001/chrome/browser/resources/settings/controls/settings_checkbox.js#newcode92 chrome/browser/resources/settings/controls/settings_checkbox.js:92: /** @type {boolean} */ var newValue = this.getNewValue_(this.checked); On ...
5 years ago (2015-12-02 18:59:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486953003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486953003/40001
5 years ago (2015-12-02 18:59:43 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/149015)
5 years ago (2015-12-02 20:11:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486953003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486953003/40001
5 years ago (2015-12-02 20:19:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/149045)
5 years ago (2015-12-02 21:13:27 UTC) #15
Dan Beam
https://codereview.chromium.org/1486953003/diff/40001/chrome/test/data/webui/settings/checkbox_tests.js File chrome/test/data/webui/settings/checkbox_tests.js (right): https://codereview.chromium.org/1486953003/diff/40001/chrome/test/data/webui/settings/checkbox_tests.js#newcode48 chrome/test/data/webui/settings/checkbox_tests.js:48: assertEquals(true, pref.value); why is this better? https://codereview.chromium.org/1486953003/diff/40001/chrome/test/data/webui/settings/checkbox_tests.js#newcode78 chrome/test/data/webui/settings/checkbox_tests.js:78: testElementNum.set('pref', ...
5 years ago (2015-12-02 21:48:57 UTC) #17
stevenjb
https://codereview.chromium.org/1486953003/diff/40001/chrome/test/data/webui/settings/checkbox_tests.js File chrome/test/data/webui/settings/checkbox_tests.js (right): https://codereview.chromium.org/1486953003/diff/40001/chrome/test/data/webui/settings/checkbox_tests.js#newcode48 chrome/test/data/webui/settings/checkbox_tests.js:48: assertEquals(true, pref.value); On 2015/12/02 21:48:57, Dan Beam wrote: > ...
5 years ago (2015-12-02 22:07:27 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486953003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486953003/60001
5 years ago (2015-12-02 22:11:10 UTC) #20
Dan Beam
lgtm++
5 years ago (2015-12-02 22:13:38 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/130311)
5 years ago (2015-12-02 23:17:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486953003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486953003/60001
5 years ago (2015-12-03 00:01:13 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-03 00:39:25 UTC) #28
commit-bot: I haz the power
5 years ago (2015-12-03 00:40:24 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/718499570a952cf2e95a4d6b695bd931d088ab05
Cr-Commit-Position: refs/heads/master@{#362836}

Powered by Google App Engine
This is Rietveld 408576698