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

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: REBASE 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..8d25fa365e810c0e83cbb9d8096c1fec393e03b6 100644
--- a/LayoutTests/inspector/console/console-dir-es6.html
+++ b/LayoutTests/inspector/console/console-dir-es6.html
@@ -14,6 +14,9 @@ function onload()
obj[Symbol.iterator] = Symbol("foo");
console.dir(obj);
+ // This used to crash in debug build.
+ console.dir(Symbol());
+
runTest();
}
« no previous file with comments | « LayoutTests/inspector/console/console-dir.html ('k') | LayoutTests/inspector/console/console-dir-es6-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698