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

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

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: fixed tests 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
« no previous file with comments | « test/inspector/debugger/schedule-step-into-async-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « test/inspector/debugger/schedule-step-into-async-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698