| Index: test/inspector/debugger/wasm-source.js
|
| diff --git a/test/inspector/debugger/wasm-source.js b/test/inspector/debugger/wasm-source.js
|
| index cadd44f90923fd8e1383218afc1914a1b0eeaa92..bf7bab735cb47c22cd2c7fddf61b0ec0c6c384ca 100644
|
| --- a/test/inspector/debugger/wasm-source.js
|
| +++ b/test/inspector/debugger/wasm-source.js
|
| @@ -4,6 +4,8 @@
|
|
|
| // Flags: --expose-wasm
|
|
|
| +let {session, contextGroup, Protocol} = InspectorTest.start('Tests how wasm scrips report the source');
|
| +
|
| utils.load('test/mjsunit/wasm/wasm-constants.js');
|
| utils.load('test/mjsunit/wasm/wasm-module-builder.js');
|
|
|
| @@ -45,8 +47,8 @@ function testFunction(bytes) {
|
| instance.exports.main();
|
| }
|
|
|
| -InspectorTest.addScript(testFunction.toString());
|
| -InspectorTest.addScript('var module_bytes = ' + JSON.stringify(module_bytes));
|
| +contextGroup.addScript(testFunction.toString());
|
| +contextGroup.addScript('var module_bytes = ' + JSON.stringify(module_bytes));
|
|
|
| Protocol.Debugger.enable();
|
| Protocol.Debugger.onPaused(handleDebuggerPaused);
|
|
|