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

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

Issue 2513423003: DevTools: Convert inspector-unit tests to use reusable test harness (Closed)
Patch Set: refactor into test app Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 if (self.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
9
10 (function() {
11 Runtime.startApplication('unit_test_runner').then(() => initializeTest());
12 function initializeTest() {
pfeldman 2016/11/29 23:06:17 test runner module should do this on its own.
chenwilliam 2016/11/30 02:21:02 Done - moved logic to new shell module now.
13 if (self.document.readyState === 'complete' || self.document.readyState === 'interactive')
14 TestRunner.initializeUnitTest();
15 else
16 document.addEventListener('DOMContentLoaded', () => TestRunner.initializeU nitTest());
17 }
18 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698