Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
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