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

Unified Diff: LayoutTests/inspector/console/console-format-es6.html

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: LayoutTests/inspector/console/console-format-es6.html
diff --git a/LayoutTests/inspector/console/console-format-es6.html b/LayoutTests/inspector/console/console-format-es6.html
index 067b718baf02b3aea291789252771256f9ad28dd..f67e36807e5306fbf5f1b021c1a9136fe868e41b 100644
--- a/LayoutTests/inspector/console/console-format-es6.html
+++ b/LayoutTests/inspector/console/console-format-es6.html
@@ -53,9 +53,26 @@ function onload()
var p = Promise.reject(-0);
p.catch(function() {});
+ var map2 = new Map();
+ map2.set(41, 42);
+ map2.set({foo: 1}, {foo: 2});
+
+ var iter1 = map2.values();
+ iter1.next();
+
+ var set2 = new Set();
+ set2.add(41);
+ set2.add({foo: 1});
+
+ var iter2 = set2.keys();
+ iter2.next();
+
globals = [
p, smb1, smb2, obj, map, weakMap, set, weakSet,
- mapMap0, mapMap, setSet0, setSet, bigmap
+ mapMap0, mapMap, setSet0, setSet, bigmap,
+ map2.keys(), map2.values(), map2.entries(),
+ set2.keys(), set2.values(), set2.entries(),
+ iter1, iter2,
];
runTest();

Powered by Google App Engine
This is Rietveld 408576698