platform/framework/web/wrtjs.git
8 months ago[WRTjs] Fix SplashScreen instance is not destroyed in VIDEOFINISHED case 81/297081/6 submit/tizen/20230816.160022
zhaosy [Thu, 10 Aug 2023 03:56:46 +0000 (11:56 +0800)]
[WRTjs] Fix SplashScreen instance is not destroyed in VIDEOFINISHED case

SplashScreen instance is not destroyed in VIDEOFINISHED case,
it caused app can't show to foreground.

Related patch:
https://review.tizen.org/gerrit/297080/

Change-Id: If3c44a252113c4f3900a087cdc49cc7967c50c49
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
9 months agoFix RWI popup disappearing on launch 27/294727/2 submit/tizen/20230721.160023
Surya Kumar [Thu, 20 Jul 2023 14:41:00 +0000 (20:11 +0530)]
Fix RWI popup disappearing on launch

On showing popup when window isn't shown yet, and WRT receives
subsequent Resume() call, the displayed popup vanishes leaving
a black screen. This change ensures popup is shown along with
the window.

Change-Id: I0838e18ab7b3102787b5593f6cfd53ad32ff827a
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
10 months ago[VD] Update gbs.conf.in for Tizen 8.0 34/294734/3 accepted/tizen_8.0_unified accepted/tizen/8.0/unified/20231005.094357 accepted/tizen/unified/20230720.164625 submit/tizen/20230626.160026 tizen_8.0_m2_release
zhaosy [Sun, 25 Jun 2023 02:59:08 +0000 (10:59 +0800)]
[VD] Update gbs.conf.in for Tizen 8.0

Update repositories for Tizen 8.0

Change-Id: I8a1a8d959c8c8cf3f84ea68cc08551d23c881f50
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
10 months agoMerge "[Service] Apply WebAssembly.compileForCaching()" into tizen submit/tizen/20230616.160024
DongHyun Song [Fri, 16 Jun 2023 04:17:46 +0000 (04:17 +0000)]
Merge "[Service] Apply WebAssembly.compileForCaching()" into tizen

10 months ago[Service] Apply WebAssembly.compileForCaching() 60/294260/5
DongHyun Song [Thu, 15 Jun 2023 06:35:40 +0000 (15:35 +0900)]
[Service] Apply WebAssembly.compileForCaching()

compileForCaching() has been introduced to fix wasm caching
issue from:
https://review.tizen.org/gerrit/293822/

Change-Id: I93e3cba22da23ff222e9514b2e3a21249d9463bd
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
10 months ago[Tizen 8.0 Migration][Service] Fix exception and change dummyTimer's interval 47/294247/1 submit/tizen/20230615.160023
DongHyun Song [Fri, 19 May 2023 05:00:55 +0000 (14:00 +0900)]
[Tizen 8.0 Migration][Service] Fix exception and change dummyTimer's interval

1)
When the app has resumed If the service app has no onRequest function,
JS exception can be raised. So, undefined check is necessary.

2)
Because UvTaskRunner has 500ms interval, 100ms timer is not meaningful
in Node application.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/293070/

Change-Id: Id94e561e1c1e1c516c8c9ba82d664f83e2d6f404
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit 4ff972858c6fef14074e2d6ae797ee56a7ad8536)

11 months ago[Tizen7.5 Migration][VD] Fix load early url issue 59/293059/1 submit/tizen/20230530.160042
DongHyun Song [Mon, 8 May 2023 05:16:48 +0000 (14:16 +0900)]
[Tizen7.5 Migration][VD] Fix load early url issue

If the app has app-control option in config.xml, app can jump the
URL defined in the option. Then it will not be a default src.

In this case, the app has to be able to jump to defined URL again.

FYI) This early-load URL feature is enabled to TV profile.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/292434/

Change-Id: Iedf48ad48a5b1fb73f6e84d812c2820304e53480
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
11 months agoIgnore chromium and wrtjs version when install wrtjs rpm 83/292483/2 submit/tizen/20230515.160024
liwei [Tue, 9 May 2023 01:46:56 +0000 (09:46 +0800)]
Ignore chromium and wrtjs version when install wrtjs rpm

Now, we don't ofen add native APIs, and if we add native apis, we
can use WRT TCs to confirm the chromium and wrtjs is matched, so
it's unncessary to care chromium version and wrtjs version when
install wrtjs rpm.

Change-Id: Ia1d36f2aa5d908c33cd02c2bc6104fbf1493e4f2
Signed-off-by: liwei <wei90727.li@samsung.com>
12 months ago[HOTFIX] Disable wrt-loader for non TV profiles 70/291970/3 accepted/tizen/unified/20230426.062804 submit/tizen/20230426.160021
Surya Kumar [Tue, 25 Apr 2023 10:22:49 +0000 (15:52 +0530)]
[HOTFIX] Disable wrt-loader for non TV profiles

With wrt-loader, recently black screens are observed on
non-TV profiles like RPi4. So, disabling it temporarily
until it's fixed

Change-Id: Ief313708939bf1db8715f6ef004c06f7ada47f48
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
13 months ago[Tizen 7.5 Migration][Service] Only apply tizen.alarm.getAll() in daemon mode 00/290700/2 submit/tizen/20230331.160026
liwei [Thu, 23 Mar 2023 02:40:12 +0000 (10:40 +0800)]
[Tizen 7.5 Migration][Service] Only apply tizen.alarm.getAll() in daemon mode

tizen.alarm.getAll() can only be called before drop privilege
in daemon mode, bcz in standalone mode, privilge permission
issue will happen(error example:MESSAGE=User::Pkg::kk8MbItQ0H;
5001;http://tizen.org/privilege/alarm.get => DENY).

Change-Id: Id2f3231deece0446374b0b426473b5100ca2673d
Signed-off-by: liwei <wei90727.li@samsung.com>
(cherry picked from commit a93d5915458eaba744589819378f398e2acbc3b1)

13 months agoMerge "[Tizen 7.5 Migration][Service] Apply tizen.alarm.getAll() before drop privileg... submit/tizen/20230330.160037
DongHyun Song [Thu, 30 Mar 2023 02:08:34 +0000 (02:08 +0000)]
Merge "[Tizen 7.5 Migration][Service] Apply tizen.alarm.getAll() before drop privilege" into tizen

13 months ago[Tizen 7.5 Migration][VD] Change wrt-loader re-activate time from 10s to 15s 83/290283/1 submit/tizen/20230323.160023
liwei [Wed, 22 Mar 2023 10:30:00 +0000 (18:30 +0800)]
[Tizen 7.5 Migration][VD] Change wrt-loader re-activate time from 10s to 15s

WRT-loader will take resource, it will be a burden in cold
boot, so change wrt-loader re-activate time from 10s to 15s

Referenece:
https://review.tizen.org/gerrit/290282/

Change-Id: I6c4f46111bd1c2ffcf93b109b4c8cafa1e5ee710
Signed-off-by: liwei <wei90727.li@samsung.com>
13 months ago[Tizen 7.5 Migration][Service] Apply tizen.alarm.getAll() before drop privilege 69/290069/1
liwei [Thu, 9 Mar 2023 05:21:30 +0000 (13:21 +0800)]
[Tizen 7.5 Migration][Service] Apply tizen.alarm.getAll() before drop privilege

A new smack error while using tizen.alarm webapi.
tizen.alarm webapi use pid's smack label(/prod/tid/attr/current)
to check privilege.

So we should call tizen.alarm.getAll() before drop privilege.

subject="User::Pkg::j5SOtj71QW" object="System::Privileged"
requested=r ppid=2418 ppid_comm="wrt-service" pid=2426
comm="wrt-service" path="/proc/2426" dev="proc" ino=217674

Referenece:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/289512/

Change-Id: Ie949a681295dbe39563fa23e9f2e53617466ac36
Signed-off-by: liwei <wei90727.li@samsung.com>
(cherry picked from commit 74b5e6e0c55bcee1368a5bb8f741d00034bef269)

13 months ago[Tizen 7.5 Migration][VD] Change ON_BOOT_TIMEOUT 10s --> 1.5s 68/290068/2 submit/tizen/20230320.160024
DongHyun Song [Thu, 23 Feb 2023 12:35:07 +0000 (21:35 +0900)]
[Tizen 7.5 Migration][VD] Change ON_BOOT_TIMEOUT 10s --> 1.5s

Change the timeout value to create wrt-loader early.

Referenece:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/288855/

Change-Id: I33c6fbc93fd7fd239b39da406fe25e275a933983
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit 9f0899a8e4917bd3df594b769d6dc334827501c6)

16 months ago[VD] Apply CPU threadhold for wrt-loader 37/286137/1 submit/tizen/20221229.160018
DongHyun Song [Thu, 29 Dec 2022 01:02:06 +0000 (10:02 +0900)]
[VD] Apply CPU threadhold for wrt-loader

The default CPU threshold is 40~90 on launchpad, with low-end
model, wrt-loader is not activated sometimes after OOM deactivation.

So modify its threshold value to ensure wrt-loader preparation.

Change-Id: Ic9e44fbff59820ed37b3c38cad22d89ab6c6d366
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 months agoRemove device_home folder 95/284895/2 submit/tizen/20221207.160023
DongHyun Song [Wed, 30 Nov 2022 07:09:09 +0000 (16:09 +0900)]
Remove device_home folder

Delete unnecessary folder and build config.

Change-Id: Ie85fe152fb1fb5aad1e6f2e728c1cf5db3a4007c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 months ago[VD] Fix a smack error when getSSOGuid() 91/284991/2 submit/tizen/20221202.160017
DongHyun Song [Fri, 2 Dec 2022 06:16:37 +0000 (15:16 +0900)]
[VD] Fix a smack error when getSSOGuid()

When use sso_get_guid(), smack error happens by access of pid
smack label.

This patch take sso_get_guid() before smack label change and set
global value.

Change-Id: Ia6faa64d9104c5bb684f30c2c17e0ed7a19ce97a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 months ago[VD] Add on-boot option with 10s delay 03/284503/2 submit/tizen/20221121.160027
DongHyun Song [Fri, 18 Nov 2022 06:48:49 +0000 (15:48 +0900)]
[VD] Add on-boot option with 10s delay

By this option wrt-loader is prepared always 10s later from
launchpad ready.

Change-Id: I37d149dfa2429a4888b0077ee90683a29071359e
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 months ago[Service] Add webapis.getDeviceUUID() 37/284437/1 submit/tizen/20221117.160023
Hunseop Jeong [Thu, 17 Nov 2022 05:43:16 +0000 (14:43 +0900)]
[Service] Add webapis.getDeviceUUID()

This provides device UUID

Related chromium-efl patch:
https://review.tizen.org/gerrit/283644/

Change-Id: I31adedce5ade2f58fe7a1724d7332e7213632ca6
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
17 months agoMerge "[Service] Refactor and fix message-port issue" into tizen
Youngman Son [Thu, 17 Nov 2022 05:25:30 +0000 (05:25 +0000)]
Merge "[Service] Refactor and fix message-port issue" into tizen

17 months ago[Service] Refactor and fix message-port issue 20/284320/6
DongHyun Song [Tue, 15 Nov 2022 12:38:35 +0000 (21:38 +0900)]
[Service] Refactor and fix message-port issue

when the app calls RemoteMessageport.sendMessage(), its second
parameter should be an LocalMessagePort function which is created
in pure message-port webapis.
From the bi-direction support, because LocalMessagePort becomes
an wrapper object by device_api_router, this makes an error by
type validator of webapis core.

Thus, this patch's main idea is going to unwrap the object to pass
the pure message-port object as the second parameter, also refactors
message-port implementation source code on mesage_port_router.

Change-Id: I226d9521df7cb5edc84530b3d65ba63a155905d8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
17 months agoMerge "[Service][VD] Add webapis.getCameraInfo()" into tizen submit/tizen/20221115.160022
DongHyun Song [Tue, 15 Nov 2022 04:42:04 +0000 (04:42 +0000)]
Merge "[Service][VD] Add webapis.getCameraInfo()" into tizen

17 months ago[AddOn]Remove unnecessary log 44/284244/2
liwei [Mon, 14 Nov 2022 07:17:09 +0000 (15:17 +0800)]
[AddOn]Remove unnecessary log

Remove unnecessary log 'No handler for the key ***', this log
cannot help anything and make misunderstand from other module,
so remove it.

Change-Id: I857d7d22a4a7ebef56cc16e9dc81b60d2c8fdb12
Signed-off-by: liwei <wei90727.li@samsung.com>
17 months ago[Service][VD] Add webapis.getCameraInfo() 90/284090/2
Chunling Ye [Wed, 9 Nov 2022 11:19:41 +0000 (19:19 +0800)]
[Service][VD] Add webapis.getCameraInfo()

This provides TV CameraInfo for DeviceHome service.

Related chromium-efl patch:
https://review.tizen.org/gerrit/284089/

Change-Id: Ic3414502fdf7f52d41fd626665177d9b71414a10
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
17 months ago[Service] Support bi-direction message-port 05/283805/4 submit/tizen/20221108.160031
DongHyun Song [Thu, 3 Nov 2022 05:45:47 +0000 (14:45 +0900)]
[Service] Support bi-direction message-port

From the bundle data, if there is the information of actual remote port,
then it make RemoteMessagePort object for the 2nd parameter of message-
port callback.

Related chromium-efl patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/283803/

Change-Id: I4236b5e50c265ababf9550ea2ae278ea51c23a69
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
18 months ago[DeviceHome][VD] Provides webapis.sso APIs 98/282598/12 submit/tizen/20221028.160022
DongHyun Song [Thu, 6 Oct 2022 09:24:55 +0000 (18:24 +0900)]
[DeviceHome][VD] Provides webapis.sso APIs

This patch introduces 2 sso API.
 - webapis.sso.getGuid(): string;
 - webapis.sso.getOspAccessToken(clientId: string, secret: string,
       resolve: Function, reject?: Function): void;
   . reject is optional

When the 'OspAccessToken' event is emitted from WRT side to the main
thread, then, it propagates the event to the all workers. But the worker
has registered 'OspAccessToken' event can only take it.
Like as this manner, message listener can be expanded for another
purpose later.

Related chromium-efl patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/282600/

Change-Id: I5c941e66e2729dbbeeafbbdb35a803134ed4924b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
18 months agoMerge "[VD] Skip addon feature in TV" into tizen submit/tizen/20221021.160028
DongHyun Song [Fri, 21 Oct 2022 07:27:23 +0000 (07:27 +0000)]
Merge "[VD] Skip addon feature in TV" into tizen

18 months ago[VD] Skip addon feature in TV 63/283263/1
liwei [Fri, 21 Oct 2022 06:15:12 +0000 (14:15 +0800)]
[VD] Skip addon feature in TV

Addon initialize logic will cost over 500ms, it effect app performance,
now we skip addon feature in TV.
After addon feature is released in TV, we will consider a proper policy
to initialize addon in logic(Maybe add FMS key for TV or add app's metadata
to enable addon feature).

Change-Id: I360f34db70fed32434ce91f692bc8c1103385c2c
Signed-off-by: liwei <wei90727.li@samsung.com>
18 months ago[Service] Provide webapis.isRunningApp() API 55/282855/4
DongHyun Song [Wed, 12 Oct 2022 08:58:44 +0000 (17:58 +0900)]
[Service] Provide webapis.isRunningApp() API

Conventionally, to know an app if it is alive with webapis, it should
get all alive packages info and check if the subject app ID is included
on them. This is very inefficient way.

So, WRT did provide below API recently.
 - wrt.isRunningApp(appId: string): bool

This patch will webapis.isRunningApp(appId: strig) also for the service
apps.

Change-Id: If20751d6b47913ebb9836463b307d5aa97f76e65
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
19 months agoStop Inspector when all windows are closed 04/280604/3 submit/tizen/20220923.160021
liwei [Thu, 1 Sep 2022 05:36:43 +0000 (13:36 +0800)]
Stop Inspector when all windows are closed

Some apps(ex. hulu) will call window.close() when terminate, it will cause
'before-quit' invoked after 'window-all-closed'. In current logic, WRT stop
inspector when receive 'before-quit' event, but at this case, any wrt api
cannot be called successfully(I think it's related with window is closed firstly),
so stop inspector in 'window-all-closed' event, then RWI cannot stopped properly and
RWI port will be released normally

Change-Id: I8d3d46973cc1536bf6818c346d7c3ef43ed4be0a
Signed-off-by: liwei <wei90727.li@samsung.com>
19 months agoMerge "Support 64bit env" into tizen submit/tizen/20220920.160024
SangYong Park [Tue, 20 Sep 2022 00:24:55 +0000 (00:24 +0000)]
Merge "Support 64bit env" into tizen

19 months agoSupport 64bit env 34/281434/2
liwei [Mon, 19 Sep 2022 03:51:19 +0000 (11:51 +0800)]
Support 64bit env

1. Support 64bit compile
./tizen/build/build_tv.sh -P  profile.tztv_64bit_7.0_arm-pontusm  -A aarch64
2. In 64bit env, plugin path should be '/usr/lib64' not '/usr/lib'

Change-Id: I4b29a75eff19780fcf855c4fb946033258a271f2
Signed-off-by: liwei <wei90727.li@samsung.com>
19 months ago[VD] Add builtins services to webpack config 44/280844/4 submit/tizen/20220908.160020
DongHyun Song [Tue, 6 Sep 2022 00:09:55 +0000 (09:09 +0900)]
[VD] Add builtins services to webpack config

Add missing files if builtin services

Change-Id: I94e174d15e53b2976fcafda4a51a575511530b07
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
20 months ago[WRTjs] add disable screensaver metadata description 87/280287/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062337 accepted/tizen/7.0/unified/hotfix/20221116.110313 accepted/tizen/unified/20220830.032549 submit/tizen/20220829.160021 tizen_7.0_m2_release
yman.son [Fri, 26 Aug 2022 07:36:14 +0000 (16:36 +0900)]
[WRTjs] add disable screensaver metadata description

metadata:http://samsung.com/tv/metadata/disable.screensaver.partialvideo
The description of the metadata provided by the application should be
added to the .xml file. (VD Division Policy)

Change-Id: I45b5906a72e684da88cf13cc87fbdede6bda8084
Signed-off-by: yman.son <yman.son@samsung.com>
20 months ago[WRTjs] If app is quiting, don't call show app 56/279556/2 submit/tizen/20220812.160033
zhaosy [Thu, 11 Aug 2022 10:40:05 +0000 (18:40 +0800)]
[WRTjs] If app is quiting, don't call show app

App will crash in below scenario, because all windows are closed,
so add protected code.

  App is quitting -> ready-to-show event is triggered
  -> visibility_callback -> GetMainNativeWindow

Change-Id: Ie71dc4ff71bf639a7059641a34b4819a7e97869a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
20 months agoMerge "[WRTjs][VD] Get add-on info in local manifest file" into tizen accepted/tizen/unified/20220810.135739 submit/tizen/20220809.160036
DongHyun Song [Tue, 9 Aug 2022 12:03:18 +0000 (12:03 +0000)]
Merge "[WRTjs][VD] Get add-on info in local manifest file" into tizen

20 months ago[WRTjs][VD] Get add-on info in local manifest file 30/278730/6
liwei [Mon, 25 Jul 2022 11:50:05 +0000 (19:50 +0800)]
[WRTjs][VD] Get add-on info in local manifest file

Now app direct launch performance, get add-on using pkgmgr api, it cost
some time(depend on installed app count), so TV plan to optimize this logic,
when add-on is installed, vd-wgt-backend save mainifest.json to '/home/
owner/apps_rw/xwalk-service/addon/tizenid(***.***)/', then web app directly
launch or wrt-loader launch, we can get add-on info from these mainfest
files directly, it will only cost little time.

Change-Id: If1ee7fc1777220dd9f6ff8af3d5c007c2c24441c
Signed-off-by: liwei <wei90727.li@samsung.com>
21 months agoApply module bundling 73/278373/2 accepted/tizen/unified/20220804.151622 submit/tizen/20220803.160025
SangYong Park [Tue, 19 Jul 2022 05:13:06 +0000 (14:13 +0900)]
Apply module bundling

update node tool to v14.15.4
install node modules
 . webpack-cli@4.10.0
 . webpack@5.73.0
 . ts-loader@9.3.1
change uncompatible code with webpack

Change-Id: Iabae1cd9db9c4ca19c0f1371f13d305b2830b6b1
Signed-off-by: SangYong Park <sy302.park@samsung.com>
21 months ago[Service][VD] Enable file extension resolver for ESM type 76/278376/5 accepted/tizen/unified/20220722.031054 submit/tizen/20220721.160022
DongHyun Song [Wed, 20 Jul 2022 02:24:59 +0000 (11:24 +0900)]
[Service][VD] Enable file extension resolver for ESM type

require.extensions[] doesn't handle for ESM modules.
This will enable trying to find additional extensions like as CJS.

Change-Id: Ie0744c16581afa829be344a07961fe7dd751b8e3
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
21 months ago[WRTjs]Check window when emit related event 17/277717/1 accepted/tizen/unified/20220714.135306 submit/tizen/20220713.160022
Chunling Ye [Tue, 12 Jul 2022 09:52:03 +0000 (17:52 +0800)]
[WRTjs]Check window when emit related event

For Epop, if miss any configuration in TV, the app will
terminate itself quickly, then 'quit->load-finish' will
happen, so check window before emit event to avoid exception.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/268326/

Change-Id: Ic7168d3a41c1c4cd3f31477259666c8f3b80a797
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
22 months ago[VD] Update gbs.conf.in for Tizen 7.0 33/277033/3 accepted/tizen/unified/20220704.213016 submit/tizen/20220701.160022
DongHyun Song [Wed, 29 Jun 2022 09:06:52 +0000 (18:06 +0900)]
[VD] Update gbs.conf.in for Tizen 7.0

Update repositories for Tizen 7.0

Change-Id: I13b3aaadd4952282e95cb8df0c016b92684dfbba
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
22 months ago[VD] Change argument type of notifyServiceMessage() 14/275714/4 accepted/tizen/unified/20220609.132739 submit/tizen/20220608.160016
DongHyun Song [Tue, 31 May 2022 01:01:10 +0000 (10:01 +0900)]
[VD] Change argument type of notifyServiceMessage()

Fix wrong arguments usage of notifyServiceMessage() with current
DeviceHome implementation.

Change-Id: Ie263b737b746aa9d78ec3aaeeb483a0584c18294
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
23 months ago[VD] Remove unnecessary resume() when SkipReload 60/275160/5 accepted/tizen/unified/20220525.010201 submit/tizen/20220524.160021
liwei [Tue, 17 May 2022 10:09:54 +0000 (18:09 +0800)]
[VD] Remove unnecessary resume() when SkipReload

When app resuem, litewebappservice will pass 'SkipReload',
WRT doesn't need call resume() in this case, bcz WRT will
receive OnResume() event from appfw, so resume() will be
handled when receive OnResume().

Change-Id: I2b214ae9ded30bc254f7e0ca678e3a89d7b55e02
Signed-off-by: liwei <wei90727.li@samsung.com>
23 months agoPrevent creating script context for electron isolation feature 65/275265/1 submit/tizen/20220520.160022
SangYong Park [Thu, 19 May 2022 07:04:55 +0000 (16:04 +0900)]
Prevent creating script context for electron isolation feature

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>
23 months ago[VD] Refactors for background launch 94/272194/9 submit/tizen/20220519.160023
DongHyun Song [Fri, 11 Mar 2022 03:50:21 +0000 (12:50 +0900)]
[VD] Refactors for background launch

Refactors conditions regarding background launch related to
clearify logics.

Change-Id: If4e222a7212d0c5e22d55b5d393f43fb9db0079e
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
23 months agoMerge "[SignalingServer] Update latest offload.js" into tizen
Hye Kyoung Hwang [Thu, 19 May 2022 00:32:06 +0000 (00:32 +0000)]
Merge "[SignalingServer] Update latest offload.js" into tizen

23 months agoMerge "[Service] Skip start service when app terminate & Check wrt-service launcher... submit/tizen/20220513.160022
DongHyun Song [Fri, 13 May 2022 05:51:50 +0000 (05:51 +0000)]
Merge "[Service] Skip start service when app terminate & Check wrt-service launcher to 4s" into tizen

23 months agoMerge "[DeviceHome] Support one time pincode" into tizen
Youngman Son [Fri, 13 May 2022 04:14:19 +0000 (04:14 +0000)]
Merge "[DeviceHome] Support one time pincode" into tizen

23 months ago[Service] Skip start service when app terminate & Check wrt-service launcher to 4s 19/274919/3
liwei [Thu, 12 May 2022 05:41:21 +0000 (13:41 +0800)]
[Service] Skip start service when app terminate & Check wrt-service launcher to 4s

Now an issue happen, service app is launched for a little time, then
wrt-service-launcher is killed by unknown reason, then wrt-service
start to stop, guess xwalk-extension is not stopped completely, at the
same time, service app is reqeusting preview, then crash happen, so
do below changes.

1. Skip start service when app is terminating.
2. Check wrt-service-launcher from 2s to 4s.

Change-Id: I4a7c4b946a89d1a1f6a46903e3582a1d91248888
Signed-off-by: liwei <wei90727.li@samsung.com>
23 months ago[SignalingServer] Update latest offload.js 56/274856/5
Insoon Kim [Wed, 11 May 2022 03:55:20 +0000 (12:55 +0900)]
[SignalingServer] Update latest offload.js

Disable the wildcard certificate and domain name by default for public

Change-Id: Ie8eec92688736c421f32a1f8b092d6c98833df4e
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
23 months ago[DeviceHome] Remove out-date comments 72/274772/1
singa2000 [Mon, 9 May 2022 06:50:21 +0000 (15:50 +0900)]
[DeviceHome] Remove out-date comments

Now encryption is enough, and it's no longer necessary to encrypt once more with ciper.
It fixed the SSMS 220505-0001 issue.

Change-Id: Ic5d5724810fe66a9bc9f790cccf9226d4183e26a
Signed-off-by: singa2000 <cookie@samsung.com>
23 months ago[DeviceHome] Support one time pincode 14/274114/8
DongHyun Song [Thu, 21 Apr 2022 11:13:37 +0000 (20:13 +0900)]
[DeviceHome] Support one time pincode

If the 'url' contains a query string '?p=', then it try to verify
OTP to DeviceHome server.
 - this OTP is only alive within 60s.

Change-Id: Ic8c22747015f070e1ff5472b94727dc5a2b549b6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
23 months ago[DeviceHome] Remove the wrong parentheses to fix the script 57/274757/2 submit/tizen/20220509.160020
Hunseop Jeong [Mon, 9 May 2022 04:52:39 +0000 (13:52 +0900)]
[DeviceHome] Remove the wrong parentheses to fix the script

Change-Id: I2f73e84ebaa225a3b0404b5118114ea774d08cfd
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
2 years ago[SignalingServer] Move the offload.js to the shared space 32/274432/3 submit/tizen/20220504.160013
Hunseop Jeong [Thu, 28 Apr 2022 08:15:41 +0000 (17:15 +0900)]
[SignalingServer] Move the offload.js to the shared space

Move the offload.js to the shared/res/ to access the offload.js
from the xwalk extension.

Change-Id: If4b802c99e40de23a198cee173c9f5969a371599
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
2 years ago[Service] Support webapis.getAppIdsByMetadata() 16/274416/3 submit/tizen/20220428.160021
DongHyun Song [Thu, 28 Apr 2022 04:49:53 +0000 (13:49 +0900)]
[Service] Support webapis.getAppIdsByMetadata()

This new API will be used to find proper apps quickly more than
tizen.application.getAppsInfo()

Related patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/274342/

Change-Id: Ibe8c2a279943cc85570f057e38721aa5d4b95729
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeviceHome] Refactors EventSource handler 15/274115/8
DongHyun Song [Thu, 21 Apr 2022 11:21:51 +0000 (20:21 +0900)]
[DeviceHome] Refactors EventSource handler

Refactors EventSource handlers for multiple purpose.

 - updateapp-list: update app list when install/uninstall
 - redirect-url: request to open the URL
 - remote-message: 'remotemessage' CustomEvent
 - ime-event: handle for remote input

Change-Id: I637bcdc17ed8fd3ed7b69b93d50a5c431a385d35
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years agoMerge "[SignalingServer] Enable the d2d_offload flag" into tizen
DongHyun Song [Thu, 28 Apr 2022 05:00:57 +0000 (05:00 +0000)]
Merge "[SignalingServer] Enable the d2d_offload flag" into tizen

2 years agoMerge "[DeviceHome][VD] Support preview display on client" into tizen
Youngman Son [Thu, 28 Apr 2022 00:18:20 +0000 (00:18 +0000)]
Merge "[DeviceHome][VD] Support preview display on client" into tizen

2 years ago[SignalingServer] Enable the d2d_offload flag 25/274325/2
Hunseop Jeong [Tue, 26 Apr 2022 07:50:50 +0000 (16:50 +0900)]
[SignalingServer] Enable the d2d_offload flag

Update the signaling server code and define the service
type for the signaling server to run the service independently.

Change-Id: Ib69f48392b00734231a8f0f2c35f0feb87f75c12
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
2 years agoMerge "[DeviceHome] Fix crash due to empty appid" into tizen accepted/tizen/unified/20220429.003344 submit/tizen/20220427.160020
SangYong Park [Wed, 27 Apr 2022 00:52:34 +0000 (00:52 +0000)]
Merge "[DeviceHome] Fix crash due to empty appid" into tizen

2 years ago[DeviceHome][VD] Support preview display on client 13/274113/5
DongHyun Song [Thu, 21 Apr 2022 11:10:38 +0000 (20:10 +0900)]
[DeviceHome][VD] Support preview display on client

When there are d2dservice apps having preview data,
 - 'click' event is for listing preview data
 - 'dblclick' event is for opening the UI offloading page

For the deeplink, when the preview icon is clicked on client side,
then it will request appcontrol with 'action' parameter as 'PAYLAOAD'

Parent patch:
https://review.tizen.org/gerrit/274112/

Change-Id: I8c367802aed101644f6d086a9e30ae9dcc6f7eae
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeviceHome][VD] Add 'action' parameter for deeplink 12/274112/2 submit/tizen/20220426.160022
DongHyun Song [Thu, 21 Apr 2022 11:06:18 +0000 (20:06 +0900)]
[DeviceHome][VD] Add 'action' parameter for deeplink

If there is 'action' parameter, then, it will be a 'PAYLOAD' data
for deeplink.

Change-Id: Ic7f3414364945f0a46b2e74274924cfcdc8a9b31
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeviceHome] Fix crash due to empty appid 80/274280/2
Surya Kumar [Mon, 25 Apr 2022 14:46:36 +0000 (20:16 +0530)]
[DeviceHome] Fix crash due to empty appid

Platform team has reported crashes on wrt calling webapis
with empty appid, which happens on installation of resource
packages without app. This change safeguards such instances.

Change-Id: Ied8e3f6f7253aa1bc38421e296842c8c09d54e6c
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years agoMerge "[DeviceHome][VD] Disable to build DeviceHome" into tizen submit/tizen/20220425.160020
Youngman Son [Mon, 25 Apr 2022 09:17:09 +0000 (09:17 +0000)]
Merge "[DeviceHome][VD] Disable to build DeviceHome" into tizen

2 years agoMerge "[DeviceHome][VD] Fix setting the 'wsa' path" into tizen
SangYong Park [Mon, 25 Apr 2022 06:05:49 +0000 (06:05 +0000)]
Merge "[DeviceHome][VD] Fix setting the 'wsa' path" into tizen

2 years ago[DeviceHome] Seperate TV service with service_tv.js 33/273933/7 submit/tizen/20220422.160021
DongHyun Song [Mon, 18 Apr 2022 08:00:45 +0000 (17:00 +0900)]
[DeviceHome] Seperate TV service with service_tv.js

1. Add new file service_tv.js for TV product features
2. Remove unnecessary service.js symlink
3. Support webapis.getProfile()

Change-Id: Ied35583ff74d0b8b864e65c091a8791ffe0f31f9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeviceHome][VD] Fix setting the 'wsa' path 32/274032/2
DongHyun Song [Wed, 20 Apr 2022 07:07:51 +0000 (16:07 +0900)]
[DeviceHome][VD] Fix setting the 'wsa' path

The start page includes 'wsa' path, then replace the base path as
/res/wsa/client/ for tmg app.

Change-Id: Iaed061140e26ee04a78402fb1879bc861f7cb4a4
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeviceHome][VD] Disable to build DeviceHome 34/274034/2
DongHyun Song [Wed, 20 Apr 2022 07:16:45 +0000 (16:16 +0900)]
[DeviceHome][VD] Disable to build DeviceHome

DeviceHome will be managed by TV app store as a downloadable app.
TV store ID : 3202204027208

TV profile don't need to build and install DeviceHome on wrtjs side.

Change-Id: I1c13524849b8bb08a2986171769ec414c7639dff
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[VD] Send appcontrol data to app in 'ResumeWithAppControl' 61/273761/4 submit/tizen/20220418.160020
liwei [Wed, 13 Apr 2022 09:22:11 +0000 (17:22 +0800)]
[VD] Send appcontrol data to app in 'ResumeWithAppControl'

Send appcontrol data to app side when appcontrol data 'ResumeWithAppControl
=Yes',then app can use the key/value flexibility.

Change-Id: Id3101bf03c1fc35885e08871c582ea7d4bd7dea8
Signed-off-by: liwei <wei90727.li@samsung.com>
2 years agoMerge "[Service] Unset post callbacks" into tizen submit/tizen/20220331.160022
SangYong Park [Thu, 31 Mar 2022 02:19:25 +0000 (02:19 +0000)]
Merge "[Service] Unset post callbacks" into tizen

2 years ago[Service] Unset post callbacks 96/272696/3
DongHyun Song [Wed, 23 Mar 2022 00:46:07 +0000 (09:46 +0900)]
[Service] Unset post callbacks

Unexpectedly, post callbacks can be fired from webapi worker thread
after its wrt::api::XwalkExtension instance was destroyed.

Thus, this will unset the post callbacks on unloadInstance API.

Related chromium-efl patch:
https://review.tizen.org/gerrit/272695/

Change-Id: I82e5bdfc48bed4b4d208ca6dd485bdffd1c31a0d
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[VD] resolve metadata-profile.xml parsing error 34/272834/1 submit/tizen/20220328.160021
yman.son [Fri, 25 Mar 2022 07:51:11 +0000 (16:51 +0900)]
[VD] resolve metadata-profile.xml parsing error

if use the metadata sample used for config.xml,
need add xmlns information to the profile.

Change-Id: Ic935970691f3ca5b4148521e868858255c33c816
Signed-off-by: yman.son <yman.son@samsung.com>
2 years ago[Service] Debugging condole.log with ServiceMessage 88/272288/4 accepted/tizen/unified/20220324.134420 submit/tizen/20220318.160023
DongHyun Song [Mon, 14 Mar 2022 06:12:47 +0000 (15:12 +0900)]
[Service] Debugging condole.log with ServiceMessage

There is no way to get the console message with commercial products
because Tizen SDK cannot get the 'dlog' actually.
 - 'dlog' is disabled on release firmware.

Thus, this way provides a new way to catch the console message of
service application by UI application's message port
 - local message port 'wrt.message.port'
 - message format : {'service-log' : message }

Change-Id: Ia42dbecb9daa492ffe58b4b5550d804569190232
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[Service][TV] Introduce ServiceMessage 87/272287/4 accepted/tizen/unified/20220318.020441 submit/tizen/20220316.160023
DongHyun Song [Mon, 14 Mar 2022 06:11:20 +0000 (15:11 +0900)]
[Service][TV] Introduce ServiceMessage

This introduces service message notification for DeviceHome
The case doesn't use Samsung IME, the UI app can utilize ServiceMessage
to catch propagating message from DeviceHome.
notifyServiceMessage() will give a message only to foreground application.

Change-Id: If36cb754382fc2c0f6d186c212a40c28ccf3eb9b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[Service][VD] Add mde APIs to handle remote input 63/272163/2 submit/tizen/20220311.160022
DongHyun Song [Thu, 10 Mar 2022 08:23:22 +0000 (17:23 +0900)]
[Service][VD] Add mde APIs to handle remote input

'updateRemoteInput' is an API to fill the input string at the IME
input field.

'selectRemoteInput' is an API to submit the string of IME form.

Change-Id: I2ff3f77d267e0e6e8e586485c8b590b78f96d241
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[VD]Show window for preload app in deeplink scenario 51/272151/1 submit/tizen/20220310.160027
zhaosy [Thu, 10 Mar 2022 06:53:55 +0000 (14:53 +0800)]
[VD]Show window for preload app in deeplink scenario

If app is preload, and then deeplink launch it, doesn't
call show window, so app is not showing in foreground.

Change-Id: I0c1f9eeacc06cbbc0b6332077167540185164c36
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
2 years agoMerge "[Service][VD] Add webapis.getPreviewData()" into tizen
SangYong Park [Thu, 10 Mar 2022 02:09:13 +0000 (02:09 +0000)]
Merge "[Service][VD] Add webapis.getPreviewData()" into tizen

2 years ago[Service][VD] Add webapis.getPreviewData() 62/271962/4
DongHyun Song [Fri, 4 Mar 2022 01:20:55 +0000 (10:20 +0900)]
[Service][VD] Add webapis.getPreviewData()

This provides preview tiles data for DeviceHome service.

Related chromium-efl patch:
https://review.tizen.org/gerrit/269316/

Change-Id: I2c4df503ab1791a63768bd5effdd82f99ad9fdca
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[VD] add metadata-profile.xml 30/272030/4 submit/tizen/20220309.160026
yman.son [Mon, 7 Mar 2022 06:18:01 +0000 (15:18 +0900)]
[VD] add metadata-profile.xml

Create a description of some metadata being used by the VD.
This will be managed by PLATZ system. (SE team request)

Change-Id: If9ea8c67f2aaf6db085aceef4bf7136338ab9fba
Signed-off-by: yman.son <yman.son@samsung.com>
2 years agoDisable typescript checks temporarily 97/271797/1 accepted/tizen/unified/20220301.151310 submit/tizen/20220228.183211 submit/tizen/20220228.191338 submit/tizen/20220301.160022
Surya Kumar [Tue, 1 Mar 2022 07:23:10 +0000 (12:53 +0530)]
Disable typescript checks temporarily

This change disables strict TS checks to resolve M85
SR build failures

Change-Id: I919041e13c7fbc9415d86cb0547f889a380c42f7
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years agoRevert "[HOTFIX] Skip chromium-efl revision check" 28/271728/2 submit/tizen/20220228.103024
Surya Kumar [Fri, 25 Feb 2022 11:08:22 +0000 (16:38 +0530)]
Revert "[HOTFIX] Skip chromium-efl revision check"

This reverts commit 32173918d0ebb7ac60cb0ee83b99de0f617e04f6
since fix has landed from chromium-efl side

Depends on: https://review.tizen.org/gerrit/271727

Change-Id: I6296b34fcdba68c81fe5ab5494fca8a0f52fafd6
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years ago[HOTFIX] Skip chromium-efl revision check 40/271540/2 submit/tizen/20220225.160253
Surya Kumar [Tue, 22 Feb 2022 15:59:44 +0000 (21:29 +0530)]
[HOTFIX] Skip chromium-efl revision check

Revision check is failing with latest M94 chromium-efl rpm, breaking
wrtjs rpm installation, so skipping the check temporarily

Change-Id: I909cf665e4c6abf2ee71abcdaf6b898f3cb5d679
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
2 years agoMerge "Remove WRTWindow and WRTWebContents modules" into tizen submit/tizen/20220214.160016
DongHyun Song [Fri, 11 Feb 2022 01:53:11 +0000 (01:53 +0000)]
Merge "Remove WRTWindow and WRTWebContents modules" into tizen

2 years ago[DeviceHome] Send push registration id 57/268857/7
DongHyun Song [Tue, 4 Jan 2022 03:05:15 +0000 (12:05 +0900)]
[DeviceHome] Send push registration id

Send push registration id with device info, which is given from
wrt-service-broker when push connection is established.

Change-Id: I8858983bf4f7f85072e1bd5dfa170d1f419d2f3c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[Tizen 7.0] Sync up branches from tizen_6.5 to tizen 93/270893/1
DongHyun Song [Fri, 11 Feb 2022 00:47:08 +0000 (09:47 +0900)]
[Tizen 7.0] Sync up branches from tizen_6.5 to tizen

[Service] Terminate service apps one by one
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/267413/

[Service] Support requestTrustedRemoteMessagePort
https://review.tizen.org/gerrit/#/c/platform/framework/web/wrtjs/+/267572/

Change-Id: I0ac239a8f731be00f0eabc6b01413c8b0c52362b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years agoRemove WRTWindow and WRTWebContents modules 99/270799/1 submit/tizen/20220228.174607
SangYong Park [Wed, 9 Feb 2022 06:43:06 +0000 (15:43 +0900)]
Remove WRTWindow and WRTWebContents modules

. remove unnecesary modules
. fix typescript build errors

Change-Id: I1338fbea96f612e4087dcea2e56be656063a9a60
Signed-off-by: SangYong Park <sy302.park@samsung.com>
2 years ago[VD] Correct spelling 05/267405/1 accepted/tizen/unified/20211205.214135 submit/tizen/20211203.160018
DongHyun Song [Fri, 3 Dec 2021 01:04:19 +0000 (10:04 +0900)]
[VD] Correct spelling

Suface --> Surface

Change-Id: Ic51b7a5ea3d64b284ed8c87ad8f838d62eebce45
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[DeivceHome] Remove the self signed certificates 92/266692/1 accepted/tizen/unified/20211123.015835 submit/tizen/20211117.160020
Insoon Kim [Wed, 17 Nov 2021 08:39:38 +0000 (17:39 +0900)]
[DeivceHome] Remove the self signed certificates

The self signed certificates can not be used for product and the
signaling server is also temporarily removed.

Change-Id: I6e440de977cb653c58e5973ef384f2d8a8353e63
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
2 years ago[DeivceHome] Use the path /res/wsa for tmg service app 35/266635/4 submit/tizen/20211116.160020
Youngsoo Choi [Tue, 16 Nov 2021 09:00:45 +0000 (01:00 -0800)]
[DeivceHome] Use the path /res/wsa for tmg service app

When installing wgt app, service is mounted on /res/wgt
but when installing tmg app on TV, service is mounted on /res/wsa.

Change-Id: I82a3203cd6e0a652319b7531028aa119f36c4fd3
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
2 years ago[Service] Add a service app to register device to devicehome.net 78/265978/10 accepted/tizen/unified/20211115.141638 submit/tizen/20211112.160020
Youngsoo Choi [Wed, 3 Nov 2021 05:08:47 +0000 (22:08 -0700)]
[Service] Add a service app to register device to devicehome.net

DeviceHome is running on demand on TV profile to save idle time memory usage.
The Initializer service app registers device to devicehome.net once,
before launching the DeviceHome.

The service app will be called by wrt-service-broker
only if device IP, device name, and login ID have been changed.

Change-Id: I9edb3bef2fa20070408cd71a47c3eec6e03836e2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
2 years ago[Service][VD] Add metadata for non-appdrm option 70/266170/2 submit/tizen/20211109.160021
DongHyun Song [Tue, 9 Nov 2021 00:57:29 +0000 (09:57 +0900)]
[Service][VD] Add metadata for non-appdrm option

vd-wgt-backend will check widget.license file with this option

Change-Id: I80a065250b85190d543078b7c50a72ef9c9cda20
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 years ago[VD] Show window for background execution app in deeplink scenario 87/265887/4 accepted/tizen/unified/20211104.123521 submit/tizen/20211102.160025
liwei [Mon, 1 Nov 2021 08:36:23 +0000 (16:36 +0800)]
[VD] Show window for background execution app in deeplink scenario

Now, for backexecution(http://samsung.com/tv/metadata/background.execution.support)
app, when app go background, WRT will call evas_object_hide() manually, it's a new
logic for 'add Gaming hub feature'(https://review.tizen.org/gerrit/259693/), bcz
WRT call evas_object_hide(), so appfw clear win cache data in its side, then appfw
cannot raise window(__raise_win()) while app launch by deeplink(unneed reload).
   To fix this issue, when app launched by deeplink(unneed reload) and this app config
background execution metadata, WRT will show it manually.

Change-Id: I93229016cb08314adce3ebee8a80dfba35e8ba67
Signed-off-by: liwei <wei90727.li@samsung.com>
2 years ago[Service][VD] Change timing of service mount / umount 15/265715/2 submit/tizen/20211029.160020
liwei [Wed, 27 Oct 2021 13:58:24 +0000 (21:58 +0800)]
[Service][VD] Change timing of service mount / umount

Make early mount and delay timing of service app umount,
while service app terminate, extension is cleaning up,
so delay timing of service app umount.

Change-Id: I9ba861cf52d66c3efc6ea4088348e402c20d6604
Signed-off-by: liwei <wei90727.li@samsung.com>
2 years agoMerge "Revert "[Service] Call destroy() of FunctionTemplate"" into tizen accepted/tizen/unified/20211028.122224 submit/tizen/20211026.123452 submit/tizen/20211026.160020
Bot Blink [Tue, 26 Oct 2021 06:36:18 +0000 (06:36 +0000)]
Merge "Revert "[Service] Call destroy() of FunctionTemplate"" into tizen

2 years agoRevert "[Service] Call destroy() of FunctionTemplate" 47/265647/1
wei li [Tue, 26 Oct 2021 06:19:54 +0000 (06:19 +0000)]
Revert "[Service] Call destroy() of FunctionTemplate"

This reverts commit dc19d94f302de3e48620be09b4a09e876cfeabc7.

Change-Id: Ibe9a5392d70d55425bf8cab7a6355bbd0bb26757

2 years agoMerge "[NMT] Set TV app path" into tizen submit/tizen/20211022.032550 submit/tizen/20211022.160019
Bot Blink [Fri, 22 Oct 2021 01:17:47 +0000 (01:17 +0000)]
Merge "[NMT] Set TV app path" into tizen

2 years ago[VD]changing the function related to preloading 17/265517/1 submit/tizen/20211021.160039
yman.son [Thu, 21 Oct 2021 08:13:34 +0000 (17:13 +0900)]
[VD]changing the function related to preloading

change preloaded app is not terminated by multitasking.
Policy changes to the "B.TV" app are required.

Change-Id: Idd59094bc7d4098def2f4a02b9ecef2defa1d87f
Signed-off-by: yman.son <yman.son@samsung.com>
2 years ago[NMT] Set TV app path 77/265177/4
jaekuk, lee [Tue, 12 Oct 2021 11:36:32 +0000 (20:36 +0900)]
[NMT] Set TV app path

TV apps are installed in the "/opt/usr/apps" path.
This patch set app path for TV.

Change-Id: Iec38bc5828d6d87c864f7d799435d521830a6f61
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
2 years agoMerge "[Service] Call destroy() of FunctionTemplate" into tizen submit/tizen/20211018.160022
Bot Blink [Mon, 18 Oct 2021 07:17:11 +0000 (07:17 +0000)]
Merge "[Service] Call destroy() of FunctionTemplate" into tizen

2 years ago[Service] Call destroy() of FunctionTemplate 85/265085/5
DongHyun Song [Fri, 15 Oct 2021 02:43:26 +0000 (11:43 +0900)]
[Service] Call destroy() of FunctionTemplate

FunctionTemplate(prototype) remains memory leak even though node
worker isolate is gone.

This patch calls destroy() of prototype explicitly, which is made
by gin_helper::ObjectTemplateBuilder()
 - wrt, wrt.tv, wrt.mde, wrt.security, wrt.edge, xwalk

Related patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/264969/

Change-Id: I0cfea24bd0bcec64012f493e3e8bca565fc4f073
Signed-off-by: DongHyun Song <dh81.song@samsung.com>