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

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

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed 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/wasm-source-expected.txt ('k') | test/inspector/debugger/wasm-stack-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « test/inspector/debugger/wasm-source-expected.txt ('k') | test/inspector/debugger/wasm-stack-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698