| Index: chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
|
| diff --git a/chrome/test/data/extensions/api_test/chromeos_info_private/background.js b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
|
| similarity index 90%
|
| rename from chrome/test/data/extensions/api_test/chromeos_info_private/background.js
|
| rename to chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
|
| index 89204c5a948378eead8480d89a03f6615212ac54..f0808fc754af8d0a17288f8473a69e501c326994 100644
|
| --- a/chrome/test/data/extensions/api_test/chromeos_info_private/background.js
|
| +++ b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
|
| @@ -15,6 +15,14 @@ function getTestFunctionFor(keys, fails) {
|
| pass(
|
| function(values) {
|
| for (var i = 0; i < keys.length; ++i) {
|
| + // Default session type should be normal.
|
| + if (keys[i] == 'sessionType') {
|
| + chrome.test.assertEq('normal', values[keys[i]]);
|
| + }
|
| + // PlayStoreStatus by default should be not available.
|
| + if (keys[i] == 'playStoreStatus') {
|
| + chrome.test.assertEq('not available', values[keys[i]]);
|
| + }
|
| // Debug
|
| if (keys[i] in values) {
|
| console.log(' values["' + keys[i] + '"] = ' +
|
| @@ -107,6 +115,8 @@ var tests = generateTestsForKeys(['hwid',
|
| 'initialLocale',
|
| 'board',
|
| 'isOwner',
|
| + 'sessionType',
|
| + 'playStoreStatus',
|
| 'clientId',
|
| 'a11yLargeCursorEnabled',
|
| 'a11yStickyKeysEnabled',
|
|
|