Index: test/inspector/debugger/destory-in-break-program.js |
diff --git a/test/inspector/debugger/destory-in-break-program.js b/test/inspector/debugger/destory-in-break-program.js |
index 799701da5acaba866573467e3e0ba7f6402a4f82..e002328aa1f92ac545c292217f5efd3f9cb8fc9a 100644 |
--- a/test/inspector/debugger/destory-in-break-program.js |
+++ b/test/inspector/debugger/destory-in-break-program.js |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.log('Check destroying agent inside of breakProgram'); |
+let {session, contextGroup, Protocol} = InspectorTest.start('Check destroying agent inside of breakProgram'); |
(async function test(){ |
await Protocol.Debugger.enable(); |
Protocol.Runtime.evaluate({expression: 'inspector.breakProgram(\'\', \'{}\')'}); |
await Protocol.Debugger.oncePaused(); |
- InspectorTest.session.disconnect(); |
- utils.quit(); |
+ session.disconnect(); |
+ InspectorTest.quitImmediately(); |
})(); |