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

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

Issue 1410993005: Support dictionary prefs in chrome.settingsPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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/common/extensions/api/settings_private.idl ('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/prefs_test_cases.js
diff --git a/chrome/test/data/webui/settings/prefs_test_cases.js b/chrome/test/data/webui/settings/prefs_test_cases.js
index 393ee0f19ebed4fed8f718fd17276087f068d1f2..b6c6c3a6e9c103e49c36381a21670c17f8f455bb 100644
--- a/chrome/test/data/webui/settings/prefs_test_cases.js
+++ b/chrome/test/data/webui/settings/prefs_test_cases.js
@@ -60,4 +60,43 @@ var prefsTestCases = [{
{some: 2.2,
dictionary: 4.4}]
],
+}, {
+ key: 'content_settings.exceptions.notifications',
+ type: chrome.settingsPrivate.PrefType.DICTIONARY,
+ values: [{
+ 'https:\/\/foo.com,*': {
+ last_used: 1442486000.4000,
+ 'setting': 0,
+ },
+ 'https:\/\/bar.com,*': {
+ 'last_used': 1442487000.3000,
+ 'setting': 1,
+ },
+ 'https:\/\/baz.com,*': {
+ 'last_used': 1442482000.8000,
+ 'setting': 2,
+ },
+ }, {
+ 'https:\/\/foo.com,*': {
+ last_used: 1442486000.4000,
+ 'setting': 0,
+ },
+ 'https:\/\/example.com,*': {
+ 'last_used': 1442489000.1000,
+ 'setting': 2,
+ },
+ 'https:\/\/baz.com,*': {
+ 'last_used': 1442484000.9000,
+ 'setting': 1,
+ },
+ }, {
+ 'https:\/\/foo.com,*': {
+ last_used: 1442488000.8000,
+ 'setting': 1,
+ },
+ 'https:\/\/example.com,*': {
+ 'last_used': 1442489000.1000,
+ 'setting': 2,
+ },
+ }],
}];
« no previous file with comments | « chrome/common/extensions/api/settings_private.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698