Permalink
Browse files

Disable node integration in chrome-devtools: URLs

  • Loading branch information...
kevinsawicki committed Apr 24, 2017
1 parent 3f88eb2 commit 05b6d91bf4c1e0ee65eeef70cd5d1bd1df125644
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/renderer/init.js
View
@@ -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)

0 comments on commit 05b6d91

Please sign in to comment.