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

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

Issue 2743163002: [inspector] use same schedulePauseOnNextStatement strategy for Debugger.pause (Closed)
Patch Set: 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
Index: test/inspector/protocol-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index 5b625025fed575f2b644131112c1bcdf6749bf47..1e6c32f18422be5e7fd2ee3feb8eec85d32dc972 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -149,7 +149,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);
}
« src/inspector/v8-debugger-agent-impl.cc ('K') | « test/inspector/debugger/pause-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698