OLD | NEW |
| (Empty) |
1 // Copyright 2013 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 chrome.test.runTests([function() { | |
6 chrome.preferencesPrivate.getSyncCategoriesWithoutPassphrase( | |
7 chrome.test.callbackPass( | |
8 function(categories) { | |
9 chrome.test.assertTrue(categories.indexOf("Bookmarks") >= 0, | |
10 "Bookmarks is missing."); | |
11 chrome.test.assertTrue(categories.indexOf("Preferences") >= 0, | |
12 "Preferences is missing."); | |
13 chrome.test.assertTrue(categories.indexOf("Autofill") == -1, | |
14 "Autofill present even though it's encrypted."); | |
15 chrome.test.assertTrue(categories.indexOf("Typed URLs") == -1, | |
16 "Typed URLs present even though it's not synced."); | |
17 } | |
18 ) | |
19 ); | |
20 }]); | |
OLD | NEW |