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); |
}, |