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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp

Issue 1927703003: [DevTools] Remove bind from CommandLineAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-injected-script-host
Patch Set: Created 4 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 | « third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
index b324490216ab96cc5341a3dbbe89fe14541b094b..24d416d63f0c7b6a14bb51b376fe60419c896d89 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
@@ -172,7 +172,10 @@ void V8InjectedScriptHost::getEventListenersCallback(const v8::FunctionCallbackI
V8DebuggerClient* client = unwrapDebugger(info)->client();
V8EventListenerInfoList listenerInfo;
+ // eventListeners call can produce message on ErrorEvent during lazy event listener compilation.
+ client->muteWarningsAndDeprecations();
client->eventListeners(info[0], listenerInfo);
+ client->unmuteWarningsAndDeprecations();
v8::Local<v8::Object> result = v8::Object::New(info.GetIsolate());
protocol::HashSet<String16> types;
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698