Index: test/inspector/debugger/pause.js |
diff --git a/test/inspector/debugger/pause.js b/test/inspector/debugger/pause.js |
index 33ebeb830c25f20163f672689f41806ea0a4b523..fdef6669f817a5fbecdcb63e29d873970dcdeef3 100644 |
--- a/test/inspector/debugger/pause.js |
+++ b/test/inspector/debugger/pause.js |
@@ -82,6 +82,23 @@ InspectorTest.runAsyncTestSuite([ |
await Protocol1.Debugger.resume(); |
}, |
+ async function testResumeAnotherGroup() { |
+ let contextGroup2 = new InspectorTest.ContextGroup(); |
+ let session2 = contextGroup2.connect(); |
+ session2.setupScriptMap(); |
+ let Protocol2 = session2.Protocol; |
+ Protocol2.Debugger.enable(); |
+ Protocol1.Debugger.pause(); |
+ Protocol1.Runtime.evaluate({expression: 'var a = 42;'}); |
+ await waitPauseAndDumpLocation(session1); |
+ InspectorTest.logMessage(await Protocol2.Debugger.resume()); |
+ InspectorTest.logMessage(await Protocol2.Debugger.stepOver()); |
+ InspectorTest.logMessage(await Protocol2.Debugger.stepInto()); |
+ InspectorTest.logMessage(await Protocol2.Debugger.stepOut()); |
+ await Protocol1.Debugger.resume(); |
+ await Protocol2.Debugger.disable(); |
+ }, |
+ |
async function testDisableBreaksShouldCancelPause() { |
await Protocol1.Debugger.pause(); |
await Protocol1.Debugger.setBreakpointsActive({active: false}); |