From: Aron Kim Date: Tue, 8 Jun 2021 04:21:54 +0000 (+0900) Subject: [Addon] nodeIntegrationInSubFrames support. X-Git-Tag: submit/tizen/20210614.160020^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0f698d6234eded0ee2d08e5da65db38b7786b1f;p=platform%2Fframework%2Fweb%2Fwrtjs.git [Addon] nodeIntegrationInSubFrames support. Add electron api, which is not supported in wrtjs Relate patch: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/259438/ Change-Id: I4b386bdce9070ebcd368d585e1ed30b3197cc1c3 Signed-off-by: Aron Kim --- diff --git a/wrt_app/src/web_application.ts b/wrt_app/src/web_application.ts index 6187903c..5b00547e 100644 --- a/wrt_app/src/web_application.ts +++ b/wrt_app/src/web_application.ts @@ -170,6 +170,7 @@ export class WebApplication { show: false, webPreferences: { nodeIntegration: options.isAddonAvailable, + nodeIntegrationInSubFrames: options.isAddonAvailable, nodeIntegrationInWorker: false, nativeWindowOpen: true, },