OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** | |
6 * @type {Array<Object>} | |
Dan Beam
2015/09/15 01:37:18
Object -> {key: string, type: chrome.settingsPriva
michaelpg
2015/09/15 02:20:53
Done.
| |
7 * Test cases containing preference data with three possible values per pref. | |
Dan Beam
2015/09/15 01:37:18
can you expand on what values means?
michaelpg
2015/09/15 02:20:53
Done.
| |
8 */ | |
9 var prefsTestCases = [{ | |
10 key: 'top_level_pref', | |
11 type: chrome.settingsPrivate.PrefType.BOOLEAN, | |
12 values: [true, false, true], | |
13 }, { | |
14 key: 'browser.enable_flash', | |
15 type: chrome.settingsPrivate.PrefType.BOOLEAN, | |
16 values: [false, true, false], | |
17 }, { | |
18 key: 'browser.enable_html5', | |
19 type: chrome.settingsPrivate.PrefType.BOOLEAN, | |
20 values: [true, false, false], | |
21 }, { | |
22 key: 'device.overclock', | |
23 type: chrome.settingsPrivate.PrefType.NUMBER, | |
24 values: [0, .2, .6], | |
25 }, { | |
26 key: 'browser.on.startup.homepage', | |
27 type: chrome.settingsPrivate.PrefType.STRING, | |
28 values: ['example.com', 'chromium.org', 'chrome.example.com'], | |
29 }]; | |
OLD | NEW |