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

Unified Diff: extensions/renderer/api_bindings_system_unittest.cc

Issue 2819683002: [Extenisons Bindings] Don't throw unchecked errors; add console errors (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
Index: extensions/renderer/api_bindings_system_unittest.cc
diff --git a/extensions/renderer/api_bindings_system_unittest.cc b/extensions/renderer/api_bindings_system_unittest.cc
index 20e85319aaa37703c592fb17e28a8574bbf5fad8..1a5313e051ba7a4830d8e35cafb460b00ad01c27 100644
--- a/extensions/renderer/api_bindings_system_unittest.cc
+++ b/extensions/renderer/api_bindings_system_unittest.cc
@@ -162,7 +162,8 @@ void APIBindingsSystemTest::SetUp() {
base::Bind(&APIBindingsSystemTest::OnEventListenersChanged,
base::Unretained(this)),
APILastError(base::Bind(&APIBindingsSystemTest::GetLastErrorParent,
- base::Unretained(this))));
+ base::Unretained(this)),
+ APILastError::AddConsoleError()));
}
void APIBindingsSystemTest::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698