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

Unified Diff: test/inspector/protocol-test.js

Issue 2743163002: [inspector] use same schedulePauseOnNextStatement strategy for Debugger.pause (Closed)
Patch Set: better test Created 3 years, 9 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/pause-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index ff06a96521c960db4c04d94d24bd6a69b87aa046..4d44ac08c8cec6cd30636c6f017bc1eec1d70f6c 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -152,7 +152,8 @@ InspectorTest.logSourceLocation = function(location)
}
var script = InspectorTest._scriptMap.get(scriptId);
if (!script.scriptSource) {
- return Protocol.Debugger.getScriptSource({ scriptId })
+ // TODO(kozyatinskiy): doesn't assume that contextId == contextGroupId.
+ return Protocol.Debugger.getScriptSource({ scriptId }, script.executionContextId)
.then(message => script.scriptSource = message.result.scriptSource)
.then(dumpSourceWithLocation);
}
« no previous file with comments | « test/inspector/debugger/pause-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698