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

Unified Diff: Source/devtools/front_end/sources/ScopeChainSidebarPane.js

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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: Source/devtools/front_end/sources/ScopeChainSidebarPane.js
diff --git a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
index acaaa19b7e5520d10689b2fc5fa8b88327fb6160..40948bf55c98091fbabafb3dd7d0aee733e7e23d 100644
--- a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
+++ b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
@@ -82,7 +82,7 @@ WebInspector.ScopeChainSidebarPane.prototype = {
title = WebInspector.UIString("Local");
emptyPlaceholder = WebInspector.UIString("No Variables");
var thisObject = callFrame.thisObject();
- if (thisObject)
+ if (thisObject && callFrame.script.language != 'Dart')
extraProperties.push(new WebInspector.RemoteObjectProperty("this", thisObject));
if (i == 0) {
var details = callFrame.debuggerModel.debuggerPausedDetails();
@@ -115,6 +115,22 @@ WebInspector.ScopeChainSidebarPane.prototype = {
case DebuggerAgent.ScopeType.Global:
title = WebInspector.UIString("Global");
break;
+ case DebuggerAgent.ScopeType.Instance:
+ title = WebInspector.UIString("Instance");
+ declarativeScope = false;
+ break;
+ case DebuggerAgent.ScopeType.Class:
+ title = WebInspector.UIString("Class");
+ declarativeScope = false;
+ break;
+ case DebuggerAgent.ScopeType.Library:
+ title = WebInspector.UIString("Library");
+ declarativeScope = false;
+ break;
+ case DebuggerAgent.ScopeType.Isolate:
+ title = WebInspector.UIString("Isolate");
+ declarativeScope = false;
+ break;
}
var subtitle = scope.description();
« no previous file with comments | « Source/devtools/front_end/sdk/ResourceTreeModel.js ('k') | Source/devtools/front_end/workspace/UISourceCode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698