Disable webview when nodeIntegration is off

This commit is contained in:
Cheng Zhao 2016-05-17 16:51:06 +09:00
parent 3fedea4b9e
commit c1399f9bdc

View file

@ -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')
}