Index: Source/devtools/front_end/components/ExecutionContextModel.js |
diff --git a/Source/devtools/front_end/components/ExecutionContextModel.js b/Source/devtools/front_end/components/ExecutionContextModel.js |
index 95a55893fff06e4d96957ca16999fc01025d86f6..dedee3dd966344e760edea5b82890ba9125c314a 100644 |
--- a/Source/devtools/front_end/components/ExecutionContextModel.js |
+++ b/Source/devtools/front_end/components/ExecutionContextModel.js |
@@ -32,6 +32,12 @@ WebInspector.ExecutionContextModel.prototype = { |
_titleFor: function(executionContext) |
{ |
var result; |
+ // Start Dart specific code. |
+ if (executionContext.language == "Dart") { |
+ return executionContext.name; |
+ } |
+ // End Dart specific code. |
+ |
if (executionContext.isMainWorldContext) { |
if (executionContext.frameId) { |
var frame = executionContext.target().resourceTreeModel.frameForId(executionContext.frameId); |