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

Unified Diff: test/inspector/debugger/pause.js

Issue 2842733002: [inspector] V8DebuggerAgent should not resume break in different group (Closed)
Patch Set: 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
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | test/inspector/debugger/pause-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/pause.js
diff --git a/test/inspector/debugger/pause.js b/test/inspector/debugger/pause.js
index 33f76f9dcedfb2d6b19a7c474d866dcddceb258c..1818e317c64ea7097dd05a92f4af730d367c3a84 100644
--- a/test/inspector/debugger/pause.js
+++ b/test/inspector/debugger/pause.js
@@ -43,7 +43,11 @@ InspectorTest.runAsyncTestSuite([
Protocol.Runtime.evaluate({expression: 'var a = 239;'}, contextGroupId);
Protocol.Runtime.evaluate({expression: 'var a = 1;'});
await waitPauseAndDumpLocation();
- await Protocol.Debugger.resume();
+ // should not resume pause from different context group id.
+ Protocol.Debugger.resume();
+ Protocol.Debugger.stepOver({}, contextGroupId);
+ await waitPauseAndDumpLocation();
+ await Protocol.Debugger.resume({}, contextGroupId);
await Protocol.Debugger.disable({}, contextGroupId);
},
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | test/inspector/debugger/pause-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698