PR 44648: Enabling creation on webview with node-integration disabled and raising events
- Enabling creation on webview with node-integration disabled and raising events Conflicts: lib/browser/guest-view-manager.js
This commit is contained in:
parent
b712521056
commit
b4a8ed01f1
6 changed files with 51 additions and 23 deletions
|
@ -406,6 +406,9 @@ void WebContents::InitWithSessionAndOptions(v8::Isolate* isolate,
|
|||
|
||||
Init(isolate);
|
||||
AttachAsUserData(web_contents);
|
||||
|
||||
if (IsGuest())
|
||||
Emit("did-create-webview");
|
||||
}
|
||||
|
||||
WebContents::~WebContents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue