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

Unified Diff: src/builtins/builtins-console.cc

Issue 2840853002: Revert of [d8] console methods must not throw. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | src/d8-console.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-console.cc
diff --git a/src/builtins/builtins-console.cc b/src/builtins/builtins-console.cc
index a43fe136d0a802c90950da915f33fc5be042ca78..a021c8a75b2e4d90dfee99da7daf0a3bde4fc7dd 100644
--- a/src/builtins/builtins-console.cc
+++ b/src/builtins/builtins-console.cc
@@ -45,8 +45,6 @@
if (isolate->console_delegate()) { \
debug::ConsoleCallArguments wrapper(args); \
isolate->console_delegate()->name(wrapper); \
- CHECK(!isolate->has_pending_exception()); \
- CHECK(!isolate->has_scheduled_exception()); \
} \
return isolate->heap()->undefined_value(); \
}
« no previous file with comments | « no previous file | src/d8-console.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698