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); |
} |