Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index a1e5f2d441b742059d21fd52ed4f14b35975bd14..664c2ed095a0545d2ee655c3b15178e21e056f3f 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -691,7 +691,7 @@ |
const String16& callFrameId, const String16& expression, |
Maybe<String16> objectGroup, Maybe<bool> includeCommandLineAPI, |
Maybe<bool> silent, Maybe<bool> returnByValue, Maybe<bool> generatePreview, |
- Maybe<bool> throwOnSideEffect, std::unique_ptr<RemoteObject>* result, |
+ std::unique_ptr<RemoteObject>* result, |
Maybe<protocol::Runtime::ExceptionDetails>* exceptionDetails) { |
if (!isPaused()) return Response::Error(kDebuggerNotPaused); |
InjectedScript::CallFrameScope scope(m_inspector, m_session->contextGroupId(), |
@@ -706,8 +706,7 @@ |
v8::MaybeLocal<v8::Value> maybeResultValue = |
m_pausedCallFrames[scope.frameOrdinal()]->evaluate( |
- toV8String(m_isolate, expression), |
- throwOnSideEffect.fromMaybe(false)); |
+ toV8String(m_isolate, expression)); |
// Re-initialize after running client's code, as it could have destroyed |
// context or session. |