[inspector] added missing tryCatch in InjectedScript::create
R=dgozman@chromium.org Bug: chromium:752019 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1a64a26e5e5d44757edd5b887d140b6b855cecab Reviewed-on: https://chromium-review.googlesource.com/636300 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#47626}
This commit is contained in:
parent
24b88776aa
commit
b61a729fd1
@ -256,6 +256,7 @@ std::unique_ptr<InjectedScript> InjectedScript::create(
|
||||
InspectedContext* inspectedContext, int sessionId) {
|
||||
v8::Isolate* isolate = inspectedContext->isolate();
|
||||
v8::HandleScope handles(isolate);
|
||||
v8::TryCatch tryCatch(isolate);
|
||||
v8::Local<v8::Context> context = inspectedContext->context();
|
||||
v8::Context::Scope scope(context);
|
||||
v8::MicrotasksScope microtasksScope(isolate,
|
||||
|
Loading…
Reference in New Issue
Block a user