summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js
blob: 966a83370258038ec01a675cf44848397a7fe936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/**
 * TestFixture for extension settings WebUI testing.
 * @extends {testing.Test}
 * @constructor
 */
function ExtensionSettingsWebUITest() {}

ExtensionSettingsWebUITest.prototype = {
  __proto__: testing.Test.prototype,

  browsePreload: 'chrome://extensions-frame/',
};

// Test opening extension settings has correct location.
TEST_F('ExtensionSettingsWebUITest', 'testOpenExtensionSettings', function() {
  assertEquals(this.browsePreload, document.location.href);
});