Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / website_settings_browsertest.js
blobe08de1b3b733c63b29ccb0082385dd0dc1d3b341
1 // Copyright 2014 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.
5 /**
6 * TestFixture for website settings WebUI testing.
7 * @extends {testing.Test}
8 * @constructor
9 */
10 function WebsiteSettingsWebUITest() {}
12 WebsiteSettingsWebUITest.prototype = {
13 __proto__: testing.Test.prototype,
15 /**
16 * Browse to the website settings.
18 browsePreload: 'chrome://settings-frame/websiteSettings',
21 // Test opening the website settings manager has the correct location.
22 TEST_F('WebsiteSettingsWebUITest', 'testOpenWebsiteSettings', function() {
23 assertEquals(this.browsePreload, document.location.href);
24 });