Index: test/inspector/debugger/caught-uncaught-exceptions.js |
diff --git a/test/inspector/debugger/caught-uncaught-exceptions.js b/test/inspector/debugger/caught-uncaught-exceptions.js |
index d049cf0da0816c9b844469986f436a9aa227d5c7..38b622d3dba0ff70b4fe0dfd64653e2791a221a7 100644 |
--- a/test/inspector/debugger/caught-uncaught-exceptions.js |
+++ b/test/inspector/debugger/caught-uncaught-exceptions.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 passes caught/uncaught information."); |
+let {session, contextGroup, Protocol} = InspectorTest.start("Check that inspector correctly passes caught/uncaught information."); |
-InspectorTest.addScript( |
+contextGroup.addScript( |
`function throwCaught() { try { throw new Error(); } catch (_) {} } |
function throwUncaught() { throw new Error(); } |
function schedule(f) { setTimeout(f, 0); } |