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

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

Issue 745953002: Revert of Enable a11y audit for chrome://settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 1 month 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
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 GEN_INCLUDE(['options_browsertest_base.js']);
6
7 /** 5 /**
8 * TestFixture for content options WebUI testing. 6 * TestFixture for content options WebUI testing.
9 * @extends {testing.Test} 7 * @extends {testing.Test}
10 * @constructor 8 * @constructor
11 */ 9 */
12 function ContentOptionsWebUITest() {} 10 function ContentOptionsWebUITest() {}
13 11
14 ContentOptionsWebUITest.prototype = { 12 ContentOptionsWebUITest.prototype = {
15 __proto__: OptionsBrowsertestBase.prototype, 13 __proto__: testing.Test.prototype,
16 14
17 /** 15 /**
18 * Browse to content options. 16 * Browse to content options.
19 * @override
20 */ 17 */
21 browsePreload: 'chrome://settings-frame/content', 18 browsePreload: 'chrome://settings-frame/content',
22 }; 19 };
23 20
24 // Test opening the content options has correct location. 21 // Test opening the content options has correct location.
25 TEST_F('ContentOptionsWebUITest', 'testOpenContentOptions', function() { 22 TEST_F('ContentOptionsWebUITest', 'testOpenContentOptions', function() {
26 assertEquals(this.browsePreload, document.location.href); 23 assertEquals(this.browsePreload, document.location.href);
27 }); 24 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698