projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f88eb2
)
Disable node integration in chrome-devtools: URLs
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 24 Apr 2017 17:25:40 +0000
(10:25 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 25 Apr 2017 20:36:08 +0000
(13:36 -0700)
lib/renderer/init.js
patch
|
blob
|
history
diff --git
a/lib/renderer/init.js
b/lib/renderer/init.js
index
0306463
..
9b7ea9d
100644
(file)
--- a/
lib/renderer/init.js
+++ b/
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 = '
tru
e'
+ nodeIntegration = '
fals
e'
} else if (window.location.protocol === 'chrome-extension:') {
// Add implementations of chrome API.
require('./chrome-api').injectTo(window.location.hostname, isBackgroundPage, window)