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

Unified Diff: LayoutTests/inspector/console/console-dir-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-dir-es6.html
diff --git a/LayoutTests/inspector/console/console-dir-es6.html b/LayoutTests/inspector/console/console-dir-es6.html
index 741bc3a7d5943fc5c4cb1d9863c23738d09170de..1544b7cf8875ffb0deae60af6f2c35ebae218c8e 100644
--- a/LayoutTests/inspector/console/console-dir-es6.html
+++ b/LayoutTests/inspector/console/console-dir-es6.html
@@ -36,6 +36,17 @@ function onload()
// Test "No Entries" placeholder.
console.dir(new WeakMap());
+ // Test Map/Set iterators.
+ var m = new Map();
+ m.set(obj, {foo: 1});
+ var s = new Set();
+ s.add(obj);
+ [m, s].forEach(function(c) {
+ console.dir(c.keys());
+ console.dir(c.values());
+ console.dir(c.entries());
+ });
+
runTest();
}
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-dir-es6-expected.txt » ('j') | Source/bindings/core/v8/DebuggerScript.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698