platform/framework/web/wrtjs.git
3 years ago[Service] Apply sendSyncMessageWith* API 77/263177/4
DongHyun Song [Fri, 27 Aug 2021 07:54:55 +0000 (16:54 +0900)]
[Service] Apply sendSyncMessageWith* API

To maintain consistency of xwalk extension interface, this also
apply sendSyncMessageWith* functions.
Without this patch there might be runtime JS exception due to webapi's
prototype validation logic.

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

Change-Id: Id7d755e7597cd8c4b176df01c3b92c3e6d0a9e98
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[Service] Fix JS exception of UI type service" into tizen submit/tizen/20210827.011519 submit/tizen/20210827.160022
Bot Blink [Thu, 26 Aug 2021 22:26:55 +0000 (22:26 +0000)]
Merge "[Service] Fix JS exception of UI type service" into tizen

3 years ago[Service] Fix JS exception of UI type service 65/263065/2
DongHyun Song [Wed, 25 Aug 2021 08:37:31 +0000 (17:37 +0900)]
[Service] Fix JS exception of UI type service

1) correct 'service_manager' path
2) ignore unnecessary logic for UI type

Change-Id: I23c4c15630d455c620a8593ddffc5bac550a46fd
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[SignalingServer] Run on booting time" into tizen submit/tizen/20210826.160021
Bot Blink [Wed, 25 Aug 2021 04:03:36 +0000 (04:03 +0000)]
Merge "[SignalingServer] Run on booting time" into tizen

3 years ago[SignalingServer] Run on booting time 42/263042/1
Hunseop Jeong [Wed, 25 Aug 2021 03:35:59 +0000 (12:35 +0900)]
[SignalingServer] Run on booting time

Enable the on-boot option to run the signaling server
at booting time to handle client requests.

Change-Id: I9a6a5c2bdac3bb9c69fa373b2c5fd43218ae0dd1
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
3 years ago[SignalingServer] Upgrade signaling server as v0.4.1 26/263026/1
Hunseop Jeong [Wed, 25 Aug 2021 00:29:43 +0000 (09:29 +0900)]
[SignalingServer] Upgrade signaling server as v0.4.1

Release Note:
https://github.sec.samsung.net/HighPerformanceWeb/offload.js/releases/tag/0.4.1

Change-Id: Ibba174c8fc641a34d53e7f93d8fb5ec761c55620
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
3 years agoMerge "[DeviceHome] Upgrade to v1.0.7" into tizen accepted/tizen/unified/20210825.065603 submit/tizen/20210823.004918 submit/tizen/20210823.160021
Bot Blink [Mon, 23 Aug 2021 00:41:57 +0000 (00:41 +0000)]
Merge "[DeviceHome] Upgrade to v1.0.7" into tizen

3 years ago[DeviceHome] Upgrade to v1.0.7 62/262862/3
Youngsoo Choi [Sun, 22 Aug 2021 22:35:31 +0000 (15:35 -0700)]
[DeviceHome] Upgrade to v1.0.7

- Support webclip based on TAU webclip cards
- Kill host app when there's no remote client
- Fix some bugs related to package ID

Change-Id: I9de3f7141134863eb3aa972357ba54bbbb12b001
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Use smack privilege while calling device API 30/262730/5
Youngsoo Choi [Wed, 18 Aug 2021 22:20:59 +0000 (15:20 -0700)]
[Service] Use smack privilege while calling device API

Web service app thread couldn't have its own smack app label on it.
Thus, web service f/w has used an access control module,
checking the app thread privilege by device API unit.

Recently, web service f/w ended up granting smack app label
on the web service app thread. So, the app privilege can be handled by
smack control and the access control module isn't needed anymore.

Change-Id: Iea55811f129b5a126c69c260cecb948dcbf40ca7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Relay message-port via launcher 95/262495/4 submit/tizen/20210818.160021
DongHyun Song [Thu, 12 Aug 2021 05:29:40 +0000 (14:29 +0900)]
[Service] Relay message-port via launcher

When service app makes local message-port, the message-port is
managed with 'app_id' + 'port_name'.
But, because 'app_id' is 'org.tizen.chromium-efl.wrt.service' by
AUL API, external app cannot send the message due to not-found port.

This patch will create message-port listener with proper 'app_id'
on launcher process to relay messages.

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

Change-Id: I3387b2d4d8c0ce5fb376bfcde375f34aed9538b6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[TV][DeviceHome] Run on booting time 08/262508/2 submit/tizen/20210812.160019
Youngsoo Choi [Thu, 12 Aug 2021 08:12:06 +0000 (01:12 -0700)]
[TV][DeviceHome] Run on booting time

Device home needs to be run on booting time to handle remote device requests.
To do that, the device home package needs platform level signing.

Change-Id: I58fc560bcad9166cbcac5b35903a2effac635f09
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Public][DeviceHome] Run on booting time 65/262365/10 accepted/tizen/unified/20210812.131700 submit/tizen/20210812.013703 submit/tizen/20210812.041911
Youngsoo Choi [Mon, 9 Aug 2021 06:47:24 +0000 (23:47 -0700)]
[Public][DeviceHome] Run on booting time

Device home needs to be run on booting time to handle remote device requests.
To do that, the device home package needs platform level signing.

Also, unused bin folders are removed.

Change-Id: Ibc2c46f35da395034f5ab563888e1dc14719000e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[DeviceHome] Upgrade to v1.0.6 71/262171/4 accepted/tizen/unified/20210804.043635 accepted/tizen/unified/20210804.043636 submit/tizen/20210803.160020 submit/tizen/20210803.230135
Youngsoo Choi [Tue, 3 Aug 2021 08:49:22 +0000 (01:49 -0700)]
[DeviceHome] Upgrade to v1.0.6

- Support message port communication between device home and web app
  instead of web socket to prevent smack security vulnerabilities
- Support emulator connection with device home

Change-Id: Ia23f954a8b2c5a6020490a3b8c47ae2120b56bb4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agoMerge "[DeviceHome] Apply wgt installation" into tizen
Bot Blink [Tue, 3 Aug 2021 08:49:01 +0000 (08:49 +0000)]
Merge "[DeviceHome] Apply wgt installation" into tizen

3 years ago[DeviceHome] Apply wgt installation 84/261984/13
DongHyun Song [Fri, 30 Jul 2021 04:00:41 +0000 (13:00 +0900)]
[DeviceHome] Apply wgt installation

Apply wgt installation to move the app from RO to RW and easy
wgt installation by rpm.

Change-Id: I8908539eaf4abb0ecd4bd9be65f995f840b263b8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service][AppManifest] Fix issue of making unique app id 19/261719/1 submit/tizen/20210802.160020
DongHyun Song [Fri, 23 Jul 2021 07:02:09 +0000 (16:02 +0900)]
[Service][AppManifest] Fix issue of making unique app id

start with https://, first 10 bytes are almost same string with
base64 encoded.
Then, cut 10 bytes from its tail.

Change-Id: I8a73f19dd47a4ca45f8c249e8e6822810579d9f6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[VD] Fix build error of appmanifest_loader.ts 14/261714/2 accepted/tizen/unified/20210728.090629 submit/tizen/20210723.160020
DongHyun Song [Fri, 23 Jul 2021 06:20:22 +0000 (15:20 +0900)]
[VD] Fix build error of appmanifest_loader.ts

make any type to skip checking declaration.

Change-Id: Ie11b0671a13bc7aff21a22f960aaecc41445ed1d
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[VD] Move notifyInstall() to TVExtension 91/261491/3 submit/tizen/20210722.160020
DongHyun Song [Tue, 20 Jul 2021 05:08:26 +0000 (14:08 +0900)]
[VD] Move notifyInstall() to TVExtension

Move notifyInstall() to TVExtension

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

Change-Id: I29b1297e49117b855efb0c86eeea9f1df5abe93c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service][AppManifest] Fix start url concatination 91/261391/2 submit/tizen/20210719.160022
DongHyun Song [Fri, 16 Jul 2021 08:56:04 +0000 (17:56 +0900)]
[Service][AppManifest] Fix start url concatination

Make correct URL with relative path.

Change-Id: I27a96c40e21d5b0fb6393b224e0414f542514546
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service][AppManifest] Fix pkgid length and refactor 67/261367/2 submit/tizen/20210716.160022
DongHyun Song [Fri, 16 Jul 2021 03:53:04 +0000 (12:53 +0900)]
[Service][AppManifest] Fix pkgid length and refactor

Make pkgid length 10 bytes.

Change-Id: I8f2423dc18721ecb9b48c1e9756180854eee73cd
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service][appmanifest] Fix app id 44/256744/5
DongHyun Song [Mon, 12 Apr 2021 07:33:52 +0000 (16:33 +0900)]
[Service][appmanifest] Fix app id

Making same app id by its URL, otherwise duplicate apps cane be
created.

Change-Id: I99cebbfff38c191364ab18f1d9cd8709fef108b0
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Add wrt.setServiceAppId() 58/261258/4 submit/tizen/20210715.160020
DongHyun, Song [Wed, 14 Jul 2021 04:57:53 +0000 (13:57 +0900)]
[Service] Add wrt.setServiceAppId()

To set app id by tid base, calls wrt.setServiceAppId() at first.

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

Change-Id: Idc38d5b179fe71fdc264564e03aaf4a432bf2a87
Signed-off-by: DongHyun, Song <dh81.song@samsung.com>
3 years agoMerge "[Service][Builtin] Notify WAS module install app" into tizen submit/tizen/20210714.160021
Bot Blink [Wed, 14 Jul 2021 00:00:15 +0000 (00:00 +0000)]
Merge "[Service][Builtin] Notify WAS module install app" into tizen

3 years ago[Service][Builtin] Notify WAS module install app 65/260965/3
liwei [Wed, 7 Jul 2021 12:39:37 +0000 (20:39 +0800)]
[Service][Builtin] Notify WAS module install app

This built-in service support W3C AppManifest
installation, notify webappservice module to
install app, then this app can be shown in
apps store.

Native side patch
https://review.tizen.org/gerrit/260966/

Change-Id: If9d0d476a49916be5ff6e0ff6f85485ceaeb3466
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years ago[Service] Fix virtual path issue 74/261174/2 submit/tizen/20210713.160029
Dong Hyun, Song [Tue, 13 Jul 2021 02:10:29 +0000 (11:10 +0900)]
[Service] Fix virtual path issue

Remove optional chaining.
getter was disabled by webapis side.

Change-Id: Ia619f6ca6b933e686f3444afe2243c284a1e8768
Signed-off-by: Dong Hyun, Song <dh81.song@samsung.com>
3 years ago[Service] Move service files to service/ folder 27/260927/4 submit/tizen/20210708.160020
DongHyun Song [Wed, 7 Jul 2021 05:02:54 +0000 (14:02 +0900)]
[Service] Move service files to service/ folder

It is more proper that service*.ts are placed in service/ directory.

Change-Id: I5bd14d66d3196e4a1e32dd5af8b07eb68035ba26
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Change a way to apply virtual path 44/260944/4
DongHyun Song [Wed, 7 Jul 2021 08:53:21 +0000 (17:53 +0900)]
[Service] Change a way to apply virtual path

Not only tizen.filesystem, File object of webapis can use virtual
path. But wrtjs side cannot access File object prototype directly

Thus, basically, if we can change virtual path map in webapis side,
that is best solution.

Reference:
https://review.tizen.org/gerrit/#/c/platform/core/api/webapi-plugins/+/260943/2

Change-Id: I858ebe853ddd719515dc30616f8f92d8ba91ace1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[VideoSplash] Fix focus issue of VSS and refactors" into tizen submit/tizen/20210706.160021
Bot Blink [Tue, 6 Jul 2021 01:35:26 +0000 (01:35 +0000)]
Merge "[VideoSplash] Fix focus issue of VSS and refactors" into tizen

3 years ago[Service][Workaround] Make singleton worker thread before app start 81/259281/11 accepted/tizen/unified/20210702.013502 submit/tizen/20210630.160022
DongHyun Song [Fri, 4 Jun 2021 02:32:21 +0000 (11:32 +0900)]
[Service][Workaround] Make singleton worker thread before app start

This patch will make singleton webapi worker thread ahead of app
launching to keep it 'User' smack label.
There are lots usage of putting message at singleton worker thread by
 - TaskQueue::GetInstance().Queue()
 - TaskQueue::GetInstance().Async()

tizen.systeminfo.getPropertyValue() is one of API to use TaskQueue
singleton instance.

+ remove unnecessary log

Related patch of filesystem webapi worker issue:
https://review.tizen.org/gerrit/#/c/platform/core/api/webapi-plugins/+/259382/

Change-Id: I7e0abe5e93335d2798bc388f22a88aff754d8d2b
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[VideoSplash] Fix focus issue of VSS and refactors 87/259987/10
DongHyun Song [Fri, 25 Jun 2021 05:38:55 +0000 (14:38 +0900)]
[VideoSplash] Fix focus issue of VSS and refactors

[PROBLEM] Before the update to VSS's player, the WRT.js could
          call WRT.hideSplashScreen(...), with one window show
          (after 'ready-to-show').

          With VSS player reacting to focus steal, now showing
          the window will result in premature playback stop.

[SOLUTION] With change in WRT interface in libchromium the
           WebApplication can now check, if the reason for
           hiding was valid.

           Side effect is, if the RENDERED was not a valid reason
           to hide a window, the window is not shown at any other
           event. The additional show() is therefore added to
           LOADFINISHED and CUSTOM (VIDEOFINISHED and CUSTOM's
           show() is already in the Chromium patch).

NOTE: part of this change was provided in Chromium project as change
[259340][1]. To have current change compile, you either have to have
chromium RPM with its change, or -- after first unsuccessfull build --
go to your GBS scratch area, into /usr/include/wrt/ and edit the
native_wrtjs.d.ts to have WRT.hideSplashScreen method return `boolean`.

[1]: https://review.tizen.org/gerrit/c/259340

Change-Id: Id63f6b4192cdc9da8da1e4ff0296f11bc15b10b3
Bug-Id: https://cam.sprc.samsung.pl/browse/WPMEDMAIN-2915
Signed-off-by: Marcin Zdun <m.zdun@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Tizen6.5 Migration]Skip logic of check firstrender in resume 18/260418/1 submit/tizen/20210625.160020
liwei [Thu, 24 Jun 2021 10:07:43 +0000 (18:07 +0800)]
[Tizen6.5 Migration]Skip logic of check firstrender in resume

Resume() is invoked after window show, and window show is
called in "ready-to-show", in "ready-to-show" event,
firstrender has been set to true, so check firstrender
logic can be skipped in resume.

Reference Patch:
https://review.tizen.org/gerrit/260240/

Change-Id: If8be2926596965e75fe2324a87f4a2ccd0de084f
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agoMerge "Fix an error of 'Object has been destroyed'" into tizen submit/tizen/20210623.160022 submit/tizen/20210624.223753 submit/tizen/20210625.160011
Bot Blink [Wed, 23 Jun 2021 07:27:34 +0000 (07:27 +0000)]
Merge "Fix an error of 'Object has been destroyed'" into tizen

3 years agoMerge "[Service] Upgrade device home as v1.0.5" into tizen submit/tizen/20210623.071537
Bot Blink [Wed, 23 Jun 2021 07:22:56 +0000 (07:22 +0000)]
Merge "[Service] Upgrade device home as v1.0.5" into tizen

3 years agoFix an error of 'Object has been destroyed' 71/260271/5
DongHyun Song [Wed, 23 Jun 2021 02:21:55 +0000 (11:21 +0900)]
Fix an error of 'Object has been destroyed'

When app is terminate by SIGTERM or tizen.application...exit(),
There comes a TypeError 'Object has been destroyed'

suspend() will be called again on quit() for backgroun-runnable
apps, but since this.mainWindow can be already destroyed, below
code can throw exception with destroyed object 'this.mainWindow'
 - addonManager.emit('lcSuspend', this.mainWindow.id);

It is enough to call setEnable() for suspending (if window is alive)

Change-Id: Ie2e99cf74ca412902e4456901dc8350f038e3067
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Upgrade device home as v1.0.5 63/259963/9
Youngsoo Choi [Thu, 17 Jun 2021 04:01:39 +0000 (21:01 -0700)]
[Service] Upgrade device home as v1.0.5

- Use RSA cryptography for data payload under websocket connection
- Share RSA keys between express and websocket via session middleware
- Replace ws with socket.io which has been used by offload.js
- Use timestamp salt for every ReST API request
- Don't use insecure Math.random()

Change-Id: I88db4aeff042540ba69d1df5b69a518b28e2d1fe
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Migration] Fix finalize code 53/260053/1 submit/tizen/20210618.160021
SangYong Park [Wed, 16 Jun 2021 08:26:12 +0000 (17:26 +0900)]
[Migration] Fix finalize code

'quit' of app and 'closed' of BrowserWindow emit order is changed.
so, fix code that has dependency to remained BrowserWindow.

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

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

Change-Id: Ib988f230822c94becbf1d735f82fe85b22250f66
Signed-off-by: SangYong Park <sy302.park@samsung.com>
3 years agoMerge "[VD] add Gaming hub feature" into tizen submit/tizen/20210616.160021
Bot Blink [Wed, 16 Jun 2021 07:15:55 +0000 (07:15 +0000)]
Merge "[VD] add Gaming hub feature" into tizen

3 years ago[VD] add Gaming hub feature 90/259690/5
yman.son [Fri, 11 Jun 2021 06:10:01 +0000 (15:10 +0900)]
[VD] add Gaming hub feature

In the gaming hub panel,
there is a scenario where webapp plays sound after background launch.
Also, it should be possible to switch to UI mode.
At this time, must support multitasking unconditionally.

Add three fetures to support this.
1. Transition of FG and BG through Appcontrol
2. disable multitasking feature according to special App Control.
3. window's hide is required for Appcontrol BG transition. (change WebEngine code)

Change-Id: If6760ab87ece3966599cab5f393d043467b39187
Signed-off-by: yman.son <yman.son@samsung.com>
3 years ago[VD]Add the deactivation method to all wrt.loader on TV 31/259831/2
yman.son [Tue, 15 Jun 2021 10:01:20 +0000 (19:01 +0900)]
[VD]Add the deactivation method to all wrt.loader on TV

Disable wrt-loader in low memory state.
performance analysis team's requests.(ckid.chae)

Change-Id: I34bcb9938cd8672d0bdcf159f9cae10abeec6c4b
Signed-off-by: yman.son <yman.son@samsung.com>
3 years ago[Addon] nodeIntegrationInSubFrames support. 37/259437/2 submit/tizen/20210614.160020
Aron Kim [Tue, 8 Jun 2021 04:21:54 +0000 (13:21 +0900)]
[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 <aron.kim@samsung.com>
3 years ago[Addon] send api support. 39/259039/2 accepted/tizen/unified/20210607.124319 submit/tizen/20210607.012956 submit/tizen/20210607.160021
Aron Kim [Mon, 31 May 2021 08:01:10 +0000 (17:01 +0900)]
[Addon] send api support.

Add electron api, which is not supported in wrtjs,
and support to be used as addon api

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

Change-Id: I49d001eb4492c3c9a5412fb192b4ffd414a4c564
Signed-off-by: Aron Kim <aron.kim@samsung.com>
3 years agoMerge "[Service] Reset tizen.application.getCurrentApplication().appInfo" into tizen submit/tizen/20210602.160020
Bot Blink [Wed, 2 Jun 2021 04:01:13 +0000 (04:01 +0000)]
Merge "[Service] Reset tizen.application.getCurrentApplication().appInfo" into tizen

3 years ago[Addon] executeJavaScript api support. 99/254599/4 submit/tizen/20210531.160021
Aron Kim [Fri, 5 Mar 2021 05:04:32 +0000 (14:04 +0900)]
[Addon] executeJavaScript api support.

Add electron api, which is not supported in wrtjs,
and support to be used as addon api

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

Change-Id: Ibf98dc36643de538a0656f876e67e4e8dc6f1edf
Signed-off-by: Aron Kim <aron.kim@samsung.com>
3 years ago[Service] Reset tizen.application.getCurrentApplication().appInfo 62/258962/3
liwei [Fri, 28 May 2021 08:34:22 +0000 (16:34 +0800)]
[Service] Reset tizen.application.getCurrentApplication().appInfo

In global mode, tizen.application.getCurrentApplication().
appInfo.packageId() is org.tizen.chromium-efl, bcz
getCurrentApplication() get appinfo by pid, so WRT reset
getCurrentApplication().appInfo to application.getAppInfo.

Change-Id: I4ed6c2f6588db318f9589884e6a183662ff0f33a
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years ago[Addon] Set tv app path if target is tv 17/258417/4
jaekuk, lee [Mon, 17 May 2021 07:40:05 +0000 (16:40 +0900)]
[Addon] Set tv app path if target is tv

Apps are installed in the "/opt/usr/apps" path on TV,
so if target is tv, change keyTerm value to "apps".

Change-Id: Iae3c7c590189dfec48304063030c9b040a6dcccb
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
3 years ago[Service] Make correctly smack label for some special service app 57/258357/5 submit/tizen/20210517.160019
Chunling Ye [Fri, 14 May 2021 03:44:46 +0000 (11:44 +0800)]
[Service] Make correctly smack label for some special service app

For some app like 111399000136, it's packagid is 'obxi69OqU7' which same with UI app's
package ID, but the service id is 'obxi69OqU4.service', if get packagid from service
name, 'obxi69OqU4' will get which is not 'obxi69OqU7'. So set smack label by service
app name, issue will happen.

Now get the packagid from webapis.getPackageId.

Change-Id: If7d0a53bc56bd7f002b4406ba78bc25176bbec60
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
3 years agoRecover "Fix issue in multi view(window) scenario" 42/258342/1 submit/tizen/20210513.160019
Youngsoo Choi [Thu, 13 May 2021 14:20:36 +0000 (07:20 -0700)]
Recover "Fix issue in multi view(window) scenario"

This recovers commit ab17ff17c22bdacdd7948d33f57b6024cb37613e.

Change-Id: Icc803dc66a78bf4d3468973cba068b89eddb2774
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agoRevert "Fix issue in multi view(window) scenario" 41/258341/1 accepted/tizen/unified/20210513.161712 submit/tizen/20210513.140820
Youngsoo Choi [Thu, 13 May 2021 14:00:16 +0000 (07:00 -0700)]
Revert "Fix issue in multi view(window) scenario"

We are facing with urgent public release
but unfotunately this patch blocks wrtjs build
and there's no time to build chromium in OBS.

So, we will revert and recover this patch as soon as possible.

This reverts commit ab17ff17c22bdacdd7948d33f57b6024cb37613e.

Change-Id: I8384a762b21e4027d267532667036907889d4822
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Upgrade device home as v1.0.4 38/258338/1 submit/tizen/20210513.133954
Youngsoo Choi [Thu, 13 May 2021 13:27:25 +0000 (06:27 -0700)]
[Service] Upgrade device home as v1.0.4

- Generate session secret key in random
- Move checking pincode retrial number to server side
- Don't use Math.random API
- Don't re-use pin code
- Prevent connection with same session id from different devices
- Prevent execution of non MDE apps
- Remove x-powered-by header

Change-Id: I6ef7deb26c9f50655894b76ef63b92186a4426e0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[SignalingServer] Remove computing offloading 10/258210/1
Insoon Kim [Wed, 12 May 2021 07:59:12 +0000 (00:59 -0700)]
[SignalingServer] Remove computing offloading

This removes the unused computing offloading feature in
the signaling server.

Change-Id: I39be0281c524f2bd5bcb24d425125b06bb2ead39
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years agoMerge "[Tizen6.5 Migration][Service] call onRequest() when app launched again" into... submit/tizen/20210512.160020
Bot Blink [Wed, 12 May 2021 02:18:22 +0000 (02:18 +0000)]
Merge "[Tizen6.5 Migration][Service] call onRequest() when app launched again" into tizen

3 years agoMerge "Fix issue in multi view(window) scenario" into tizen
Bot Blink [Wed, 12 May 2021 02:09:25 +0000 (02:09 +0000)]
Merge "Fix issue in multi view(window) scenario" into tizen

3 years agoFix issue in multi view(window) scenario 12/256312/10
liwei [Thu, 1 Apr 2021 05:26:55 +0000 (13:26 +0800)]
Fix issue in multi view(window) scenario

This patch fix issue when app use "window.open("***.html")".

ex. newpage = window.open ('page.html', 'page', 'height=100,
    width=800, top=100, left=100')

If main window's "ready to show" event is invoked after
newpage create("browser-window-created" event), WRT need show
the latest view(window) in window list.
Native Patch:
https://review.tizen.org/gerrit/257970/

Change-Id: I4c5c5b7930de4509cda52a8a8147de0b36d57f97
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years ago[Tizen6.5 Migration][Service] call onRequest() when app launched again 92/257892/4
DongHyun Song [Thu, 6 May 2021 05:07:58 +0000 (14:07 +0900)]
[Tizen6.5 Migration][Service] call onRequest() when app launched again

When the app launched again, onRequest() event will
be called to handle different appcontrol data.

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

Change-Id: I255d9882f79196b60f77f3504a7d012963f60c1c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Tizen6.5 Migration] Prevent window showing during termination 62/257962/1 submit/tizen/20210507.160020
SangYong Park [Thu, 6 May 2021 01:31:33 +0000 (10:31 +0900)]
[Tizen6.5 Migration] Prevent window showing during termination

Show previous window when current window was closed.
but, window showing causes invalid memory access in termination.
so, prevent window showing during app termination.

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

Change-Id: I7878594d5ba12b5300523e00262ff84d95072ba7
Signed-off-by: SangYong Park <sy302.park@samsung.com>
3 years ago[VD] Change Tizen 6.5 repository 37/257937/2
DongHyun Song [Fri, 7 May 2021 02:09:05 +0000 (11:09 +0900)]
[VD] Change Tizen 6.5 repository

OneMain branch has started Tizen 6.5 release.

Change-Id: I8921d0d51749fd7fe20358f9142989984f878940
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[SignalingServer] Connect signaling server by https" into tizen accepted/tizen/unified/20210430.052635 submit/tizen/20210430.022919 submit/tizen/20210430.160020
Bot Blink [Fri, 30 Apr 2021 01:08:51 +0000 (01:08 +0000)]
Merge "[SignalingServer] Connect signaling server by https" into tizen

3 years ago[SignalingServer] Connect signaling server by https 44/257644/1
Insoon Kim [Thu, 29 Apr 2021 02:22:35 +0000 (19:22 -0700)]
[SignalingServer] Connect signaling server by https

This connects to the signaling server from the castanets by https.

Change-Id: I754b4ba2efd399d4be0dbe86fe21104f45da82d0
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years ago[VD] Remove interceptFileProtocol feature on wrtjs 82/257582/6 submit/tizen/20210429.160020
DongHyun Song [Wed, 28 Apr 2021 00:49:26 +0000 (09:49 +0900)]
[VD] Remove interceptFileProtocol feature on wrtjs

This feature will be handled on native side.

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

Change-Id: I6b73b4e444140c0d9faf82d699d85f322d535dda
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[SignalingServer] Generate self-signed certificate 45/257545/2 accepted/tizen/unified/20210428.092136 submit/tizen/20210428.015758 submit/tizen/20210428.160020
Insoon Kim [Tue, 27 Apr 2021 11:27:07 +0000 (04:27 -0700)]
[SignalingServer] Generate self-signed certificate

This removes the prebuilt private key and certificate and generates a
certificate at build time.

Change-Id: I1ed0c042e488b7abb3eca724c648c68b714bc0a4
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years agofixup! [Service] Upgrade device home as v1.0.3 24/257524/1 submit/tizen/20210427.160018
Youngsoo Choi [Tue, 27 Apr 2021 06:28:37 +0000 (23:28 -0700)]
fixup! [Service] Upgrade device home as v1.0.3

The unused file jake/bin/bash_completion.sh is removed.

Change-Id: I8bd02ca609a1c3949371ed02d523a7fa7c656edd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Upgrade device home as v1.0.3 00/257500/1 accepted/tizen/unified/20210427.085815 submit/tizen/20210427.055947
Youngsoo Choi [Tue, 27 Apr 2021 04:20:17 +0000 (21:20 -0700)]
[Service] Upgrade device home as v1.0.3

- Removal of relative path from device home server
- Generating RSA keys when failed to input pincode 5 times

Change-Id: Idcd8b20c63e97fe8cda8950ab23da0a00e157640
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[DeviceHome] Remove unnecessary files 00/257000/2 accepted/tizen/unified/20210416.143337 accepted/tizen/unified/20210419.153541 submit/tizen/20210416.072715 submit/tizen/20210416.160018 submit/tizen/20210417.030150
Hunseop Jeong [Fri, 16 Apr 2021 07:11:01 +0000 (00:11 -0700)]
[DeviceHome] Remove unnecessary files

The unnecessary test, example folders and md, map files are removed.
The rom size is saved from 8060 KB to 5140 KB.

Change-Id: I321bceec31080aca1cee4cd5be415bac7d0e497b
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[hotfix] Ignore type checking for edge 96/256996/1 submit/tizen/20210416.063101
Youngsoo Choi [Fri, 16 Apr 2021 05:59:03 +0000 (22:59 -0700)]
[hotfix] Ignore type checking for edge

The edge library is applied to chromium-efl but
the image including it isn't ready yet.

Note that once the image is created, this will be reverted.

Change-Id: I294890829c120993655f94d75b0cac45cc501cc7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[DeviceHome] Reduce size of libraries 90/256990/1 submit/tizen/20210416.053116
Hunseop Jeong [Fri, 16 Apr 2021 05:20:31 +0000 (14:20 +0900)]
[DeviceHome] Reduce size of libraries

Change-Id: I07ff8bb243f8f138c7f46aec57242319582a0e6f
Signed-off-by: Hunseop Jeong <hs85.jeong@samsung.com>
3 years agofixup! [DeviceHome] Revmoe duplicated libraries 87/256987/1
Youngsoo Choi [Fri, 16 Apr 2021 04:48:42 +0000 (21:48 -0700)]
fixup! [DeviceHome] Revmoe duplicated libraries

The missing isarray is added.

Change-Id: I1d40f8b1196565b7661a5a83bcf1c43277e8f5c7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[DeviceHome] Revmoe duplicated libraries 85/256985/1
Youngsoo Choi [Fri, 16 Apr 2021 03:53:45 +0000 (20:53 -0700)]
[DeviceHome] Revmoe duplicated libraries

To save rom size, the duplicated libraries are removed.

Change-Id: I04480f07de778ba8a96a1115036e343a0fb6609c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Integrate DeviceHome and SignalingServer 58/256958/3 submit/tizen/20210415.103124 submit/tizen/20210415.160011 submit/tizen/20210416.021733
Youngsoo Choi [Thu, 15 Apr 2021 11:18:32 +0000 (04:18 -0700)]
[Service] Integrate DeviceHome and SignalingServer

The DeviceHome and the SignalingServer are unified
to reduce rom size by sharing common parts.

Change-Id: Id16b850e2277359d7446bd0dc961007b68fb5244
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[SignalingServer] Optimize dependent modules 27/256927/2 submit/tizen/20210415.095900 submit/tizen/20210415.160019
Insoon Kim [Thu, 15 Apr 2021 01:02:37 +0000 (18:02 -0700)]
[SignalingServer] Optimize dependent modules

This reduces node_modules size from 13M to 9.8M

Change-Id: I7de6964204b659dfa6b1c71e4378622772d90b4c
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years ago[SignalingServer] Disable 'onboot' property 28/256928/2 submit/tizen/20210415.050844
Insoon Kim [Thu, 15 Apr 2021 01:04:57 +0000 (18:04 -0700)]
[SignalingServer] Disable 'onboot' property

The signaling server is not started automatically on boot.

The signaling server can be started using by
  $ app_launcher -s YwfXAVFyIw.Service

Change-Id: I8182a1aa4b30048c004e6aaf106c7c39a1892110
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years agoMerge "[Service] Add edge orchestration interface" into tizen submit/tizen/20210414.160019 submit/tizen/20210415.020123
Bot Blink [Wed, 14 Apr 2021 11:49:15 +0000 (11:49 +0000)]
Merge "[Service] Add edge orchestration interface" into tizen

3 years agoMerge "[SignalingServer] Preload to Public image" into tizen submit/tizen/20210414.233757
Bot Blink [Wed, 14 Apr 2021 11:47:02 +0000 (11:47 +0000)]
Merge "[SignalingServer] Preload to Public image" into tizen

3 years agoMerge "[SignalingServer] Forked Signaling Server" into tizen
Bot Blink [Wed, 14 Apr 2021 11:41:44 +0000 (11:41 +0000)]
Merge "[SignalingServer] Forked Signaling Server" into tizen

3 years ago[SignalingServer] Preload to Public image 52/256852/2
Insoon Kim [Wed, 14 Apr 2021 03:14:30 +0000 (20:14 -0700)]
[SignalingServer] Preload to Public image

This preloads Signaling Server service to Public image by default.

Change-Id: Icb800a7ac8e3262fc41d7d40df7f5dc28431997e
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years ago[SignalingServer] Forked Signaling Server 51/256851/2
Insoon Kim [Wed, 14 Apr 2021 02:27:42 +0000 (19:27 -0700)]
[SignalingServer] Forked Signaling Server

This is forked from
https://github.sec.samsung.net/HighPerformanceWeb/offload.js

This signaling server will be integrated later to
https://github.sec.samsung.net/HighPerformanceWeb/OffloadingSignalingServer

Change-Id: If4c5511d26d79ac3bcef76bc5958a50cae6824fb
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 years ago[Service] Upgrade device home as v1.0.2 01/256901/1 submit/tizen/20210414.103328
Youngsoo Choi [Wed, 14 Apr 2021 09:14:05 +0000 (02:14 -0700)]
[Service] Upgrade device home as v1.0.2

- Improval of web socket connections
- Removal of d2d app dependent logic
- Generating RSA keys in runtime for security reason

Change-Id: Icad70d8f8d267e29810de6c998795fce948af3f4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Add edge orchestration interface 44/256844/1
Youngsoo Choi [Tue, 13 Oct 2020 09:35:00 +0000 (02:35 -0700)]
[Service] Add edge orchestration interface

This provides initial edge orchestration interface.

Change-Id: I432db4ec011a5bbaf83ea65e1f0bfe9877690ac4
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[VD] Remove unnecessary log of file protocol interceptor. 12/256612/1 submit/tizen/20210408.160019
DongHyun Song [Thu, 8 Apr 2021 05:40:02 +0000 (14:40 +0900)]
[VD] Remove unnecessary log of file protocol interceptor.

If completion callback has no error, skip to print it.

Change-Id: I90274563b9d25ab8553c788a66a664acc5c07a5a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[DeviceHome] Remove RSA keys 06/256506/1 submit/tizen/20210406.160018
Youngsoo Choi [Tue, 6 Apr 2021 02:40:16 +0000 (19:40 -0700)]
[DeviceHome] Remove RSA keys

The RSA keys will be generated in runtime on another patch later.

Change-Id: I0cbe2a1ab1d4d37a416ec3a0c03b283f235c1032
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agoDrop smack/capability main thread with standalone model 05/256405/3 accepted/tizen/unified/20210407.100544 submit/tizen/20210402.160018 submit/tizen/20210406.004233
DongHyun Song [Fri, 2 Apr 2021 03:52:34 +0000 (12:52 +0900)]
Drop smack/capability main thread with standalone model

With standalone model, the main thread also must have its app label.

Change-Id: I53718b1f260744bed0b55ac4b4672b0a7f548f0a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Upgrade device home as v1.0.1 80/256180/6 accepted/tizen/unified/20210331.063840 submit/tizen/20210331.015413 submit/tizen/20210331.021629 submit/tizen/20210331.160019 submit/tizen/20210401.034045
Youngsoo Choi [Tue, 30 Mar 2021 10:30:16 +0000 (03:30 -0700)]
[Service] Upgrade device home as v1.0.1

This upgrades device home as v1.0.1 for public and product tv profiles.
The source size is 11 MB.

- D2D app launcher template on device home
- Session control for D2D apps with remote deivces
- Pin-code verification between TV and the other targets using RSA crypto
- Removal of basic remote controller that will be provided by D2D app
- Removal of unnecessary files from tau library (13 MB -> 5 MB)
- Removal of duplicated node modules

Change-Id: I1e7b6c14250d8f670c81c75f42df8c7971137fff
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[VD] Remove importCertificate() 45/256145/1 accepted/tizen/unified/20210331.054206 submit/tizen/20210330.094523 submit/tizen/20210330.160019
DongHyun Song [Tue, 30 Mar 2021 05:39:34 +0000 (14:39 +0900)]
[VD] Remove importCertificate()

This will be handled on native side.

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

Change-Id: I7b6ac68b1716d74d2c0c6cfb1f6a6da5d5cc0502
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[VD] Segregates WebApplicationDelegateTV for TV profile" into tizen
Bot Blink [Tue, 30 Mar 2021 05:40:07 +0000 (05:40 +0000)]
Merge "[VD] Segregates WebApplicationDelegateTV for TV profile" into tizen

3 years ago[VD] Segregates WebApplicationDelegateTV for TV profile 28/255828/14
DongHyun Song [Wed, 24 Mar 2021 05:59:51 +0000 (14:59 +0900)]
[VD] Segregates WebApplicationDelegateTV for TV profile

WebApplicationDelegateTV will implements TV profile feature via
inherited from WebApplicationDelegate base class.

This patch will improve code readability of WebApplication class.

Change-Id: Ic785f47fc19ad69a93701744eab2a50e6175d7be
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoRevert "[Public][Service] Upgrade d2d app version as v1.0.1" 29/256129/1 accepted/tizen/unified/20210331.005331 submit/tizen/20210330.020606
Youngsoo Choi [Tue, 30 Mar 2021 01:44:22 +0000 (18:44 -0700)]
Revert "[Public][Service] Upgrade d2d app version as v1.0.1"

This reverts commit 4697443e81b8c10fb5c8677199a91f7f5ce5a0b1
and 93f8a4ffa77df1b6fc850f57eb143b10ed3f575c.

The d2d app v1.0.1 will be uploaded later.

Change-Id: I51cf04eb01b6e3204b06bf444509a82c274e4f89
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agofixup! [Public][Service] Upgrade d2d app version as v1.0.1 96/255896/1 submit/tizen/20210325.160019 submit/tizen/20210329.031328
Youngsoo Choi [Thu, 25 Mar 2021 02:08:56 +0000 (19:08 -0700)]
fixup! [Public][Service] Upgrade d2d app version as v1.0.1

The widget version should be v1.0.0.
Otherwise, the package can't be installed on target.

Change-Id: Idb5cfaad09639a61e257e411b072aebd8b771925
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agofixup!Minor refactor logic of quit for non-multitasking app 42/255842/1 submit/tizen/20210324.231941
liwei [Wed, 24 Mar 2021 07:14:22 +0000 (15:14 +0800)]
fixup!Minor refactor logic of quit for non-multitasking app

If app is backgroundsupport, window cannot be set to false.

Change-Id: I30a7885cb4013257beffab4c95eb10b5fa7a5379
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agofixup! [Service] Add MDE webapis 56/255656/2 submit/tizen/20210323.160018
Youngsoo Choi [Mon, 22 Mar 2021 05:20:14 +0000 (22:20 -0700)]
fixup! [Service] Add MDE webapis

The Tizen privilege account.read is needed to access to account id
for security reason.

Change-Id: If608e7a4d0b6a6a72a309bcfddc33405655761ea
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Public][Service] Upgrade d2d app version as v1.0.1 90/255490/6 submit/tizen/20210319.160018
Youngsoo Choi [Fri, 19 Mar 2021 01:48:26 +0000 (18:48 -0700)]
[Public][Service] Upgrade d2d app version as v1.0.1

This upgrades d2d app version as v1.0.1.

Change-Id: I6c305c011537e026779634993a56fcaec1d02425
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Check launcher process 93/254893/5 accepted/tizen/unified/20210319.140915 submit/tizen/20210317.160018 submit/tizen/20210318.093709
DongHyun Song [Wed, 10 Mar 2021 09:09:59 +0000 (18:09 +0900)]
[Service] Check launcher process

Check launcher process if it is alive, otherwise stop the service.

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

Change-Id: Iac686bcf5ecc5acaec69599f11571a00f137de22
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "Minor refactor logic of quit for non-multitasking app" into tizen
Bot Blink [Wed, 17 Mar 2021 02:57:53 +0000 (02:57 +0000)]
Merge "Minor refactor logic of quit for non-multitasking app" into tizen

3 years agoMinor refactor logic of quit for non-multitasking app 97/255197/3
liwei [Mon, 15 Mar 2021 05:58:07 +0000 (13:58 +0800)]
Minor refactor logic of quit for non-multitasking app

1.If app run in background and not support multitasking,
app will quit immediatly, window will be desotried,
then exception will happen, so ahead timing of addon
event to avid window is null, ahead timing of addon event
contentDidFinishLoad.
2.Set timeout to 0 for app.quit(), then it will be a little
delay, it can avoid crash.

Change-Id: I8c0cc11f13c48384e5a3e1965a1fc27353e81a3a
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agoMerge "[VD] Add tizen 6.5 repository" into tizen submit/tizen/20210316.160018
Bot Blink [Tue, 16 Mar 2021 06:29:17 +0000 (06:29 +0000)]
Merge "[VD] Add tizen 6.5 repository" into tizen

3 years ago[VD] Add tizen 6.5 repository 70/255270/2
Youngsoo Choi [Tue, 16 Mar 2021 05:54:38 +0000 (22:54 -0700)]
[VD] Add tizen 6.5 repository

This adds tizen 6.5 repository.

* Build Command for tizen 6.5:
$ ./tizen/build/build_tv.sh

* Build Command for tizen 6.0:
$ ./tizen/build/build_tv.sh -P tztv_6.0_arm-nikem

Together with:
https://review.tizen.org/gerrit/255261

Change-Id: I6af8b4afa460a5bea155e2e4ef1fbea9aff72a8e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Add MDE webapis 91/252291/4
Youngsoo Choi [Fri, 22 Jan 2021 03:33:49 +0000 (12:33 +0900)]
[Service] Add MDE webapis

This adds following MDE APIs to get device name and login id.

>> webapis.mde.getCurrentLoginId()
>> webapis.mde.getDeviceName()

Together with:
https://review.tizen.org/gerrit/252719

Change-Id: I070ca304e3b95c07c9426ad6f32b012c5c1f01ca
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Move dropThreadPrivilege() before app starting 60/254960/4 submit/tizen/20210311.160018
DongHyun Song [Thu, 11 Mar 2021 04:45:26 +0000 (13:45 +0900)]
[Service] Move dropThreadPrivilege() before app starting

If applying app smack label before of webapis related works, there
are fails of loading webapis due to smack deny.

Of course, at first time, before loading webapis, app label should
be applied on the node worker thread. But kind of modules are
checking the privileges with 'pid', not 'tid'
So, webapis loading are not loaded all successfully.

This patch makes to defer privilege drop after webapis related works.
(access_control_manager, device_api_router)

Change-Id: I89849e4271cddde2e22a6bca77f77b503ee30cd8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[VD] Remove timeout when app is quit in non-multitasking scenario" into tizen accepted/tizen/unified/20210311.151610 submit/tizen/20210308.160020 submit/tizen/20210309.024149 submit/tizen/20210309.054705 submit/tizen/20210310.030516
Bot Blink [Sun, 7 Mar 2021 23:40:39 +0000 (23:40 +0000)]
Merge "[VD] Remove timeout when app is quit in non-multitasking scenario" into tizen

3 years ago[VD] Remove timeout when app is quit in non-multitasking scenario 93/254593/5
liwei [Fri, 5 Mar 2021 03:09:41 +0000 (11:09 +0800)]
[VD] Remove timeout when app is quit in non-multitasking scenario

In TV, visibility change callback is moved earlier,so this
timeout is unncessary.

Timeout logic is added in
https://review.tizen.org/gerrit/208100/

Change-Id: I5467b688987a23f7b72cb0984b38671538da5f40
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agoMerge "[Service][VD] move mount/umount to JS side" into tizen accepted/tizen/unified/20210304.131212 submit/tizen/20210224.160019 submit/tizen/20210303.021943
Bot Blink [Wed, 24 Feb 2021 06:18:49 +0000 (06:18 +0000)]
Merge "[Service][VD] move mount/umount to JS side" into tizen

3 years agoMerge "Fix addon api and support chrome extension addon app" into tizen
Bot Blink [Wed, 24 Feb 2021 06:14:53 +0000 (06:14 +0000)]
Merge "Fix addon api and support chrome extension addon app" into tizen