| 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;
|
|
|