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

Side by Side Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 1849543006: MD Settings: validate startup URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startup-browser-proxy
Patch Set: compile fix Created 4 years, 8 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** @fileoverview Runs the Polymer Settings tests. */ 5 /** @fileoverview Runs the Polymer Settings tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 242 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
243 'test_browser_proxy.js', 243 'test_browser_proxy.js',
244 'system_page_tests.js', 244 'system_page_tests.js',
245 ]), 245 ]),
246 }; 246 };
247 247
248 TEST_F('CrSettingsSystemPageTest', 'Restart', function() { 248 TEST_F('CrSettingsSystemPageTest', 'Restart', function() {
249 mocha.run(); 249 mocha.run();
250 }); 250 });
251 GEN('#endif'); 251 GEN('#endif');
252
253 /**
254 * @constructor
255 * @extends {CrSettingsBrowserTest}
256 */
257 function CrSettingsStartupUrlsPageTest() {}
258
259 CrSettingsStartupUrlsPageTest.prototype = {
260 __proto__: CrSettingsBrowserTest.prototype,
261
262 browsePreload: 'chrome://md-settings/on_startup_page/startup_urls_page.html',
263
264 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
265 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
266 'test_browser_proxy.js',
267 'startup_urls_page_test.js',
268 ]),
269 };
270
271 TEST_F('CrSettingsStartupUrlsPageTest', 'Validity', function() {
272 mocha.run();
273 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698