Index: test/inspector/debugger/asm-js-breakpoint-before-exec.js |
diff --git a/test/inspector/debugger/asm-js-breakpoint-before-exec.js b/test/inspector/debugger/asm-js-breakpoint-before-exec.js |
index 78a7b8e57ed9e547b145f3f4ea1cc9d0f799340a..ec760ecf082421c8545ad92e0eea3b4b9dcc4222 100644 |
--- a/test/inspector/debugger/asm-js-breakpoint-before-exec.js |
+++ b/test/inspector/debugger/asm-js-breakpoint-before-exec.js |
@@ -4,7 +4,7 @@ |
// Flags: --validate-asm --allow-natives-syntax |
-InspectorTest.log( |
+let {session, contextGroup, Protocol} = InspectorTest.start( |
'This test runs asm.js which calls back to JS. Before executing (after ' + |
'the script is parsed) we set breakpoints in the asm.js code.'); |
@@ -50,7 +50,7 @@ InspectorTest.runTestSuite([ |
function addScript(next) { |
afterScriptParsedCallback = next; |
- InspectorTest.addScript(testFunction.toString()); |
+ contextGroup.addScript(testFunction.toString()); |
}, |
function runTestFunction(next) { |