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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 1653053002: Devtools: parse variables scopes and sourcemap them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index 4841b8bd2552e87c53e75ba3fa6bc9ab2cdc627d..46ee7f9003f34543898cfdbabe007cc9a61d0dab 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -712,7 +712,7 @@ WebInspector.JavaScriptSourceFrame.prototype = {
var localScope = callFrame.localScope();
var functionLocation = callFrame.functionLocation();
if (localScope && functionLocation)
- localScope.object().getAllProperties(false, this._prepareScopeVariables.bind(this, callFrame));
+ WebInspector.sourceMapNamesResolver.resolveScopeInObject(localScope).getAllProperties(false, this._prepareScopeVariables.bind(this, callFrame));
dgozman 2016/02/22 17:24:56 Can we avoid global singleton?
sergeyv 2016/02/22 21:42:54 Done. Made static function
if (this._clearValueWidgetsTimer) {
clearTimeout(this._clearValueWidgetsTimer);

Powered by Google App Engine
This is Rietveld 408576698