| Index: third_party/WebKit/Source/platform/v8_inspector/V8FunctionCall.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8FunctionCall.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8FunctionCall.cpp
|
| index c43eb462d9da6775a140680f738fdaf531c93a72..c58531408381c52d5f7426a331f8026606f8caf5 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8FunctionCall.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8FunctionCall.cpp
|
| @@ -100,12 +100,16 @@ v8::Local<v8::Value> V8FunctionCall::callWithoutExceptionHandling()
|
| }
|
|
|
| int contextGroupId = V8Debugger::getGroupId(m_context);
|
| - if (contextGroupId)
|
| - m_inspector->client()->muteWarningsAndDeprecations(contextGroupId);
|
| + if (contextGroupId) {
|
| + m_inspector->client()->muteMetrics(contextGroupId);
|
| + m_inspector->muteExceptions(contextGroupId);
|
| + }
|
| v8::MicrotasksScope microtasksScope(m_context->GetIsolate(), v8::MicrotasksScope::kDoNotRunMicrotasks);
|
| v8::MaybeLocal<v8::Value> maybeResult = function->Call(m_context, thisObject, m_arguments.size(), info.get());
|
| - if (contextGroupId)
|
| - m_inspector->client()->unmuteWarningsAndDeprecations(contextGroupId);
|
| + if (contextGroupId) {
|
| + m_inspector->client()->unmuteMetrics(contextGroupId);
|
| + m_inspector->unmuteExceptions(contextGroupId);
|
| + }
|
|
|
| v8::Local<v8::Value> result;
|
| if (!maybeResult.ToLocal(&result))
|
|
|