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

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

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

Powered by Google App Engine
This is Rietveld 408576698