Index: test/inspector/debugger/asm-js-breakpoint-during-exec.js |
diff --git a/test/inspector/debugger/asm-js-breakpoint-during-exec.js b/test/inspector/debugger/asm-js-breakpoint-during-exec.js |
index 2a29dc1ea41cba2486feac77b26be142b7b1d15d..af3ac518b380100712b26174b41aec1cca175661 100644 |
--- a/test/inspector/debugger/asm-js-breakpoint-during-exec.js |
+++ b/test/inspector/debugger/asm-js-breakpoint-during-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. JS triggers a break, on ' + |
'pause we set breakpoints in the asm.js code.'); |
@@ -53,7 +53,7 @@ InspectorTest.runTestSuite([ |
function addScript(next) { |
afterScriptParsedCallback = next; |
- InspectorTest.addScript(testFunction.toString()); |
+ contextGroup.addScript(testFunction.toString()); |
}, |
function runTestFunction(next) { |