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; |