Index: test/inspector/task-runner.cc |
diff --git a/test/inspector/task-runner.cc b/test/inspector/task-runner.cc |
index 2f2f45d19cec6cd8b094e124508f5d8aec0455ff..a92f2d0aadcf7cdb047314028c07cde47560fc48 100644 |
--- a/test/inspector/task-runner.cc |
+++ b/test/inspector/task-runner.cc |
@@ -241,11 +241,7 @@ void ExecuteStringTask::AsyncRun(v8::Isolate* isolate, |
.ToLocal(&script)) |
return; |
v8::MaybeLocal<v8::Value> result; |
- if (inspector_) |
- inspector_->willExecuteScript(local_context, |
- script->GetUnboundScript()->GetId()); |
result = script->Run(local_context); |
- if (inspector_) inspector_->didExecuteScript(local_context); |
} else { |
v8::Local<v8::Module> module; |
if (!v8::ScriptCompiler::CompileModule(isolate, &scriptSource) |