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:
3fedea4
)
Disable webview when nodeIntegration is off
author
Cheng Zhao
<zcbenz@gmail.com>
Tue, 17 May 2016 07:51:06 +0000
(16:51 +0900)
committer
Cheng Zhao
<zcbenz@gmail.com>
Tue, 17 May 2016 07:51:06 +0000
(16:51 +0900)
lib/renderer/init.js
patch
|
blob
|
history
diff --git
a/lib/renderer/init.js
b/lib/renderer/init.js
index
fadf952
..
bff4ea7
100644
(file)
--- a/
lib/renderer/init.js
+++ b/
lib/renderer/init.js
@@
-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')
}