Disable webview when nodeIntegration is off
This commit is contained in:
parent
3fedea4b9e
commit
c1399f9bdc
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if (window.location.protocol === 'chrome-devtools:') {
|
|||
require('./override')
|
||||
|
||||
// Load webview tag implementation.
|
||||
if (process.guestInstanceId == null) {
|
||||
if (nodeIntegration === 'true' && process.guestInstanceId == null) {
|
||||
require('./web-view/web-view')
|
||||
require('./web-view/web-view-attributes')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue