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

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

Issue 2769973004: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
index 64437fd35f9235d123a9a04f3ee17031e151cfc4..c2687a692a628fb571a59746a7499328a7570a40 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
@@ -53,9 +53,15 @@ function onload()
var p = Promise.reject(-0);
p.catch(function() {});
+ var genFunction = function *() {
+ yield 1;
+ yield 2;
+ }
+ var generator = genFunction();
+
globals = [
p, smb1, smb2, obj, map, weakMap, set, weakSet,
- mapMap0, mapMap, setSet0, setSet, bigmap,
+ mapMap0, mapMap, setSet0, setSet, bigmap, p, generator
lushnikov 2017/03/23 20:48:18 why do you add p one more time?
luoe 2017/03/23 20:55:56 Sorry, that's a typo! I didn't see that it was al
];
runTest();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-es6-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698