Index: test/inspector/debugger/wasm-stack.js |
diff --git a/test/inspector/debugger/wasm-stack.js b/test/inspector/debugger/wasm-stack.js |
index 45ab6097f7619f6b21918bbd0209247c0ef5cb1e..2603c3178486cf6b841dfa2ed87a617aa967047d 100644 |
--- a/test/inspector/debugger/wasm-stack.js |
+++ b/test/inspector/debugger/wasm-stack.js |
@@ -4,6 +4,8 @@ |
// Flags: --expose-wasm |
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests call stack in wasm scripts'); |
+ |
utils.load('test/mjsunit/wasm/wasm-constants.js'); |
utils.load('test/mjsunit/wasm/wasm-module-builder.js'); |
@@ -40,7 +42,7 @@ function testFunction(bytes) { |
instance.exports.main(); |
} |
-InspectorTest.addScript(testFunction.toString()); |
+contextGroup.addScript(testFunction.toString()); |
Protocol.Debugger.enable(); |
Protocol.Debugger.onPaused(handleDebuggerPaused); |