No more need to check for nodeIntegration when creating guest view

This commit is contained in:
Cheng Zhao 2016-05-17 17:06:02 +09:00
parent 0140015500
commit 90f52169af
2 changed files with 0 additions and 38 deletions

View file

@ -183,10 +183,6 @@ var attachGuest = function (embedder, elementInstanceId, guestInstanceId, params
blinkFeatures: params.blinkfeatures
}
if (embedder.getWebPreferences().nodeIntegration === false) {
webPreferences.nodeIntegration = false
}
if (params.preload) {
webPreferences.preloadURL = params.preload
}