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

Unified Diff: test/message/console.js

Issue 2838143002: [d8] console methods must not throw. (Closed)
Patch Set: fix for non-intl build Created 3 years, 8 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: test/message/console.js
diff --git a/test/message/console.js b/test/message/console.js
index ceab02e9a7bd76f225d170e736e919059f2191d4..f49ce4c608e26b6ea7c6024f3675010a37f60893 100644
--- a/test/message/console.js
+++ b/test/message/console.js
@@ -21,3 +21,5 @@ console.warn("warn", { toString: () => 2 });
console.error("error");
console.debug("debug");
console.info("info");
+
+console.info({ toString: () => {throw new Error("exception");} })

Powered by Google App Engine
This is Rietveld 408576698