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

Unified Diff: test/inspector/debugger/break-on-exception.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/break-on-exception.js
diff --git a/test/inspector/debugger/break-on-exception.js b/test/inspector/debugger/break-on-exception.js
index d9a208dadff360865786477eda635b92e1f089bf..6f47ec86d7ac8636aa18a5858752938cf67fe5b7 100644
--- a/test/inspector/debugger/break-on-exception.js
+++ b/test/inspector/debugger/break-on-exception.js
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-InspectorTest.log("Check that inspector correctly change break on exception state.");
+let {session, contextGroup, Protocol} = InspectorTest.start("Check that inspector correctly change break on exception state.");
-InspectorTest.addScript(`
+contextGroup.addScript(`
function scheduleUncaughtException()
{
setTimeout(throwUncaughtException, 0);
« no previous file with comments | « test/inspector/debugger/async-stack-for-promise.js ('k') | test/inspector/debugger/break-on-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698