[Addon] nodeIntegrationInSubFrames support. 37/259437/2 submit/tizen/20210614.160020
authorAron Kim <aron.kim@samsung.com>
Tue, 8 Jun 2021 04:21:54 +0000 (13:21 +0900)
committerAron Kim <aron.kim@samsung.com>
Tue, 8 Jun 2021 04:31:51 +0000 (13:31 +0900)
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 <aron.kim@samsung.com>
wrt_app/src/web_application.ts

index 6187903..5b00547 100644 (file)
@@ -170,6 +170,7 @@ export class WebApplication {
       show: false,
       webPreferences: {
         nodeIntegration: options.isAddonAvailable,
+        nodeIntegrationInSubFrames: options.isAddonAvailable,
         nodeIntegrationInWorker: false,
         nativeWindowOpen: true,
       },