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

Side by Side Diff: Source/devtools/front_end/devtools_app/UITests.js

Issue 725583003: [DevTools] Prepare to pass modified InspectorFrontendHost to inspector app. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed comment Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 if (window.domAutomationController) {
6 var uiTests = {};
7
8 uiTests.runTest = function(name)
9 {
10 if (uiTests._testSuite)
11 uiTests._testSuite._runTest(name);
12 else
13 uiTests._pendingTestName = name;
14 };
15
16 uiTests.testSuiteReady = function(testSuiteConstructor)
17 {
18 uiTests._testSuite = testSuiteConstructor(window.domAutomationController );
19 if (uiTests._pendingTestName) {
20 var name = uiTests._pendingTestName;
21 delete uiTests._pendingTestName;
22 uiTests._testSuite._runTest(name);
23 }
24 };
25 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/devtools_app/DevToolsApp.js ('k') | Source/devtools/front_end/devtools_app/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698