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

Unified Diff: chrome/test/data/webui/settings/site_settings_category_tests.js

Issue 2552883009: [MD settings] include source of policy for content settings (Closed)
Patch Set: account for unset source Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/site_settings_category_tests.js
diff --git a/chrome/test/data/webui/settings/site_settings_category_tests.js b/chrome/test/data/webui/settings/site_settings_category_tests.js
index 58eb160c9ee489bf2312aa3bf38a98347054812e..a1b7b7d4cebdc7abfe23783743f6a9c0c3a2ff75 100644
--- a/chrome/test/data/webui/settings/site_settings_category_tests.js
+++ b/chrome/test/data/webui/settings/site_settings_category_tests.js
@@ -24,7 +24,9 @@ cr.define('site_settings_category', function() {
*/
var prefsLocationDisabled = {
defaults: {
- geolocation: 'block',
+ geolocation: {
+ setting: 'block',
+ },
},
exceptions: {
geolocation: [],
@@ -37,7 +39,9 @@ cr.define('site_settings_category', function() {
*/
var prefsLocationEnabled = {
defaults: {
- geolocation: 'allow',
+ geolocation: {
+ setting: 'allow',
+ },
},
exceptions: {
geolocation: [],
@@ -49,7 +53,9 @@ cr.define('site_settings_category', function() {
*/
var prefsFlashDetect = {
defaults: {
- plugins: 'detect_important_content',
+ plugins: {
+ setting: 'detect_important_content',
+ },
},
exceptions: {
plugins: [],
@@ -62,7 +68,9 @@ cr.define('site_settings_category', function() {
*/
var prefsCookesSessionOnly = {
defaults: {
- cookies: 'session_only',
+ cookies: {
+ setting: 'session_only',
+ },
},
exceptions: {
cookies: [],
@@ -94,6 +102,7 @@ cr.define('site_settings_category', function() {
});
function testCategoryEnabled(testElement, enabled) {
+ browserProxy.reset();
browserProxy.setPrefs(
enabled ? prefsLocationEnabled : prefsLocationDisabled);
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698