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

Unified Diff: test/inspector/debugger/set-async-call-stack-depth.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed Created 3 years, 7 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/debugger/set-async-call-stack-depth.js
diff --git a/test/inspector/debugger/set-async-call-stack-depth.js b/test/inspector/debugger/set-async-call-stack-depth.js
index a9c6f1ce50758d26c9b8cef56036af7a2c57443d..0c7567f4996e435bc27af8f457dfffc19a19f3e3 100644
--- a/test/inspector/debugger/set-async-call-stack-depth.js
+++ b/test/inspector/debugger/set-async-call-stack-depth.js
@@ -4,9 +4,9 @@
// TODO(kozyatinskiy): fix or remove it later with new stack traces it's almost
// imposible to hit limit.
-InspectorTest.log('Checks that we report not more then maxDepth call chains.');
+let {session, contextGroup, Protocol} = InspectorTest.start('Checks that we report not more then maxDepth call chains.');
-InspectorTest.addScript(`
+contextGroup.addScript(`
function promisesChain(num) {
var p = Promise.resolve();
for (var i = 0; i < num - 1; ++i) {
« no previous file with comments | « test/inspector/debugger/script-parsed-hash-expected.txt ('k') | test/inspector/debugger/set-blackbox-patterns.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698