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

Unified Diff: test/inspector/debugger/asm-js-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
Index: test/inspector/debugger/asm-js-stack.js
diff --git a/test/inspector/debugger/asm-js-stack.js b/test/inspector/debugger/asm-js-stack.js
index 37db088ba19a710ee9fcb9652923b138ab7239bd..916ac5f22af1361bc8a8d01648435ef139bff3d1 100644
--- a/test/inspector/debugger/asm-js-stack.js
+++ b/test/inspector/debugger/asm-js-stack.js
@@ -4,6 +4,8 @@
// Flags: --validate-asm
+let {session, contextGroup, Protocol} = InspectorTest.start('Tests that asm-js scripts produce correct stack');
+
function testFunction() {
function generateAsmJs(stdlib, foreign, heap) {
'use asm';
@@ -25,7 +27,7 @@ function testFunction() {
fun();
}
-InspectorTest.addScript(testFunction.toString());
+contextGroup.addScript(testFunction.toString());
Protocol.Debugger.enable();
Protocol.Debugger.oncePaused().then(handleDebuggerPaused);
« no previous file with comments | « test/inspector/debugger/asm-js-breakpoint-during-exec.js ('k') | test/inspector/debugger/asm-js-stack-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698