Index: test/inspector/debugger/get-possible-breakpoints.js |
diff --git a/test/inspector/debugger/get-possible-breakpoints.js b/test/inspector/debugger/get-possible-breakpoints.js |
index ef996e910b52d994559e44ba3dd58ca0bb9fa62b..90872f8fa3febfec20e524ac45eedf86a952081f 100644 |
--- a/test/inspector/debugger/get-possible-breakpoints.js |
+++ b/test/inspector/debugger/get-possible-breakpoints.js |
@@ -153,7 +153,7 @@ function foo6() { Promise.resolve().then(() => 42) }`; |
function compileScript(source, origin) { |
var promise = Protocol.Debugger.onceScriptParsed().then(message => message.params.scriptId); |
if (!origin) origin = { name: '', line_offset: 0, column_offset: 0 }; |
- utils.compileAndRunWithOrigin(source, origin.name, origin.line_offset, origin.column_offset, false); |
+ InspectorTest.addScript(source, origin.line_offset, origin.column_offset, origin.name); |
return promise; |
} |