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

Unified Diff: test/inspector/protocol-test.js

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: fixed Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index f88a66feec2f7acc5b77ca9338d6bb47602bf913..e9aa31aa06e5a67b561035cc55d9549aebce26e2 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -243,6 +243,14 @@ InspectorTest.runTestSuite = function(testSuite)
nextTest();
}
+InspectorTest.runAsyncTestSuite = async function(testSuite) {
+ for (var test of testSuite) {
+ InspectorTest.log("\nRunning test: " + test.name);
+ await test();
+ }
+ InspectorTest.completeTest();
+}
+
InspectorTest._sendCommandPromise = function(method, params)
{
var requestId = ++InspectorTest._requestId;

Powered by Google App Engine
This is Rietveld 408576698