|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by hcarmona Modified:
4 years, 1 month 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, stevenjb+watch-md-settings_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMD Settings search code will not assume the Advanced section exists.
Guest Mode outside of ChromeOS does not have an Advanced section.
BUG=652666
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/88eb4e208df6ec8bd251d573d8e37b7a65f1dd84
Cr-Commit-Position: refs/heads/master@{#432901}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Use this.pageVisibility.advancedSettings #Messages
Total messages: 29 (17 generated)
Description was changed from ========== MD Settings search code will not assume the Advanced section exists. Guest Mode outside of ChromeOS does not have an Advanced section. BUG=652666 ========== to ========== MD Settings search code will not assume the Advanced section exists. Guest Mode outside of ChromeOS does not have an Advanced section. BUG=652666 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was checked by hcarmona@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
hcarmona@chromium.org changed reviewers: + dpapad@chromium.org
PTAL, I found a crash on chromeos when looking at this. http://crbug.com/665993
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by hcarmona@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
michaelpg@chromium.org changed reviewers: + michaelpg@chromium.org
https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... chrome/browser/resources/settings/settings_main/settings_main.js:334: if (cr.isChromeOS || !loadTimeData.getBoolean('isGuest')) { Please use: if (this.pageVisibility.showAdvancedSettings !== false) instead, or the this.showAdvancedSettings_ function.. (triple equals cuz it may be undefined, which means "don't hide") We shouldn't try to duplicate this logic in multiple places (already have it in settings_ui.js).
The CQ bit was unchecked by hcarmona@chromium.org
no need to uncheck commit if you'd just like to change it later https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... chrome/browser/resources/settings/settings_main/settings_main.js:334: if (cr.isChromeOS || !loadTimeData.getBoolean('isGuest')) { On 2016/11/16 20:10:14, michaelpg wrote: > Please use: > if (this.pageVisibility.showAdvancedSettings !== false) > instead, or the this.showAdvancedSettings_ function.. (triple equals cuz it may > be undefined, which means "don't hide") > > We shouldn't try to duplicate this logic in multiple places (already have it in > settings_ui.js). Also because we mess with pageVisibility in tests sometimes.
The CQ bit was checked by hcarmona@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Updated to use pageVisibility.advancedSettings https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... File chrome/browser/resources/settings/settings_main/settings_main.js (right): https://codereview.chromium.org/2507873002/diff/1/chrome/browser/resources/se... chrome/browser/resources/settings/settings_main/settings_main.js:334: if (cr.isChromeOS || !loadTimeData.getBoolean('isGuest')) { On 2016/11/16 20:10:14, michaelpg wrote: > Please use: > if (this.pageVisibility.showAdvancedSettings !== false) > instead, or the this.showAdvancedSettings_ function.. (triple equals cuz it may > be undefined, which means "don't hide") > > We shouldn't try to duplicate this logic in multiple places (already have it in > settings_ui.js). Done.
The CQ bit was unchecked by hcarmona@chromium.org
The CQ bit was checked by hcarmona@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dpapad@chromium.org Link to the patchset: https://codereview.chromium.org/2507873002/#ps20001 (title: "Use this.pageVisibility.advancedSettings")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
ty, lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by hcarmona@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== MD Settings search code will not assume the Advanced section exists. Guest Mode outside of ChromeOS does not have an Advanced section. BUG=652666 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== MD Settings search code will not assume the Advanced section exists. Guest Mode outside of ChromeOS does not have an Advanced section. BUG=652666 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/88eb4e208df6ec8bd251d573d8e37b7a65f1dd84 Cr-Commit-Position: refs/heads/master@{#432901} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/88eb4e208df6ec8bd251d573d8e37b7a65f1dd84 Cr-Commit-Position: refs/heads/master@{#432901} |
