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

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

Issue 2112673003: [DevTools] Move suspended generator location to internal properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index f4bef520da7b59be744c2975fdfcbf84505c7ad5..538424ec04ca1cdf5592e10ccaf427dcc5ec2367 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -1050,7 +1050,9 @@ WebInspector.SourcesPanel.prototype = {
*/
_showGeneratorLocation: function(remoteObject)
dgozman 2016/07/06 19:25:12 Let's remove this and rely on ObjectPropertiesSect
kozy 2016/07/06 22:38:41 Done.
{
- remoteObject.debuggerModel().generatorObjectDetails(remoteObject, this._didGetFunctionOrGeneratorObjectDetails.bind(this));
+ remoteObject.debuggerModel().generatorObjectLocation(remoteObject)
+ .then(location => ({ location: location }))
+ .then(this._didGetFunctionOrGeneratorObjectDetails.bind(this));
},
/**

Powered by Google App Engine
This is Rietveld 408576698