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

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

Issue 2779703002: DevTools: format generator objects as objects (Closed)
Patch Set: Created 3 years, 9 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/LayoutTests/inspector/console/console-format-es6-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt
index e74556b1557078d2128b4df6d182d8b0bc5574da..21c8ec4104fb13ffce72875ebfa05548e9d3c173 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt
@@ -24,6 +24,8 @@ 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 Generator]
+CONSOLE MESSAGE: line 12: [object Generator]
Tests that console properly displays information about ES6 features.
console-format-es6.html:11 Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0}
@@ -78,6 +80,10 @@ console-format-es6.html:11 Map(6) {" from str " => " to str ", undefined => unde
console-format-es6.html:12 [Map(6)]
globals[12]
Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, Object {foo: "from"} => Object {foo: "to"}…}
+console-format-es6.html:11 genFunction {[[GeneratorStatus]]: "suspended"}
+console-format-es6.html:12 [genFunction]
+globals[13]
+genFunction {[[GeneratorStatus]]: "suspended"}
Expanded all messages
console-format-es6.html:11 Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: -0}
__proto__: Promise
@@ -282,4 +288,23 @@ Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 =>
4: {Object => Object}
5: {Array(1) => Array(1)}
length: 6
+console-format-es6.html:11 genFunction {[[GeneratorStatus]]: "suspended"}
+ __proto__: Generator
+ [[GeneratorStatus]]: "suspended"
+ [[GeneratorFunction]]: function* ()
+ [[GeneratorReceiver]]: Window
+ [[GeneratorLocation]]: console-format-es6.html:56
+ [[Scopes]]: Scopes[2]
+console-format-es6.html:12 [genFunction]
+ 0: genFunction
+ length: 1
+ __proto__: Array(0)
+globals[13]
+genFunction {[[GeneratorStatus]]: "suspended"}
+ __proto__: Generator
+ [[GeneratorStatus]]: "suspended"
+ [[GeneratorFunction]]: function* ()
+ [[GeneratorReceiver]]: Window
+ [[GeneratorLocation]]: console-format-es6.html:56
+ [[Scopes]]: Scopes[2]

Powered by Google App Engine
This is Rietveld 408576698