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

Unified Diff: test/inspector/debugger/destory-in-break-program.js

Issue 2842903002: [inspector] improved V8Debugger::breakProgram method (Closed)
Patch Set: rebased Created 3 years, 8 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
new file mode 100644
index 0000000000000000000000000000000000000000..6366b36250dbdbf3e8f305874a6cfe7fd8c7263a
--- /dev/null
+++ b/test/inspector/debugger/destory-in-break-program.js
@@ -0,0 +1,13 @@
+// Copyright 2017 the V8 project authors. All rights reserved.
+// 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');
+
+(async function test(){
+ await Protocol.Debugger.enable();
+ Protocol.Runtime.evaluate({expression: 'inspector.breakProgram(\'\', \'{}\')'});
+ await Protocol.Debugger.oncePaused();
+ utils.disconnect();
+ utils.quit();
+})();
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | test/inspector/debugger/destory-in-break-program-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698