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

Unified Diff: LayoutTests/inspector/console/console-format-es6-expected.txt

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-expected.txt
diff --git a/LayoutTests/inspector/console/console-format-es6-expected.txt b/LayoutTests/inspector/console/console-format-es6-expected.txt
index ac74f8b519ef80e8efc980860da79e247c0850c8..7144f5b684670265a4165e675d7a9397c0f077e2 100644
--- a/LayoutTests/inspector/console/console-format-es6-expected.txt
+++ b/LayoutTests/inspector/console/console-format-es6-expected.txt
@@ -24,6 +24,22 @@ CONSOLE MESSAGE: line 11: [object Set]
CONSOLE MESSAGE: line 12: [object Set]
CONSOLE MESSAGE: line 11: [object Map]
CONSOLE MESSAGE: line 12: [object Map]
+CONSOLE MESSAGE: line 11: [object Map Iterator]
+CONSOLE MESSAGE: line 12: [object Map Iterator]
+CONSOLE MESSAGE: line 11: [object Map Iterator]
+CONSOLE MESSAGE: line 12: [object Map Iterator]
+CONSOLE MESSAGE: line 11: [object Map Iterator]
+CONSOLE MESSAGE: line 12: [object Map Iterator]
+CONSOLE MESSAGE: line 11: [object Set Iterator]
+CONSOLE MESSAGE: line 12: [object Set Iterator]
+CONSOLE MESSAGE: line 11: [object Set Iterator]
+CONSOLE MESSAGE: line 12: [object Set Iterator]
+CONSOLE MESSAGE: line 11: [object Set Iterator]
+CONSOLE MESSAGE: line 12: [object Set Iterator]
+CONSOLE MESSAGE: line 11: [object Map Iterator]
+CONSOLE MESSAGE: line 12: [object Map Iterator]
+CONSOLE MESSAGE: line 11: [object Set Iterator]
+CONSOLE MESSAGE: line 12: [object Set Iterator]
Tests that console properly displays information about ES6 features.
console-format-es6.html:11 Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0}
@@ -161,4 +177,68 @@ console-format-es6.html:12 [Map]
__proto__: Array[0]
globals[12]
Map {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}}
+console-format-es6.html:11 MapIterator {41, Object {foo: 1}}
+console-format-es6.html:12 [MapIterator]
+ 0: MapIterator
+ length: 1
+ __proto__: Array[0]
+globals[13]
+MapIterator {41, Object {foo: 1}}
+console-format-es6.html:11 MapIterator {42, Object {foo: 2}}
+console-format-es6.html:12 [MapIterator]
+ 0: MapIterator
+ length: 1
+ __proto__: Array[0]
+globals[14]
+MapIterator {42, Object {foo: 2}}
+console-format-es6.html:11 MapIterator {[41, 42], [Object, Object]}
+ __proto__: Object
+ <entries>
+console-format-es6.html:12 [MapIterator]
+ 0: MapIterator
+ length: 1
+ __proto__: Array[0]
+globals[15]
+MapIterator {[41, 42], [Object, Object]}
+ __proto__: Object
+ <entries>
+console-format-es6.html:11 SetIterator {41, Object {foo: 1}}
+console-format-es6.html:12 [SetIterator]
+ 0: SetIterator
+ length: 1
+ __proto__: Array[0]
+globals[16]
+SetIterator {41, Object {foo: 1}}
+console-format-es6.html:11 SetIterator {41, Object {foo: 1}}
+console-format-es6.html:12 [SetIterator]
+ 0: SetIterator
+ length: 1
+ __proto__: Array[0]
+globals[17]
+SetIterator {41, Object {foo: 1}}
+console-format-es6.html:11 SetIterator {[41, 41], [Object, Object]}
+ __proto__: Object
+ <entries>
+console-format-es6.html:12 [SetIterator]
+ 0: SetIterator
+ length: 1
+ __proto__: Array[0]
+globals[18]
+SetIterator {[41, 41], [Object, Object]}
+ __proto__: Object
+ <entries>
+console-format-es6.html:11 MapIterator {Object {foo: 2}}
+console-format-es6.html:12 [MapIterator]
+ 0: MapIterator
+ length: 1
+ __proto__: Array[0]
+globals[19]
+MapIterator {Object {foo: 2}}
+console-format-es6.html:11 SetIterator {Object {foo: 1}}
+console-format-es6.html:12 [SetIterator]
+ 0: SetIterator
+ length: 1
+ __proto__: Array[0]
+globals[20]
+SetIterator {Object {foo: 1}}

Powered by Google App Engine
This is Rietveld 408576698