Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: test/inspector/debugger/wasm-scripts.js

Issue 2890463004: [inspector] Refactor inspector test (Closed)
Patch Set: better crash fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/debugger/stepping-with-exposed-injected-script.js ('k') | test/inspector/inspector-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « test/inspector/debugger/stepping-with-exposed-injected-script.js ('k') | test/inspector/inspector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698