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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/shell/TestShell.js

Issue 2742623002: DevTools: improve test infrastructure w/ devtools driving the test (Closed)
Patch Set: fixup Created 3 years, 9 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 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 Shell.TestShell = class { 5 Shell.TestShell = class {
6 /** 6 /**
7 * @suppressGlobalPropertiesCheck 7 * @suppressGlobalPropertiesCheck
8 */ 8 */
9 constructor() { 9 constructor() {
10 runOnWindowLoad(this.initializeUnitTest.bind(this)); 10 runOnWindowLoad(this.initializeUnitTest.bind(this));
(...skipping 16 matching lines...) Expand all
27 27
28 UI.zoomManager = new UI.ZoomManager(self, InspectorFrontendHost); 28 UI.zoomManager = new UI.ZoomManager(self, InspectorFrontendHost);
29 UI.inspectorView = UI.InspectorView.instance(); 29 UI.inspectorView = UI.InspectorView.instance();
30 UI.ContextMenu.initialize(); 30 UI.ContextMenu.initialize();
31 UI.ContextMenu.installHandler(document); 31 UI.ContextMenu.installHandler(document);
32 UI.Tooltip.installHandler(document); 32 UI.Tooltip.installHandler(document);
33 33
34 var rootView = new UI.RootView(); 34 var rootView = new UI.RootView();
35 UI.inspectorView.show(rootView.element); 35 UI.inspectorView.show(rootView.element);
36 rootView.attachToDocument(document); 36 rootView.attachToDocument(document);
37 TestRunner.executeTestScript(); 37 TestRunner.start();
38 } 38 }
39 }; 39 };
40 40
41 new Shell.TestShell(); 41 new Shell.TestShell();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698