| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 GEN_INCLUDE(['options_browsertest_base.js']); | |
| 6 | |
| 7 /** | |
| 8 * TestFixture for content options WebUI testing. | |
| 9 * @extends {testing.Test} | |
| 10 * @constructor | |
| 11 */ | |
| 12 function ContentOptionsWebUITest() {} | |
| 13 | |
| 14 ContentOptionsWebUITest.prototype = { | |
| 15 __proto__: OptionsBrowsertestBase.prototype, | |
| 16 | |
| 17 /** | |
| 18 * Browse to content options. | |
| 19 * @override | |
| 20 */ | |
| 21 browsePreload: 'chrome://settings-frame/content', | |
| 22 }; | |
| 23 | |
| 24 // Test opening the content options has correct location. | |
| 25 TEST_F('ContentOptionsWebUITest', 'testOpenContentOptions', function() { | |
| 26 assertEquals(this.browsePreload, document.location.href); | |
| 27 }); | |
| OLD | NEW |