Disallow multiple process creations 99/172399/6
authorsurya.kumar7 <surya.kumar7@samsung.com>
Tue, 13 Mar 2018 13:05:13 +0000 (18:35 +0530)
committerjaekuk lee <juku1999@samsung.com>
Thu, 15 Mar 2018 04:51:26 +0000 (04:51 +0000)
When a request to a new window(in electron's context) comes, if the
rule CHILD_PROCESS_SPAWN is true, electron forks the current process
and creates the new window on another process. Disabling it will mean
the new window will be created from and appended to the existing
process.

Change-Id: I907a2fb8a0cb6585e033737164a066379fadc5c5
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
wrt/src/default_value.js

index afcc5ab0276017e8b8f36cb3a23e27ec7beb79ae..3964f367a9a3d1dd92a0cecd2631251187348f59 100644 (file)
@@ -12,7 +12,7 @@ define({
         PATH_HOSTED: 'static_hosted/web_window.html'
     },
     RULE: {
-        CHILD_PROCESS_SPAWN: true,
+        CHILD_PROCESS_SPAWN: false,
         WEB_WINDOW_TAG: false
     },
     LAUNCHER: {