| Index: chrome/browser/ui/webui/options/options_browsertest.js
|
| diff --git a/chrome/browser/ui/webui/options/options_browsertest.js b/chrome/browser/ui/webui/options/options_browsertest.js
|
| index 82b636273f3b8f8fcbded5fe24cb06f09a5f7cae..498f125c83be45cee8290fefd2e2e52aa381d6e8 100644
|
| --- a/chrome/browser/ui/webui/options/options_browsertest.js
|
| +++ b/chrome/browser/ui/webui/options/options_browsertest.js
|
| @@ -4,7 +4,7 @@
|
|
|
| GEN('#include "chrome/browser/ui/webui/options/options_browsertest.h"');
|
|
|
| -/** @const */ var MANAGED_USERS_PREF = 'profile.managed_users';
|
| +/** @const */ var SUPERVISED_USERS_PREF = 'profile.managed_users';
|
|
|
| /**
|
| * Wait for the method specified by |methodName|, on the |object| object, to be
|
| @@ -372,7 +372,7 @@ OptionsWebUIExtendedTest.prototype = {
|
|
|
| testGenPreamble: function() {
|
| // Start with no supervised users managed by this profile.
|
| - GEN(' ClearPref("' + MANAGED_USERS_PREF + '");');
|
| + GEN(' ClearPref("' + SUPERVISED_USERS_PREF + '");');
|
| },
|
|
|
| /** @override */
|
| @@ -809,10 +809,10 @@ TEST_F('OptionsWebUIExtendedTest', 'SupervisingUsers', function() {
|
| // Remove all supervised users, then add some, watching for the pref change
|
| // notifications and UI updates in each case. Any non-empty pref dictionary
|
| // is interpreted as having supervised users.
|
| - chrome.send('optionsTestSetPref', [MANAGED_USERS_PREF, {key: 'value'}]);
|
| + chrome.send('optionsTestSetPref', [SUPERVISED_USERS_PREF, {key: 'value'}]);
|
| waitForResponse(BrowserOptions, 'updateManagesSupervisedUsers', function() {
|
| assertFalse($('profiles-supervised-dashboard-tip').hidden);
|
| - chrome.send('optionsTestSetPref', [MANAGED_USERS_PREF, {}]);
|
| + chrome.send('optionsTestSetPref', [SUPERVISED_USERS_PREF, {}]);
|
| waitForResponse(BrowserOptions, 'updateManagesSupervisedUsers', function() {
|
| assertTrue($('profiles-supervised-dashboard-tip').hidden);
|
| testDone();
|
|
|