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

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

Issue 2769973004: DevTools: format generator objects as objects (Closed)
Patch Set: fix test result 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..1a3ea1182d380bb6c53e4cb33f39ffac1bb58577 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6.html
@@ -14,6 +14,9 @@ function log(current)
function onload()
{
+ var p = Promise.reject(-0);
+ p.catch(function() {});
+
var smb1 = Symbol();
var smb2 = Symbol("a");
var obj = {
@@ -50,12 +53,15 @@ function onload()
bigmap.set({foo:"from"}, {foo:"to"});
bigmap.set(["from"], ["to"]);
- 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, generator
];
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