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

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

Issue 1447693002: [a11y] Bring accessibility-audit up to date: v2.10.0 release. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the rest of the ChromeOS tests. File crbugs and update existing ones. Created 5 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']); 5 GEN_INCLUDE(['options_browsertest_base.js']);
6 6
7 /** 7 /**
8 * TestFixture for content options WebUI testing. 8 * TestFixture for content options WebUI testing.
9 * @extends {testing.Test} 9 * @extends {testing.Test}
10 * @constructor 10 * @constructor
11 */ 11 */
12 function ContentOptionsWebUITest() {} 12 function ContentOptionsWebUITest() {}
13 13
14 ContentOptionsWebUITest.prototype = { 14 ContentOptionsWebUITest.prototype = {
15 __proto__: OptionsBrowsertestBase.prototype, 15 __proto__: OptionsBrowsertestBase.prototype,
16 16
17 /** 17 /**
18 * Browse to content options. 18 * Browse to content options.
19 * @override 19 * @override
20 */ 20 */
21 browsePreload: 'chrome://settings-frame/content', 21 browsePreload: 'chrome://settings-frame/content',
22
23 /** @override */
24 setUp: function() {
25 OptionsBrowsertestBase.prototype.setUp.call(this);
26 },
Dan Beam 2015/11/24 23:24:26 remove
apacible 2015/11/25 19:13:53 Done.
22 }; 27 };
23 28
24 // Test opening the content options has correct location. 29 // Test opening the content options has correct location.
25 TEST_F('ContentOptionsWebUITest', 'testOpenContentOptions', function() { 30 TEST_F('ContentOptionsWebUITest', 'testOpenContentOptions', function() {
26 assertEquals(this.browsePreload, document.location.href); 31 assertEquals(this.browsePreload, document.location.href);
27 }); 32 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698