Electron has script isolation feature, and it is enabled by default.
Script isolation feature create new script context. wrtjs does not
need script isolation, so turn off it for memory.
Change-Id: I77d9fd97e8ee874a328f2e24c7a081c17cbf940b
Signed-off-by: SangYong Park <sy302.park@samsung.com>
transparent: this.defaultTransparent,
show: false,
webPreferences: {
+ contextIsolation: options.isAddonAvailable,
nodeIntegration: options.isAddonAvailable,
nodeIntegrationInSubFrames: options.isAddonAvailable,
nodeIntegrationInWorker: false,