platform/framework/web/wrtjs.git
9 days agoMerge "[M130 Migration]Skip preload if app has been launched before" into tizen accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250613.092059 accepted/tizen/unified/x/20250613.100727
DongHyun Song [Thu, 5 Jun 2025 01:27:14 +0000 (01:27 +0000)]
Merge "[M130 Migration]Skip preload if app has been launched before" into tizen

2 weeks agoRemove clear surface related code 50/324850/2
zhaosy [Wed, 28 May 2025 02:19:50 +0000 (10:19 +0800)]
Remove clear surface related code

Clear surface is not supported from M108, so remove this unused code

Refer to:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/324851

Change-Id: I7482219ac19bffd329a57bcca3921bcbfb19e59c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
2 weeks ago[WRTjs][Service] Remove the built-in service 59/324759/2
Chunling Ye [Mon, 26 May 2025 03:04:25 +0000 (11:04 +0800)]
[WRTjs][Service] Remove the built-in service

wrt related patch:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/324760

Change-Id: I307168a0d1930a92f2872f0f47674e6d5624de5f
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
3 weeks ago[M130 Migration]Skip preload if app has been launched before 32/324632/2
liwei90727 [Thu, 22 May 2025 03:30:08 +0000 (11:30 +0800)]
[M130 Migration]Skip preload if app has been launched before

In normal case, LWAS and LWAS will skip to request  preload app if
app is running, but in a rare case(DF250422-00746), A module launch
app, B preload this app, at that time, app is not running in first
launch, then when WRT get request from B, just launch app directly.

In WRT, we just get preload status in app first launch, so need change
to meet the scenario that app has been launched, but other module request
preload, WRT need skip it.

Related Patch:
https://review.tizen.org/gerrit/c/platform/framework/web/wrtjs/+/323599

Change-Id: I18c8687c18f45017b125d5531606e8fd453a9ae7
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
8 weeks agoMerge "[M130 Migration][WRTjs][Service] Return the callbackid for addMessagePortListe...
wei li [Tue, 15 Apr 2025 13:56:17 +0000 (13:56 +0000)]
Merge "[M130 Migration][WRTjs][Service] Return the callbackid for addMessagePortListener" into tizen

8 weeks ago[M130 Migration][WRTjs][Service] Return the callbackid for addMessagePortListener 14/322714/1
zhaosy [Tue, 15 Apr 2025 01:44:13 +0000 (09:44 +0800)]
[M130 Migration][WRTjs][Service] Return the callbackid for addMessagePortListener

1.Fix port not found issue when service app do messageport
removeMessagePortListener.
2.Add debug log for refineFilesystemApis

Refer to:
https://review.tizen.org/gerrit/c/platform/framework/web/wrtjs/+/320142
https://review.tizen.org/gerrit/c/platform/framework/web/wrtjs/+/318291

Change-Id: I1b5778fcfffdbbddcdda6694d95d1eb86114fc95
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
2 months ago[M130 Migration][VD] Web serial support 75/322675/1
zhaosy [Mon, 14 Apr 2025 09:38:21 +0000 (17:38 +0800)]
[M130 Migration][VD] Web serial support

 - Receive and implement events sent by chromium - electron
   - add "select-serial-port" event listener
   - add "select-serial-port-response" event listener
   - add "serial-port-added" event listener
   - add "serial-port-removed" event listener
 - Implement method used by electron for serial permissions
   - setPermissionCheckHandler and setDevicePermissionHandler

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

Refer to:
https://review.tizen.org/gerrit/c/platform/framework/web/wrtjs/+/319816

Change-Id: I8429fcb76eb3c31dc480733b57402fcedd04bed4
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
6 months ago[WRTjs][VD] Support skip inspector popup 54/315554/1 submit/tizen/20241203.160021
zhaosy [Tue, 19 Nov 2024 10:32:34 +0000 (18:32 +0800)]
[WRTjs][VD] Support skip inspector popup

In b2b product, sometimes, developer don't want to show inspector popup
in RWI case, so support skip inspector popup.

How to skip inspector popup:
1) Launch AppInfoViewer(mute + 1 + 2 + 2 + 6 + exit)
2) Select DebugInfo
3) Press UP-UP-DOWN-DOWN-LEFT-RIGHT-LEFT-RIGHT
4) Select On option

Refer to :
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/320893/

Change-Id: I16978171596fbce827716abe248ff3e1cbe26f86
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
7 months ago[VD] Don't show app if preload app is not ready 30/319530/1 accepted/tizen/unified/20241031.084343 accepted/tizen/unified/20241101.174128 accepted/tizen/unified/x/20241218.032603 submit/tizen/20241029.160027
zhaosy [Fri, 25 Oct 2024 05:26:36 +0000 (13:26 +0800)]
[VD] Don't show app if preload app is not ready

For ConnectTime app, when there is a video calling coming,
they will preload app, and when user connect the call,
they launch app, if the interval too short between perload and launch,
js still is not running when app is showing, but WRT has sent tizenvisibilitychange.
So app can't receive tizenvisibilitychange event.

Thus, if preload app is not ready, shouldn't show app.

Change-Id: I3838a1acf9e7f59d4d339e92c4417d13b1c6e363
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
7 months agoAdd log in sendAppControlEvent 45/319145/1 submit/tizen/20241016.160024
zhaosy [Wed, 16 Oct 2024 06:11:17 +0000 (14:11 +0800)]
Add log in sendAppControlEvent

Sometimes, it's hard to check whether wrtjs send app control event,
so add log in sendAppControlEvent function.

Change-Id: I15707d9933245445e76277bd4c05512efe75c01b
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
8 months agoSupport screen capture functionality in wrt js 09/318109/2 submit/tizen/20241007.160045
Michal Jurkiewicz [Mon, 23 Sep 2024 12:55:45 +0000 (14:55 +0200)]
Support screen capture functionality in wrt js

Handle permission request for `display-capture`

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-561
Change-Id: Id1843c04c5d358b3869bb80de45eaa815a7c9a42
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
8 months agoMerge "Fix security issues by node modules" into tizen accepted/tizen_9.0_unified accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan accepted/tizen/9.0/unified/20241030.234546 accepted/tizen/unified/20240924.153243 accepted/tizen/unified/toolchain/20241004.101527 accepted/tizen/unified/x/20240925.015924 accepted/tizen/unified/x/asan/20241013.235845 submit/tizen/20240923.161443 tizen_9.0_m2_release
SangYong Park [Sun, 22 Sep 2024 22:08:19 +0000 (22:08 +0000)]
Merge "Fix security issues by node modules" into tizen

9 months agoMerge "[VD] Enable wrt-loader in LFD Product" into tizen submit/tizen/20240912.160028
wei li [Thu, 12 Sep 2024 09:52:36 +0000 (09:52 +0000)]
Merge "[VD] Enable wrt-loader in LFD Product" into tizen

9 months ago[VD] Enable wrt-loader in LFD Product 05/317505/1
liwei90727 [Wed, 11 Sep 2024 06:01:11 +0000 (14:01 +0800)]
[VD] Enable wrt-loader in LFD Product

Without wrt-loader, app performance will be effected,
so decide to enable wrt-loader in LFD product.

Change-Id: Ic3754e1826add070a8dcd94494291472a22a507d
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
9 months agoFix security issues by node modules 22/317422/2
SangYong Park [Tue, 10 Sep 2024 04:39:58 +0000 (13:39 +0900)]
Fix security issues by node modules

Update node modules
. @types/node@22.5.4
. ts-loader@9.5.1
. typescript@5.6.2
. webpack@5.94.0
. webpack-cli@5.1.4

Change-Id: I4ad208b2e476157a0f003cad89ea717ed51b8f17
Signed-off-by: SangYong Park <sy302.park@samsung.com>
9 months ago[VD] Remove low memory limitation for wrt-loader launch 10/317410/1
liwei90727 [Tue, 10 Sep 2024 03:43:59 +0000 (11:43 +0800)]
[VD] Remove low memory limitation for wrt-loader launch

In low end board(ex. RoseSF board), low memory is easy to happen,
and app perforamnce is out of spec without wrt-loader, so remove
'OUT_OF_MEMORY' limitation for wrt-loader.

Change-Id: Iecb3a0bdf1264404511689c07b4a2cff6ffd2726
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
9 months ago[VD] Support send appcontrol event to app every time 14/316714/1 submit/tizen/20240827.160029
liwei90727 [Tue, 27 Aug 2024 07:01:35 +0000 (15:01 +0800)]
[VD] Support send appcontrol event to app every time

In current logic, in some cases WRT doesn't send appcontrol
event to app, so add a new metadata for app, then support
to send appcontrol event every time.

Change-Id: I5be033772a3b43ccd510133c5876a0836fa4b421
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
10 months agoMerge "Prevent unnecessary xwalk extension loading for UI service" into tizen submit/tizen/20240801.160028
SangYong Park [Thu, 1 Aug 2024 07:44:58 +0000 (07:44 +0000)]
Merge "Prevent unnecessary xwalk extension loading for UI service" into tizen

10 months agoLoad plugins_aarch64.json for riscv64 12/315312/1 submit/tizen/20240730.160031
xiafeng [Tue, 30 Jul 2024 05:54:06 +0000 (13:54 +0800)]
Load plugins_aarch64.json for riscv64

Change-Id: Iffad78e3410345f5561c83930fe9498b8629da6b
Signed-off-by: xiafeng <feng.xia@samsung.com>
10 months agoPrevent unnecessary xwalk extension loading for UI service 06/314606/2
SangYong Park [Tue, 16 Jul 2024 06:24:34 +0000 (15:24 +0900)]
Prevent unnecessary xwalk extension loading for UI service

Remove xwalk extension loading in main thread if UI service is launched.

Change-Id: I122de3061759cf1c00bd2d93dc2d8ae46aff5367
Signed-off-by: SangYong Park <sy302.park@samsung.com>
10 months agoFix service app launch fail for use extension before initialize 86/314686/1 submit/tizen/20240718.160027
Chunling Ye [Wed, 17 Jul 2024 09:48:16 +0000 (17:48 +0800)]
Fix service app launch fail for use extension before initialize

In wrtjs patch https://review.tizen.org/gerrit/313614/, move the
new DeviceAPIRouter befroe the XWalkExtension.initialize, but in
new DeviceAPIRouter will use the extensions, so this change lead
many undefined js error.

Now move new DeviceAPIRouter logic behind XWalkExtension.initialize.

Change-Id: Icf7b898777789de2536b18236e4f792360c0fe51
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
11 months agoFix ui service launching issue 14/313614/1 submit/tizen/20240704.160117
SangYong Park [Fri, 28 Jun 2024 07:42:25 +0000 (16:42 +0900)]
Fix ui service launching issue

Prevent code execution for global service during launching ui service

Change-Id: I8e1dac51f6ce23d9466108601fae77a814bb3872
Signed-off-by: SangYong Park <sy302.park@samsung.com>
11 months agoRemove 500ms timer when requestStopService 48/313248/1 submit/tizen/20240621.160024
Chunling Ye [Thu, 20 Jun 2024 09:35:32 +0000 (17:35 +0800)]
Remove 500ms timer when requestStopService

Fix issue when have requestStopService, but for 500ms timer, durning
this time this app relaunch agian, worker will wake up, but
after 500ms, service app will been stop, so the second time launch
work is not finish.

When really terminateWorker also will have 500ms delay, remove this
delay timer seems has no effect.

Change-Id: I81ead85152ea0851d93dc399069c5c215865ad1a
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
12 months ago[VD] Update gbs.conf.in for Tizen 9.0 90/312590/1 submit/tizen/20240612.160028
zhaosy [Wed, 12 Jun 2024 03:31:37 +0000 (11:31 +0800)]
[VD] Update gbs.conf.in for Tizen 9.0

Update repositories for Tizen 9.0

Change-Id: I7a68f2be1afd3969c25bebe74f9970063f5fbc01
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
13 months ago[WRTjs][Service] Call finalizeService after service app's worker deleted 55/309855/5 submit/tizen/20240513.160027
Chunling Ye [Wed, 17 Apr 2024 10:07:48 +0000 (18:07 +0800)]
[WRTjs][Service] Call finalizeService after service app's worker deleted

Have relationship with patch:
https://review.tizen.org/gerrit/309848

Change-Id: Ic1afb2cabc4ac60c76212b7c90c1d7084fef143b
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
18 months agoRevert "Add privilege check for fullscreen request" 97/302097/1 submit/tizen/20231130.160026
DongHyun Song [Thu, 30 Nov 2023 07:42:36 +0000 (07:42 +0000)]
Revert "Add privilege check for fullscreen request"

This reverts commit 4d98af15a6f3630ff0a537e27990fb217aa75421.

Change-Id: Iec5a5c7dca97161a3108d1e5bcd17101c2210cb0

18 months agoAdd privilege check for fullscreen request 17/302017/3
DongHyun Song [Wed, 29 Nov 2023 13:33:37 +0000 (22:33 +0900)]
Add privilege check for fullscreen request

Add fullscreen privilege check.

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

Change-Id: Ic48be84b97bedfa97abb8ae19811cc5106e19395
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
19 months agoRevert "[HOTFIX] Disable wrt-loader for non TV profiles" 19/300319/1 submit/tizen/20231023.160023
Koyyani Maheswari [Tue, 17 Oct 2023 09:21:32 +0000 (14:51 +0530)]
Revert "[HOTFIX] Disable wrt-loader for non TV profiles"

This reverts commit bedd9758ce89eb8183148c6abf8a96449f0db071.

Change-Id: I0045d9e74ffcc898c5e404daef9901e36651794d

20 months agoMerge "Move last window to top when original window close" into tizen submit/tizen/20231013.160023
DongHyun Song [Fri, 13 Oct 2023 08:10:22 +0000 (08:10 +0000)]
Merge "Move last window to top when original window close" into tizen

20 months agoMerge "[VD] Change ON_BOOT_TIMEOUT from 1500 to 500" into tizen submit/tizen/20231011.160141
DongHyun Song [Wed, 11 Oct 2023 08:28:14 +0000 (08:28 +0000)]
Merge "[VD] Change ON_BOOT_TIMEOUT from 1500 to 500" into tizen

20 months agoMove last window to top when original window close 98/299798/2
liwei90727 [Tue, 10 Oct 2023 09:44:34 +0000 (17:44 +0800)]
Move last window to top when original window close

App call window.open() to create more window, we will
show last window, but if we call show(), visibility_status_
is true, then WRTNativeWindow:Show() will return directly, so
use MoveTop() instead, then app focus will be set again, it's
necessary in Aura window.

Native Side:
https://review.tizen.org/gerrit/299800/

Change-Id: I2f9dac220beadd501e895f65ba6cae36c956ccca
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
20 months agoModify window show logic 44/299744/2
liwei90727 [Mon, 9 Oct 2023 10:28:59 +0000 (18:28 +0800)]
Modify window show logic

If window size is 1, then show main window, if window
size >2, show last window, it's more reasonable.

Change-Id: Iac1b48b5cb144d420357d09c5dba820a89f967da
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
20 months ago[VD] Change ON_BOOT_TIMEOUT from 1500 to 500 09/299609/2
DongHyun Song [Thu, 5 Oct 2023 08:49:55 +0000 (17:49 +0900)]
[VD] Change ON_BOOT_TIMEOUT from 1500 to 500

Recently performance racing has been more heavy than on cold boot
time, so wrt-loader ready is delayed then before.

With chromium-efl.img direct mount solution, this patch makes
wrt-loader preparation more early.

Direct mount patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299243/

Change-Id: I3480da937b4323bea12a52595f9f520c829c7938
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
20 months agoFix RWI is not working issue for HostedApp 90/299290/1 submit/tizen/20230925.160023
zhaosy [Mon, 25 Sep 2023 07:57:47 +0000 (15:57 +0800)]
Fix RWI is not working issue for HostedApp

If launch HostedApp by command "app_launcher -w -s app_id"(AppFW add
(key:__AUL_DEBUG__, value:1) to appControl), launchInspectorIfNeeded
is not called because HostedApp has loaded url before app control event,
which causes command is blocked and debugPort is not created.

So call launchInspectorIfNeeded in this case.

Change-Id: Ief5d0be1ae07c3c077f95bcf5daa88e33313a0ab
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
20 months agoExclusive StartService when 2 apps are racing 16/298616/5 submit/tizen/20230922.160024
DongHyun Song [Mon, 11 Sep 2023 14:19:55 +0000 (23:19 +0900)]
Exclusive StartService when 2 apps are racing

2 or more service apps are simultaneously running, there have been
some race condition issues.
 - crash, smack error

So, it needs to run service apps exclusively on the start()
function basis.

If previous app's start() is not done yet, then new request app
will be defered until done.

Change-Id: I6be232cb872e7edb074ffd8c7f1ac5f243333c11
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
21 months agoMerge "[VD]exception handling when a cert error occurs during appbooting" into tizen accepted/tizen_unified_dev accepted/tizen/unified/20231030.145727 accepted/tizen/unified/dev/20240620.010437 submit/tizen/20230907.160022
DongHyun Song [Thu, 7 Sep 2023 02:10:35 +0000 (02:10 +0000)]
Merge "[VD]exception handling when a cert error occurs during appbooting" into tizen

22 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>
22 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>
22 months ago[VD]exception handling when a cert error occurs during appbooting 48/296148/1
yman.son [Thu, 20 Jul 2023 11:38:13 +0000 (20:38 +0900)]
[VD]exception handling when a cert error occurs during appbooting

Exception handling for cert errors that may occur
because time is not set in the AppBooting scenario.

Shutdown the app in case of an exception.

Change-Id: I22473444ed5cabc8e337635ecc324096c377f1f5
Signed-off-by: yman.son <yman.son@samsung.com>
23 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>
23 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

23 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>
2 years 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)

2 years 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>
2 years 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>
2 years 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>
2 years 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)

2 years 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

2 years 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>
2 years 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)

2 years 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)

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 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>
3 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>
3 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>
3 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

3 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

3 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>
3 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

3 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>
3 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>
3 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>