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>
Bot Blink [Wed, 16 Jun 2021 07:15:55 +0000 (07:15 +0000)]
Merge "[VD] add Gaming hub feature" into tizen
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>
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>
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>
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>
Bot Blink [Wed, 2 Jun 2021 04:01:13 +0000 (04:01 +0000)]
Merge "[Service] Reset tizen.application.getCurrentApplication().appInfo" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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
Bot Blink [Wed, 12 May 2021 02:09:25 +0000 (02:09 +0000)]
Merge "Fix issue in multi view(window) scenario" into tizen
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>
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>
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>
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>
Bot Blink [Fri, 30 Apr 2021 01:08:51 +0000 (01:08 +0000)]
Merge "[SignalingServer] Connect signaling server by https" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Bot Blink [Wed, 14 Apr 2021 11:49:15 +0000 (11:49 +0000)]
Merge "[Service] Add edge orchestration interface" into tizen
Bot Blink [Wed, 14 Apr 2021 11:47:02 +0000 (11:47 +0000)]
Merge "[SignalingServer] Preload to Public image" into tizen
Bot Blink [Wed, 14 Apr 2021 11:41:44 +0000 (11:41 +0000)]
Merge "[SignalingServer] Forked Signaling Server" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
Bot Blink [Tue, 30 Mar 2021 05:40:07 +0000 (05:40 +0000)]
Merge "[VD] Segregates WebApplicationDelegateTV for TV profile" into tizen
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>
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>
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>
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>
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>
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>
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>
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
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>
Bot Blink [Tue, 16 Mar 2021 06:29:17 +0000 (06:29 +0000)]
Merge "[VD] Add tizen 6.5 repository" into tizen
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>
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>
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>
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
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>
Bot Blink [Wed, 24 Feb 2021 06:18:49 +0000 (06:18 +0000)]
Merge "[Service][VD] move mount/umount to JS side" 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
DongHyun Song [Thu, 18 Feb 2021 09:50:38 +0000 (18:50 +0900)]
[Service][VD] move mount/umount to JS side
Explicitly handles mount/umount on JS side to simplify logic of
WRTServiceManager.
Related chromium-efl patch:
https://review.tizen.org/gerrit/253835/
Change-Id: I89874f752d8113d6582a238acce9b0b328b635ab
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Youngsoo Choi [Tue, 19 Jan 2021 02:53:31 +0000 (11:53 +0900)]
[M85][Service] Drop thread privilege of service app
This drops the privilege of service app and sets it to User::Pkg::{PKG_ID}.
With this changes, the service app is under control of kernel smack rule.
Reference:
https://review.tizen.org/gerrit/249081
Together with:
https://review.tizen.org/gerrit/251775
Change-Id: I0cd14f159b61b17dc395fd938144a0646529a2d9
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
SangYong Park [Mon, 8 Feb 2021 05:51:30 +0000 (14:51 +0900)]
Fix addon api and support chrome extension addon app
Related:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/253273/
Change-Id: Icc2c0533199bb075d1ecf64bc7d22ed39be4513b
Signed-off-by: SangYong Park <sy302.park@samsung.com>
Youngsoo Choi [Mon, 1 Feb 2021 02:21:48 +0000 (11:21 +0900)]
Set DEFAULT_TIZEN_VERSION to 6.5
This sets DEFAULT_TIZEN_VERSION to 6.5 as per current tizen branch version.
Change-Id: I9d5d20edef1a89f5865909bb5eff691c49f7b264
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Thu, 28 Jan 2021 02:51:40 +0000 (11:51 +0900)]
[M85][MDE] Support MDE interfaces
This supports MDE interfaces.
Reference:
https://review.tizen.org/gerrit/248308
Together with:
https://review.tizen.org/gerrit/252383
Change-Id: Ifa6f5d96606979918d4b134abcd48405e5e4654b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
DongHyun Song [Thu, 12 Nov 2020 08:17:18 +0000 (17:17 +0900)]
[Service][Builtin] Introduce Appmanifest installer
This built-in service introduces to support W3C AppManifest
installation, which is written JSON manifest file.
The overall goal of this feature is that
1) Convert JSON manifest to config.xml
- download proper icon
2) Archive .wgt and request to install .wgt
- tizen.archive is newly necessary to load
To support installation of archived wgt file from this feature,
there are 2 consideration to be solved.
a) there is no signature file
b) at least, public level certification is necessary
Change-Id: Iaf09bdfb3e6c5d6e8471ef91ea13fda863641db0
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Bot Blink [Fri, 22 Jan 2021 05:56:03 +0000 (05:56 +0000)]
Merge "Don't use rpm command in spec file" into tizen
Youngsoo Choi [Fri, 22 Jan 2021 03:33:36 +0000 (12:33 +0900)]
Don't use rpm command in spec file
The use of rpm command will block OBS build process.
This replace it with cat command to read chromium-efl version.
Change-Id: I30e738eeb69a4d205fab5b9f73ac2f66b77d165e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
DongHyun Song [Wed, 6 Jan 2021 05:35:30 +0000 (14:35 +0900)]
Refactors initDisplayDelay function for readability
Segregates two parts according to 'firstLaunch'.
If first launch,
- handle splash screen (place out of 'initDisplayDelay()')
- add delay show event
If not first launch
- enable window
Change-Id: Ic8104bc683bf3785581c4c3e6582d3fe738bed89
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Bot Blink [Fri, 22 Jan 2021 02:59:56 +0000 (02:59 +0000)]
Merge "[Tizen6.5 Migration][Service] Support simple notification popup" into tizen
liwei [Thu, 21 Jan 2021 03:25:11 +0000 (11:25 +0800)]
fixup![Tizen6.5 Migration][Service] Print appcontrol data when service app is launched
When service app is launched by "new Service()", appcontrol is not set,
so need pre-check appcontrol.
Change-Id: I6c9d312e2addee1e7e0c5308ce637f93ecede196
Signed-off-by: liwei <wei90727.li@samsung.com>
Bot Blink [Wed, 20 Jan 2021 03:33:33 +0000 (03:33 +0000)]
Merge "Using native window open" into tizen
Bot Blink [Fri, 15 Jan 2021 07:27:16 +0000 (07:27 +0000)]
Merge "[Tizen6.5 Migration][Service] Print appcontrol data when service app is launched" into tizen
DongHyun Song [Thu, 17 Dec 2020 05:07:33 +0000 (14:07 +0900)]
[Tizen6.5 Migration][Service] Add getPkgApiVersion for global model
xwalk.utils.getPkgApiVersion will return required_version of
config.xml. (a.k.a. api version)
This getPkgApiVersion() is used to check api privileges which is
allowed in Tizen platform version.
Without this patch, getPkgApiVersion() will returns wrt-service
package's api version in its manifest.
Reference:
https://review.tizen.org/gerrit/247389/
Change-Id: Id084f2eda53e3310a2d7c5842d6bd1be4ca34fe0
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
liwei [Fri, 15 Jan 2021 02:19:22 +0000 (10:19 +0800)]
[Tizen6.5 Migration][Service] Print appcontrol data when service app is launched
Now in many scenario UI app launch service app, service app will
check tizen.application.getCurrentApplication().getRequestedAppControl()
operation and data, so print this data is good for debugging.
(ex.
3201506003227, STARZY)
Related patch:
https://review.tizen.org/gerrit/248053/
Change-Id: I9f7b6c6319ddc0e16089ef826855ce064aeb754f
Signed-off-by: liwei <wei90727.li@samsung.com>
liwei [Fri, 8 Jan 2021 09:52:11 +0000 (17:52 +0800)]
[VD] Get app forcereload flag in webapplication constructor
For wrt autotest tc which check "force.loadDefaultURI" metadata,
get app forcereload flag(force.loadDefaultURI) in constructor,
otherwise it's hard to make a scenario by test script to check
this metadata.
Change-Id: I38ae46846687ab52a874d8dff22d62f581b9491f
Signed-off-by: liwei <wei90727.li@samsung.com>
DongHyun Song [Wed, 6 Jan 2021 03:32:25 +0000 (12:32 +0900)]
[Tizen6.5 Migration][Service] Support simple notification popup
User apps can use this notification posting API by calling
webapis.postPlainNotification()
- title: string, mandatory
- message: string, mandatory
- timeout: number, optional (10s default)
Actually, this feature is alternative simple solution to show
notification popup of tizen.UserNotification webapi.
Global notification webapis is not included in TV platform.
Related patch:
https://review.tizen.org/gerrit/250942/
Change-Id: Ibf51f707be4b1edf3fc50dd94041df38cbdae168
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Tue, 29 Dec 2020 08:45:21 +0000 (17:45 +0900)]
[Service] Apply worker to 'standalone' model
'standalone' model will not be used anywhere.
TV will apply global wrt-service on Tizen 6.5
Change-Id: I1ebe5fbea6a9db4f56c1d9fb0c58cfa7e76fdb63
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Wed, 16 Dec 2020 08:37:57 +0000 (17:37 +0900)]
Move inspector functions to WebApplication
debugPort / inspectorSrc are members for WebApplication class.
Then, move related functions to WebApplication is more proper and
it can reduce to check webApplication instance.
Change-Id: I7fc4415e25249e574270a38900fdcb2bd1e934e7
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Wed, 16 Dec 2020 08:37:57 +0000 (17:37 +0900)]
Move inspector functions to WebApplication
debugPort / inspectorSrc are members for WebApplication class.
Then, move related functions to WebApplication is more proper and
it can reduce to check webApplication instance.
Change-Id: I7fc4415e25249e574270a38900fdcb2bd1e934e7
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
SangYong Park [Fri, 4 Dec 2020 04:55:37 +0000 (13:55 +0900)]
Using native window open
window.open uses electron js logic when renderer was integrated with node.
(node is integrated in renderer when addon is enabled. and default webapp
do not use node in renderer side.). It has some compatibility issue.
so, use native window open always.
related:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/248981/
Change-Id: I8d786b2d9d1ba97796217f0b2cb2371e89b80479
Signed-off-by: SangYong Park <sy302.park@samsung.com>
DongHyun Song [Wed, 2 Dec 2020 08:14:35 +0000 (17:14 +0900)]
Refactor app-control event to improve readability
1) Split into small functions by their roles.
2) Move functions to proper class
- most of them are located in WebApplication
Change-Id: Ibd03eb6b6ef29c197266b7b9d51393134c06c375
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Bot Blink [Thu, 3 Dec 2020 23:16:40 +0000 (23:16 +0000)]
Merge "Make same function name with its event name" into tizen
DongHyun Song [Wed, 2 Dec 2020 07:54:15 +0000 (16:54 +0900)]
Make same function name with its event name
1) Rename functions same as its event name
2) Add blank line among functions.
Change-Id: Ide74634ec37060572862e3983a953a54151a6fa5
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Sun, 22 Nov 2020 22:12:06 +0000 (07:12 +0900)]
Refactor disk cache setting and appcontrol data
Delete codes will be handled in native code side
Related patch:
https://review.tizen.org/gerrit/248127/
Change-Id: I596fce437f43664c4fd17eff959375d46ff7b776
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Youngsoo Choi [Tue, 1 Dec 2020 06:24:21 +0000 (22:24 -0800)]
Revert "[Service] Add edge orchestration interface"
This reverts commit
d55cc7de0b1ddb97a0eb533558fd51edb382763f.
The edge interface is not ready yet on M85 chromium-efl.
Change-Id: I1dfd008b4e6ebb4594aa7791ee2c5a58e43589a6
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Bot Blink [Thu, 26 Nov 2020 06:00:24 +0000 (06:00 +0000)]
Merge "[M85] Suppress a macOS hack present in electron to gain webview focus" into tizen
Bot Blink [Wed, 25 Nov 2020 01:40:33 +0000 (01:40 +0000)]
Merge "Remove unnecessary cookie api" into tizen
Surya Kumar [Tue, 24 Nov 2020 07:21:23 +0000 (12:51 +0530)]
[M85] Suppress a macOS hack present in electron to gain webview focus
A hack used by electron meant for macOS & extended for other
platforms contingently is causing behavior difference from XWALK.
Since that's the only consumer of 'load-url', removed all
event listeners.
Focus will anyway be gained by WebContents on their respective
show() calls. Fixes P200228-07034 & P200113-07900.
Reference: https://review.tizen.org/gerrit/226898
Change-Id: Ife2e6fd54c146596becd5cd00fb86797a9dc6cae
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
Bot Blink [Tue, 24 Nov 2020 06:50:22 +0000 (06:50 +0000)]
Merge "Don't display splash screen in background mode" into tizen
jaekuk, lee [Tue, 17 Nov 2020 08:52:55 +0000 (17:52 +0900)]
Don't display splash screen in background mode
When launching app in backgroundAtStartup launchMode,
prevent splash screen from being displayed.
Change-Id: I416fce778e5a001df5a6da855959c88d42ac19f4
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
Bot Blink [Tue, 17 Nov 2020 06:38:24 +0000 (06:38 +0000)]
Merge "[Service] Changes 'DAEMON' to 'GLOBAL'" into tizen.beta
Bot Blink [Mon, 16 Nov 2020 05:29:42 +0000 (05:29 +0000)]
Merge "[Service] Refactor unload xwalk extension" into tizen.beta
DongHyun Song [Mon, 16 Nov 2020 05:10:57 +0000 (14:10 +0900)]
[Service] Changes 'DAEMON' to 'GLOBAL'
'global' wrt-service is more common name than 'daemon'
Related chromium-efl patch:
https://review.tizen.org/gerrit/247741/
Change-Id: I9139832bc0cf4d2ce6a6b916c1e98ba984e4e5ed
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Bot Blink [Mon, 16 Nov 2020 04:34:46 +0000 (04:34 +0000)]
Merge "[Service] Terminate worker more gracefully" into tizen.beta