Add attribute to turn on node integration in <webview>
This commit is contained in:
parent
d596a7427e
commit
22e3b9df44
11 changed files with 154 additions and 13 deletions
|
@ -33,7 +33,7 @@ createGuest = (embedder, params) ->
|
|||
guestInstanceId: id
|
||||
storagePartitionId: params.storagePartitionId
|
||||
guestInstances[id] = guest
|
||||
webViewManager.addGuest id, embedder, guest
|
||||
webViewManager.addGuest id, embedder, guest, params.nodeIntegration
|
||||
|
||||
# Destroy guest when the embedder is gone.
|
||||
embedder.once 'render-view-deleted', ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue