Index: test/inspector/protocol-test.js |
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js |
index 9a3526b1d34d9459c12d7dd5cd0960e14184d95b..f4f6e7c5f793363c6d67e9ae5f8ca7d336074d61 100644 |
--- a/test/inspector/protocol-test.js |
+++ b/test/inspector/protocol-test.js |
@@ -248,6 +248,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; |