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); |