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

Side by Side Diff: chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js

Issue 14924002: WebUI for Profile Settings Reset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * TestFixture for password manager WebUI testing. 6 * TestFixture for profile settings reset WebUI testing.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 * @constructor 8 * @constructor
9 **/ 9 **/
10 function PasswordManagerWebUITest() {} 10 function ProfileSettingsResetWebUITest() {}
11 11
12 PasswordManagerWebUITest.prototype = { 12 ProfileSettingsResetWebUITest.prototype = {
13 __proto__: testing.Test.prototype, 13 __proto__: testing.Test.prototype,
14 14
15 /** 15 /**
16 * Browse to the password manager. 16 * Browse to the password manager.
Dan Beam 2013/05/23 19:46:43 ^ fix
battre 2013/05/24 09:15:46 Done.
17 **/ 17 **/
18 browsePreload: 'chrome://settings-frame/passwords', 18 browsePreload: 'chrome://settings-frame/resetProfileSettings',
19 }; 19 };
20 20
21 // Test opening the password manager has correct location. 21 // Test opening the profile settings reset has correct location.
22 TEST_F('PasswordManagerWebUITest', 'testOpenPasswordManager', 22 TEST_F('ProfileSettingsResetWebUITest', 'testOpenProfileSettingsReset',
23 function() { 23 function() {
24 assertEquals(this.browsePreload, document.location.href); 24 assertEquals(this.browsePreload, document.location.href);
25 }); 25 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698