fix: add handle scope in SelectClientCertificate (#24868)
This commit is contained in:
parent
b6f8cd39e5
commit
2224d94c75
1 changed files with 1 additions and 0 deletions
|
@ -806,6 +806,7 @@ base::OnceClosure App::SelectClientCertificate(
|
|||
std::make_shared<net::ClientCertIdentityList>(std::move(identities));
|
||||
|
||||
v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();
|
||||
v8::HandleScope handle_scope(isolate);
|
||||
bool prevent_default =
|
||||
Emit("select-client-certificate",
|
||||
WebContents::FromOrCreate(isolate, web_contents),
|
||||
|
|
Loading…
Reference in a new issue