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

Unified Diff: test/inspector/debugger/destory-in-break-program.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/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();
})();

Powered by Google App Engine
This is Rietveld 408576698