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

Unified Diff: test/inspector/debugger/get-possible-breakpoints.js

Issue 2890463004: [inspector] Refactor inspector test (Closed)
Patch Set: better crash fix 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
« no previous file with comments | « test/inspector/debugger/framework-stepping.js ('k') | test/inspector/debugger/inspector-break-api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « test/inspector/debugger/framework-stepping.js ('k') | test/inspector/debugger/inspector-break-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698