Index: test/inspector/debugger/wasm-scripts.js |
diff --git a/test/inspector/debugger/wasm-scripts.js b/test/inspector/debugger/wasm-scripts.js |
index 9fe8c26e6a64ee7bfe258adbd22c9242f212e828..d3ab1325ce58ff7baa85331e9eb72f47dfc8dc6b 100644 |
--- a/test/inspector/debugger/wasm-scripts.js |
+++ b/test/inspector/debugger/wasm-scripts.js |
@@ -27,8 +27,7 @@ function testFunction(bytes) { |
new WebAssembly.Module(buffer); |
} |
-InspectorTest.addScriptWithUrl( |
- testFunction.toString(), 'v8://test/testFunction'); |
+InspectorTest.addScript(testFunction.toString(), 0, 0, 'v8://test/testFunction'); |
InspectorTest.addScript('var module_bytes = ' + JSON.stringify(module_bytes)); |
Protocol.Debugger.enable(); |