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

Unified Diff: LayoutTests/inspector/console/console-dir-es6.html

Issue 312143003: This fixes bug with trying to get properties of non-object (symbol). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address comments Created 6 years, 6 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: 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 dfaf48ce8918e497ba097045e159ed455543e0be..8cc80fa026505da79b3386bed1b756786535175a 100644
--- a/LayoutTests/inspector/console/console-dir-es6.html
+++ b/LayoutTests/inspector/console/console-dir-es6.html
@@ -14,6 +14,11 @@ function onload()
obj[Symbol.iterator] = Symbol("foo");
console.dir(obj);
+ // This used to crash in debug build.
+ console.dir(Symbol());
+ // This should correctly display information about the function.
+ console.dir(function() {});
aandrey 2014/06/05 15:13:23 this has nothing to do with es6. plz move to inspe
Alexandra Mikhaylova 2014/06/06 09:49:51 Done.
+
runTest();
}

Powered by Google App Engine
This is Rietveld 408576698