Pages in chrome extension should not have node integration

This commit is contained in:
Cheng Zhao 2016-05-28 21:46:53 +09:00
parent 9ed4730cba
commit 30dca2b4e1

View file

@ -64,7 +64,7 @@ if (window.location.protocol === 'chrome-devtools:') {
} else if (window.location.protocol === 'chrome-extension:') {
// Add implementations of chrome API.
require('./chrome-api').injectTo(window.location.hostname, window)
nodeIntegration = 'true'
nodeIntegration = 'false'
} else {
// Override default web functions.
require('./override')