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

Issue 2468363005: [MD settings] show blocked sites even when category is blocked (Closed)

Created:
4 years, 1 month ago by dschuyler
Modified:
4 years, 1 month ago
Reviewers:
dpapad
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.

Description

[MD settings] show blocked sites even when category is blocked This CL removes the logic that sometimes hides the blocked or session only lists, so that they are now always shown. This is a desired UI change from Alan. BUG=662491, 662493 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/dbefa1097f65603c4832c44b1a12cb419016d1e5 Cr-Commit-Position: refs/heads/master@{#431449}

Patch Set 1 #

Patch Set 2 : updated test #

Patch Set 3 : fixes #

Total comments: 13

Patch Set 4 : review changes #

Total comments: 2

Patch Set 5 : closure enum types on content settings #

Patch Set 6 : unit test changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -160 lines) Patch
M chrome/browser/resources/settings/site_settings/add_site_dialog.js View 1 2 3 4 3 chunks +18 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/compiled_resources2.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/constants.js View 1 2 3 4 1 chunk +53 lines, -57 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 4 5 7 chunks +10 lines, -49 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 2 3 4 5 20 chunks +21 lines, -46 lines 2 comments Download
M chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (34 generated)
dschuyler
4 years, 1 month ago (2016-11-04 19:25:20 UTC) #3
dschuyler
4 years, 1 month ago (2016-11-07 19:54:44 UTC) #16
dpapad
https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode19 chrome/browser/resources/settings/site_settings/add_site_dialog.js:19: allowException: Boolean, This was used when calling browserProxy.setCategoryPermissionForOrigin before. ...
4 years, 1 month ago (2016-11-07 21:59:35 UTC) #17
dschuyler
https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode19 chrome/browser/resources/settings/site_settings/add_site_dialog.js:19: allowException: Boolean, On 2016/11/07 21:59:35, dpapad wrote: > This ...
4 years, 1 month ago (2016-11-07 23:54:04 UTC) #20
dpapad
LGTM https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/site_list.js File chrome/browser/resources/settings/site_settings/site_list.js (right): https://codereview.chromium.org/2468363005/diff/40001/chrome/browser/resources/settings/site_settings/site_list.js#newcode214 chrome/browser/resources/settings/site_settings/site_list.js:214: var dialog = document.createElement('add-site-dialog'); On 2016/11/07 at 23:54:04, ...
4 years, 1 month ago (2016-11-08 00:12:32 UTC) #21
dschuyler
https://codereview.chromium.org/2468363005/diff/60001/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2468363005/diff/60001/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode20 chrome/browser/resources/settings/site_settings/add_site_dialog.js:20: contentSetting: String, On 2016/11/08 00:12:32, dpapad wrote: > As ...
4 years, 1 month ago (2016-11-08 00:40:50 UTC) #24
dschuyler
Changes in the unit tests because changing the enabled status no longer triggers a proxy ...
4 years, 1 month ago (2016-11-10 22:07:13 UTC) #35
dpapad
https://codereview.chromium.org/2468363005/diff/120001/chrome/test/data/webui/settings/site_list_tests.js File chrome/test/data/webui/settings/site_list_tests.js (left): https://codereview.chromium.org/2468363005/diff/120001/chrome/test/data/webui/settings/site_list_tests.js#oldcode440 chrome/test/data/webui/settings/site_list_tests.js:440: assertFalse(testElement.$.category.hidden); Does it still makes sense to assert() for ...
4 years, 1 month ago (2016-11-10 22:22:45 UTC) #36
dschuyler
https://codereview.chromium.org/2468363005/diff/120001/chrome/test/data/webui/settings/site_list_tests.js File chrome/test/data/webui/settings/site_list_tests.js (left): https://codereview.chromium.org/2468363005/diff/120001/chrome/test/data/webui/settings/site_list_tests.js#oldcode440 chrome/test/data/webui/settings/site_list_tests.js:440: assertFalse(testElement.$.category.hidden); On 2016/11/10 22:22:45, dpapad wrote: > Does it ...
4 years, 1 month ago (2016-11-10 22:34:38 UTC) #37
dpapad
> I think it made sense to have the prior testing when those two unrelated ...
4 years, 1 month ago (2016-11-10 22:41:29 UTC) #38
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/2468363005/120001
4 years, 1 month ago (2016-11-11 01:41:29 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 1 month ago (2016-11-11 01:47:11 UTC) #45
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 01:55:00 UTC) #47
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/dbefa1097f65603c4832c44b1a12cb419016d1e5
Cr-Commit-Position: refs/heads/master@{#431449}

Powered by Google App Engine
This is Rietveld 408576698