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

Issue 2755553002: MD Settings: Fix broken numeric prefs using boolean controls (Closed)

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

Description

MD Settings: Fix broken numeric prefs using boolean controls We put readOnly: true on the numeric unchecked value property. However, this prevents the host from binding the initial value, and prevents the functionality from working at all. BUG=664048 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2755553002 Cr-Commit-Position: refs/heads/master@{#457130} Committed: https://chromium.googlesource.com/chromium/src/+/7d113d193eb693c2c8d2d60e61744fe3c3e5dec5

Patch Set 1 #

Patch Set 2 : update test #

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

Messages

Total messages: 17 (12 generated)
tommycli
dbeam: PTAL, the numeric unchecked value can't be read only.
3 years, 9 months ago (2017-03-14 23:37:34 UTC) #3
Dan Beam
lgtm but test?
3 years, 9 months ago (2017-03-15 16:27:41 UTC) #4
tommycli
On 2017/03/15 16:27:41, Dan Beam wrote: > lgtm but test? I have now updated the ...
3 years, 9 months ago (2017-03-15 16:31:43 UTC) #5
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/2755553002/20001
3 years, 9 months ago (2017-03-15 17:29:51 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 17:51:06 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7d113d193eb693c2c8d2d60e6174...

Powered by Google App Engine
This is Rietveld 408576698