Browse Source

Disable node integration in chrome-devtools: URLs

Kevin Sawicki 8 years ago
parent
commit
05b6d91bf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/renderer/init.js

+ 1 - 1
lib/renderer/init.js

@@ -78,7 +78,7 @@ for (let arg of process.argv) {
 if (window.location.protocol === 'chrome-devtools:') {
   // Override some inspector APIs.
   require('./inspector')
-  nodeIntegration = 'true'
+  nodeIntegration = 'false'
 } else if (window.location.protocol === 'chrome-extension:') {
   // Add implementations of chrome API.
   require('./chrome-api').injectTo(window.location.hostname, isBackgroundPage, window)