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

Unified Diff: Source/devtools/front_end/components/ObjectPropertiesSection.js

Issue 694753002: DevTools: Show preview for ES6 MapIterator, SetIterator in console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/components/ObjectPropertiesSection.js
diff --git a/Source/devtools/front_end/components/ObjectPropertiesSection.js b/Source/devtools/front_end/components/ObjectPropertiesSection.js
index 8ca261bea05e9eca698bcd50497a5220d06b4981..bb685230b3d4a34807d7fa0b6a84938f4a295963 100644
--- a/Source/devtools/front_end/components/ObjectPropertiesSection.js
+++ b/Source/devtools/front_end/components/ObjectPropertiesSection.js
@@ -573,7 +573,7 @@ WebInspector.ObjectPropertyTreeElement.populateWithProperties = function(treeEle
if (!hasTargetFunction)
treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElement(value));
}
- if (value && value.type === "object" && (value.subtype === "map" || value.subtype === "set"))
+ if (value && value.type === "object" && (value.subtype === "map" || value.subtype === "set" || value.subtype === "iterator"))
treeElement.appendChild(new WebInspector.CollectionEntriesMainTreeElement(value));
if (internalProperties) {
for (var i = 0; i < internalProperties.length; i++) {

Powered by Google App Engine
This is Rietveld 408576698