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

Side by Side Diff: chrome/test/data/webui/plugins_browsertest.js

Issue 2470063003: Move importModules function to util.js (Closed)
Patch Set: Add suppress Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/usb_internals/usb_internals.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** 5 /**
6 * @fileoverview Tests for chrome://plugins 6 * @fileoverview Tests for chrome://plugins
7 */ 7 */
8 8
9 /** @const {string} Path to source root. */ 9 /** @const {string} Path to source root. */
10 var ROOT_PATH = '../../../../'; 10 var ROOT_PATH = '../../../../';
(...skipping 18 matching lines...) Expand all
29 29
30 /** @override */ 30 /** @override */
31 runAccessibilityChecks: false, 31 runAccessibilityChecks: false,
32 32
33 /** @override */ 33 /** @override */
34 extraLibraries: [ 34 extraLibraries: [
35 ROOT_PATH + 'third_party/mocha/mocha.js', 35 ROOT_PATH + 'third_party/mocha/mocha.js',
36 ROOT_PATH + 'chrome/test/data/webui/mocha_adapter.js', 36 ROOT_PATH + 'chrome/test/data/webui/mocha_adapter.js',
37 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 37 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
38 ROOT_PATH + 'ui/webui/resources/js/cr.js', 38 ROOT_PATH + 'ui/webui/resources/js/cr.js',
39 ROOT_PATH + 'ui/webui/resources/js/util.js',
39 ROOT_PATH + 'chrome/test/data/webui/settings/test_browser_proxy.js', 40 ROOT_PATH + 'chrome/test/data/webui/settings/test_browser_proxy.js',
40 ], 41 ],
41 42
42 preLoad: function() { 43 preLoad: function() {
43 /** 44 /**
44 * A test browser proxy for the chrome://plugins page. 45 * A test browser proxy for the chrome://plugins page.
45 * 46 *
46 * @constructor 47 * @constructor
47 * @extends {TestBrowserProxyBase} 48 * @extends {TestBrowserProxyBase}
48 */ 49 */
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 return browserProxy.whenCalled('saveShowDetailsToPrefs'); 199 return browserProxy.whenCalled('saveShowDetailsToPrefs');
199 }).then(function(expanded) { 200 }).then(function(expanded) {
200 assertFalse(Boolean(expanded)); 201 assertFalse(Boolean(expanded));
201 }); 202 });
202 }); 203 });
203 }); 204 });
204 205
205 // Run all registered tests. 206 // Run all registered tests.
206 mocha.run(); 207 mocha.run();
207 }); 208 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/usb_internals/usb_internals.js ('k') | ui/webui/resources/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698