New issue
Advanced search Search tips

Issue 897236 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug

Blocking:
issue 896748



Sign in to add a comment

Content settings get disabled when entering their sub page.

Project Member Reported by odejesush@chromium.org, Oct 19

Issue description

Chrome Version:
  Linux: 72.0.3586.0 (Developer Build) (64-bit)
  Windows: 72.0.3585.1 (Official Build) canary-dcheck (32-bit) (cohort: ASAN)
OS: Linux, Windows, possibly the other desktop OSes

What steps will reproduce the problem?
(1) Navigate to chrome://settings/content
(2) Notice that for most settings, the default is Allow/Ask. Select a content setting to enter its submenu.
(3) Notice that the setting is Disabled/Blocked when entering the menu.

What is the expected result?
Entering the content setting submenu should not modify the setting.

What happens instead?
Entering the content setting submenu modifies the setting. If you go back to the previous page and enter the same menu, it does not modify the setting anymore. However, if you refresh the page, the first time that you enter a setting sub menu, its value will be set to Disabled/Blocked.


I've tested this on other versions of Chrome and OSes. This doesn't happen for the following Chrome and OS combinations:
* ChromeOS
  * 71.0.3578.8 (Official build) dev (64-bit)
* Linux
  * 70.0.3538.67 (Official build) (64-bit)
  * 70.0.3538.67 (Official build) beta (64-bit)
  * 71.0.3578.10 (Official build) dev (64-bit)
* Windows
  * 70.0.3538.67 (Official build) (64-bit) (cohort: 70_67_Win)
  * 70.0.3538.67 (Official build) beta (64-bit) (cohort: Beta)
  * 71.0.3578.10 (Official build) dev (64-bit) (cohort: Dev)
So it recently started happening in 72.
 
capture.webm
18.0 MB Download
Owner: dpa...@chromium.org
I am also hitting this and I bisected it down to
https://chromium.googlesource.com/chromium/src/+/177774d57a744b75630cba5507c3bf1ed419aea3

dpapad -> owner.
Blocking: 896748
Cc: rbpotter@chromium.org
Labels: -Pri-2 Pri-1
Owner: ----
Status: Available (was: Untriaged)
I am able reproduce this. 
Owner: dpa...@chromium.org
Status: Started (was: Available)
The issue seems to be happening because of Polymer observer behavior changes in Polymer 2. Still investigating...
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d6d635342689e2b9c2cbe19cf29d5c059b9c4131

commit d6d635342689e2b9c2cbe19cf29d5c059b9c4131
Author: dpapad <dpapad@chromium.org>
Date: Tue Oct 23 22:33:08 2018

Settings WebUI: Fix default setting for content exceptions.

Because of Polymer 2's different observer dependencies semantics the default
setting was erroneously toggled when the user enter the subpage.

Bug:  897236 
Change-Id: I83b8959734e85d39e35f0acd187062326143b876
Reviewed-on: https://chromium-review.googlesource.com/c/1297231
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602142}
[modify] https://crrev.com/d6d635342689e2b9c2cbe19cf29d5c059b9c4131/chrome/browser/resources/settings/site_settings/category_default_setting.js
[modify] https://crrev.com/d6d635342689e2b9c2cbe19cf29d5c059b9c4131/chrome/test/data/webui/settings/category_default_setting_tests.js

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d6d635342689e2b9c2cbe19cf29d5c059b9c4131

commit d6d635342689e2b9c2cbe19cf29d5c059b9c4131
Author: dpapad <dpapad@chromium.org>
Date: Tue Oct 23 22:33:08 2018

Settings WebUI: Fix default setting for content exceptions.

Because of Polymer 2's different observer dependencies semantics the default
setting was erroneously toggled when the user enter the subpage.

Bug:  897236 
Change-Id: I83b8959734e85d39e35f0acd187062326143b876
Reviewed-on: https://chromium-review.googlesource.com/c/1297231
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602142}
[modify] https://crrev.com/d6d635342689e2b9c2cbe19cf29d5c059b9c4131/chrome/browser/resources/settings/site_settings/category_default_setting.js
[modify] https://crrev.com/d6d635342689e2b9c2cbe19cf29d5c059b9c4131/chrome/test/data/webui/settings/category_default_setting_tests.js

Status: Fixed (was: Started)

Sign in to add a comment