platform/framework/web/wrtjs.git
3 years agoMerge "[DA] Show native window in app-control." into tizen accepted/tizen/unified/20201102.124300 submit/tizen/20201030.030917 submit/tizen/20201030.045231 submit/tizen/20201030.160009
KyungYoun Won [Fri, 30 Oct 2020 01:25:36 +0000 (01:25 +0000)]
Merge "[DA] Show native window in app-control." into tizen

3 years ago[Service] Release fake timer when stopService. 25/246425/3
DongHyun Song [Thu, 29 Oct 2020 07:10:52 +0000 (16:10 +0900)]
[Service] Release fake timer when stopService.

This fake timer is to avoid unknown uv loop delay issue.
It should clear this fake timer after stopService.

Change-Id: I320dcdf6d0b0066e560692bdb9c56b3ec9b8352a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[DA] Show native window in app-control. 06/246306/2
jihwankim [Wed, 28 Oct 2020 04:10:22 +0000 (13:10 +0900)]
[DA] Show native window in app-control.

Now, native window is shown when 'ready-to-show' is called.
This is an intentional operation using an electron api.
But because of this, there is a VOC that the launch speed of the web app seems to be slow.

DA decided that it would be better to show the window if it is not ready.
(Even if it is an empty screen)

So call WebApplication.show in app-control callback.

This patch uses DAExtension api, so this should be applied with or after the patch below.
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/246305/

Change-Id: I5a872ab0408b739d86890fc03c942c927160fdc8
Signed-off-by: jihwankim <jh_marc.kim@samsung.com>
3 years agoMerge "Refactor suspend sequence" into tizen accepted/tizen/unified/20201029.124952 submit/tizen/20201027.083557
Bot Blink [Tue, 27 Oct 2020 04:42:23 +0000 (04:42 +0000)]
Merge "Refactor suspend sequence" into tizen

3 years agoMerge "Remove wrt.tv.flushCookie()" into tizen
Bot Blink [Tue, 27 Oct 2020 01:09:18 +0000 (01:09 +0000)]
Merge "Remove wrt.tv.flushCookie()" into tizen

3 years agoRefactor suspend sequence 55/246155/5
DongHyun Song [Mon, 26 Oct 2020 10:07:57 +0000 (19:07 +0900)]
Refactor suspend sequence

To guarantee unload* events, suspend() should be deffered after
closing windows.

Related patch:
  https://review.tizen.org/gerrit/246015/
  https://review.tizen.org/gerrit/245417/

Change-Id: Id13a275b64e75f985e0115eee6771e3c29dd9cd9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[TV] Bring cancelDialogs() forward to before-quit" into tizen
Bot Blink [Mon, 26 Oct 2020 07:30:41 +0000 (07:30 +0000)]
Merge "[TV] Bring cancelDialogs() forward to before-quit" into tizen

3 years agoMerge "[TV] Remove unnecessary code" into tizen
Bot Blink [Fri, 23 Oct 2020 07:07:56 +0000 (07:07 +0000)]
Merge "[TV] Remove unnecessary code" into tizen

3 years ago[TV] Bring cancelDialogs() forward to before-quit 53/245553/4
DongHyun Song [Mon, 12 Oct 2020 08:32:23 +0000 (17:32 +0900)]
[TV] Bring cancelDialogs() forward to before-quit

With below refactor patch,
  https://review.tizen.org/gerrit/245417/

Defered timing of closing windows, Sometimes, JS exception is
coming due to access of destroyed Object at

  wrt.tv.cancelDialogs(this.mainWindow.webContents);

Change-Id: I207c890cb84e6aaec8ed13316c39b80dd2e6cd3c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoRefactor suspend sequence 15/246015/5
DongHyun Song [Thu, 22 Oct 2020 05:15:08 +0000 (14:15 +0900)]
Refactor suspend sequence

1) Bring forward suspend time when before-quit.
 ** When OnTerminate is coming first earlier than OnPause,
  'quit' makes this.webApplication as undefined, then
  wrt.on('suspend'...) will be skipped. This means that
  With normal termination sequence, suspending might be not
  handled.

2) Even though background runnable app, when app is in quitting,
 enable suspend sequence for right termination sequence.

Change-Id: Ie40f650ea317d6f198f9c1c1aa07c9bc6867b693
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[Service][Reland] Apply node worker for standalone model" into tizen
Bot Blink [Wed, 21 Oct 2020 15:00:03 +0000 (15:00 +0000)]
Merge "[Service][Reland] Apply node worker for standalone model" into tizen

3 years agoMerge "[Service] Exception is throwing if argument length is 0" into tizen
Bot Blink [Wed, 21 Oct 2020 14:56:28 +0000 (14:56 +0000)]
Merge "[Service] Exception is throwing if argument length is 0" into tizen

3 years ago[Service] Exception is throwing if argument length is 0 13/245913/3
k2.nagaraju [Mon, 19 Oct 2020 15:35:06 +0000 (21:05 +0530)]
[Service] Exception is throwing if argument length is 0

Calling |resolveVirtualRoot| with |0| parameter throwing
exception, which is causing failure in service filesystem webtct.

Change-Id: I5e8d54f916d408145331066b31f7432ad7a3be55
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years agoMerge "[Service][TV] Support more webapis.productinfo" into tizen
Bot Blink [Wed, 21 Oct 2020 06:26:10 +0000 (06:26 +0000)]
Merge "[Service][TV] Support more webapis.productinfo" into tizen

3 years ago[TV] Remove unnecessary code 84/245984/1
DongHyun Song [Wed, 21 Oct 2020 06:21:48 +0000 (15:21 +0900)]
[TV] Remove unnecessary code

clearDeadMount() was removed from
  https://review.tizen.org/gerrit/245799/

Change-Id: I56d6198754962d24131b318ddb986e96f355ceac
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service][Reland] Apply node worker for standalone model 35/245635/7
DongHyun Song [Tue, 13 Oct 2020 10:03:27 +0000 (19:03 +0900)]
[Service][Reland] Apply node worker for standalone model

This patch includes below,

 1) unify source code with global model.
 2) isolate v8 variable scope from main thread.
   - standalone service application cannot get main global variable.
     of service_manaer / service_runner
 3) refactor handling message with node worker.
 4) refactor termination sequence of node worker more gracefully.
   - process.exit() is invoked by worker side
   - parent handles on('exit') for clean-up

Additionally, there is no noticeable memory increase with node worker.

References:
  https://review.tizen.org/gerrit/244938/
  https://review.tizen.org/gerrit/245591/

Change-Id: Ie9c17b373a69585ca755e39c4ab56243406821a2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Make appInfo writable 03/245903/3
Youngsoo Choi [Mon, 19 Oct 2020 12:11:03 +0000 (05:11 -0700)]
[Service] Make appInfo writable

In follwing sample code, The appInfo needs to be writable with
application information having app id 'TCT_APPCONTROL_APPID' as TC expected.

> var app = tizen.application.getCurrentApplication();
> app.appInfo =
>     tizen.application.getAppInfo(application_common.TCT_APPCONTROL_APPID);

Change-Id: I6d89d5d1c0d9c241cebc5ff92b15167c890f1a55
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service][TV] Support more webapis.productinfo 61/244961/8
liwei [Mon, 28 Sep 2020 07:35:21 +0000 (15:35 +0800)]
[Service][TV] Support more webapis.productinfo

Support webapis.productinfo.is8KPanelSupported() /
isUHDAModel() / getSmartTVServerType() / isWallModel()

Native Patch:
https://review.tizen.org/gerrit/244962/

Change-Id: Icdd34cf44338a8d5b92bfad1c98cd96b07309b4a
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agoMerge "Revert "[Service] Apply node worker for standalone model"" into tizen
Bot Blink [Tue, 13 Oct 2020 08:44:20 +0000 (08:44 +0000)]
Merge "Revert "[Service] Apply node worker for standalone model"" into tizen

3 years agoRevert "[Service] Apply node worker for standalone model" 22/245622/1
DongHyun Song [Tue, 13 Oct 2020 08:14:52 +0000 (08:14 +0000)]
Revert "[Service] Apply node worker for standalone model"

This reverts commit 2b011acf4a65ec8b940605ddeb53cc3709f2009d.

Change-Id: I4203e460734b8befd84a2286663ae6c41a7b3232

3 years agoRevert "[Service] Refactor stop service sequence" 21/245621/1
DongHyun Song [Tue, 13 Oct 2020 08:14:25 +0000 (08:14 +0000)]
Revert "[Service] Refactor stop service sequence"

This reverts commit dd79b18738cdb66f003a5195e78b5ff03248e27e.

Change-Id: If6ff1a847e9aeed86faf9fd9fc014971c339096f

3 years agoRemove wrt.tv.flushCookie() 00/245000/3
DongHyun Song [Tue, 29 Sep 2020 02:47:49 +0000 (11:47 +0900)]
Remove wrt.tv.flushCookie()

flushCookie() will be called on WRTCookieManager's dtor.
flushStorageData() is applied for all profile.

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

Change-Id: Ic339b7d639c76dd5829c1a8f0ba0bd1d24941823

3 years ago[Service] Refactor stop service sequence 91/245591/4
DongHyun Song [Tue, 13 Oct 2020 01:20:10 +0000 (10:20 +0900)]
[Service] Refactor stop service sequence

When service application needs to terminate by tizen://exit, it
should call wrt.stopService(id).

However, it is called in worker thread with standalone model,
WRTServiceManager::Remove() will be handled in worker thread, not
main thread. then, uv loop sometimes makes abort() or get SIGSEGV.
Then, wrt.stopService(id) should be called in main thread side.

Change-Id: I103bf8f38111db984bb22d0af56c05456851b681
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Make application.getCurrentApplication work 82/245382/7
Youngsoo Choi [Thu, 8 Oct 2020 04:43:49 +0000 (21:43 -0700)]
[Service] Make application.getCurrentApplication work

The appInfo.id of application.getCurrentApplication()
should be its own service id, not 'org.tizen.chromium-efl.wrt-service'.

The object returned from application.getCurrentApplication()
is non re-writable. So, new object is needed to modify the id.

Btw, broadcast APIs need to have daemon id because they are working
on app id of current process.

Change-Id: I71a62f9dc0bccd68fa7e2b9269a2543e651ec64a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agofixup! [Service] Make application.getAppContext work 34/245334/2
Youngsoo Choi [Wed, 7 Oct 2020 08:08:49 +0000 (01:08 -0700)]
fixup! [Service] Make application.getAppContext work

This changes arguments with array.

Change-Id: I4f729b560b581a94c6f2ce1a914baf0bece55038
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Make application.getAppContext work 79/245279/5
Youngsoo Choi [Tue, 6 Oct 2020 09:32:50 +0000 (02:32 -0700)]
[Service] Make application.getAppContext work

This makes service app have its own service app id from
application.getAppContext(), not 'org.tizen.chromium-efl.wrt-service'.

Change-Id: I7378802cc61ea42e2b79559e0d83526d7da665dd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agoMerge "[Service] Apply node worker for standalone model" into tizen accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.104810 accepted/tizen/6.0/unified/hotfix/20201103.000138 accepted/tizen/6.0/unified/hotfix/20210105.042323 accepted/tizen/unified/20201007.090702 submit/tizen/20201005.132203 submit/tizen/20201006.040045 submit/tizen/20201006.040144 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 submit/tizen_6.0_hotfix/20201221.080611 tizen_6.0.m2_release
Bot Blink [Mon, 5 Oct 2020 11:28:21 +0000 (11:28 +0000)]
Merge "[Service] Apply node worker for standalone model" into tizen

3 years ago[Service] Let UI service use web app privileges 10/245210/1 submit/tizen/20201007.014211
Youngsoo Choi [Mon, 5 Oct 2020 10:41:42 +0000 (03:41 -0700)]
[Service] Let UI service use web app privileges

The UI service has used web app privileges
because it resides in Web Runtime browser thread.

This resolves following error:
>> TypeError: wrt_1.wrt.getPrivileges is not a function

Change-Id: I3258513a88b4ae34604ee41b57ac56828656b3ae
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] Apply node worker for standalone model 38/244938/3
DongHyun Song [Mon, 28 Sep 2020 06:32:06 +0000 (15:32 +0900)]
[Service] Apply node worker for standalone model

This change is implemented for

 1) unify source code with global model
 2) isolate v8 variable scope from main thread
   - standalone service application cannot get main global variable
     of service_manaer / service_runner

There is no noticeable memory increase with node worker.

Change-Id: I7bb4576026ce326a3903987c537810093db028b4
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[Service] Update app_id based on input received." into tizen
Bot Blink [Mon, 5 Oct 2020 01:46:30 +0000 (01:46 +0000)]
Merge "[Service] Update app_id based on input received." into tizen

3 years ago[Service] Update app_id based on input received. 02/245102/2
k2.nagaraju [Thu, 1 Oct 2020 17:22:13 +0000 (22:52 +0530)]
[Service] Update app_id based on input received.

If passed parameter is |false| or |undefined| then also
|app_id| is updated as current app id. which is causing
failure in application webtct failure.

Change-Id: Id4ba0c2ea5068620c422585311cfc65ed81ad6c8
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years ago[service] Add notification xwalk extension support for service app. 72/245072/1
k2.nagaraju [Wed, 30 Sep 2020 11:40:30 +0000 (17:10 +0530)]
[service] Add notification xwalk extension support for service app.

For alarm service webtct notification xwalk extension support is needed.
updated the entry points for notification extension.

Change-Id: If4857b74a5929e03c6738858e8a3a9098af90c22
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years ago[Service] Add service type in node worker 10/245010/1
liwei [Tue, 29 Sep 2020 05:44:54 +0000 (13:44 +0800)]
[Service] Add service type in node worker

Add service type in node worker, otherwise value of
"global.serviceType" is 'undefined', service app in
global service cannot work well.

Change-Id: I39fadd30c14b89f20b1bf817fe4d9db46f65eb44
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years ago[Service][TV] Add TV productinfo webapis 62/243762/5
DongHyun Song [Thu, 10 Sep 2020 00:36:51 +0000 (09:36 +0900)]
[Service][TV] Add TV productinfo webapis

Add webapis.productinfo of TV profile.

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

Change-Id: I1c865e7d0b2f2708f09e4de504a52836585c7090
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[D2D] Change path for app routing." into tizen accepted/tizen/unified/20200928.100321 submit/tizen/20200928.023533
Bot Blink [Fri, 25 Sep 2020 04:27:27 +0000 (04:27 +0000)]
Merge "[D2D] Change path for app routing." into tizen

3 years ago[D2D] Change path for app routing. 39/244839/1
Aron kim [Fri, 25 Sep 2020 02:19:38 +0000 (19:19 -0700)]
[D2D] Change path for app routing.

The installation path of the built-in deviceWebServer is changed.
Reroute according to the changed path.

Change-Id: I54b9004811a14e22aba5263921510b1798e43412
Signed-off-by: Aron kim <aron.kim@samsung.com>
3 years ago[Service] Fix not returning handler id of systeminfo 20/244820/2
Youngsoo Choi [Thu, 24 Sep 2020 11:48:29 +0000 (04:48 -0700)]
[Service] Fix not returning handler id of systeminfo

The systeminfo device API should return handler id
to control listener later.

Change-Id: Idc12f8164be0a500a29b1a272899148e3c17aff7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service] APIRouter - xwalk.util.checkPrivilegeAccess 20/243720/8 submit/tizen/20200924.160008
DongHyun Song [Wed, 9 Sep 2020 09:31:38 +0000 (18:31 +0900)]
[Service] APIRouter - xwalk.util.checkPrivilegeAccess

xwalk.util.checkPrivilegeAccess() is an internal API of webapis
for checking the app has proper privilege.
If the app hasn't required privilege, it will throw exception.

For example, When 'tizen.filesystem.listStorages' is handled
  xwalk.utils.checkPrivilegeAccess(
      xwalk.utils.privilege.FILESYSTEM_READ);
it checks if the app has 'filesystem.read' privilege, then,
this overrided checkPrivilegeAccess() can inspect its privileges
defined in config.xml. (not wrt-service's privileges)

This is different from AccessControlManager's webapis drops.

In webapis, there are two ways of privilege checking.
  1) by xwalk.util.checkPrivilegeAccess()
  2) by cynara inspection directly

AccessControlManager purpose should be considered way #2.
webapis's cynara DB checking, it always inspects on wrt-service's.
Then, AccessControlManager should be able to disable webapis which
the app doesn't have required privileges.

Change-Id: I84ce85a580a483c209d354ca2f1b7c3d17c08fb3
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[Service][TV] Refactor for wasm-caching shutdown" into tizen
Bot Blink [Thu, 24 Sep 2020 04:26:51 +0000 (04:26 +0000)]
Merge "[Service][TV] Refactor for wasm-caching shutdown" into tizen

3 years agoMerge "[Service] Refactor builtin-service with node worker" into tizen
Bot Blink [Thu, 24 Sep 2020 04:19:06 +0000 (04:19 +0000)]
Merge "[Service] Refactor builtin-service with node worker" into tizen

3 years ago[Service][TV] Refactor for wasm-caching shutdown 22/244522/7
DongHyun Song [Mon, 21 Sep 2020 08:13:22 +0000 (17:13 +0900)]
[Service][TV] Refactor for wasm-caching shutdown

1) Calls delayShutdown() every wasm cache creation.
 - If built-in service is implemented with async functions, after
   run() is done and there is no running services, node main will
   be terminated by itself 1 minute later.
   delayShutdown() can reset the timeout to 1 min.

2) After finish wasm-caching, notify parent to terminate node worker
 - When wasm-caching is finished, node worker is able to terminate
   by stop messaging

Change-Id: I23b3587d3f3746a451b517c7cd7a70c5f9593302
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Refactor builtin-service with node worker 53/244053/12
DongHyun Song [Mon, 14 Sep 2020 10:02:37 +0000 (19:02 +0900)]
[Service] Refactor builtin-service with node worker

This applies builtin-service to execute on node worker same as
service application with refactoring worker creation/termination.

Change-Id: I105a4e3f91409deb9805ac2ca08e4e62a162c2fa
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[D2D] Add privilege for DeviceWebServer. 70/244670/1 accepted/tizen/unified/20200924.000949 accepted/tizen/unified/20200924.072549 submit/tizen/20200923.100558 submit/tizen/20200924.032230
Aron kim [Wed, 23 Sep 2020 06:02:17 +0000 (23:02 -0700)]
[D2D] Add privilege for DeviceWebServer.

http://tizen.org/privilege/filesystem.read
http://tizen.org/privilege/filesystem.write
http://tizen.org/privilege/mediastorage

Change-Id: I393428a9a6d44ecd6311e425a4d3fe6f76bec29f
Signed-off-by: Aron kim <aron.kim@samsung.com>
3 years ago[service] filesystem web deviceapi call getting hanged. 59/244559/1 accepted/tizen/unified/20200923.093723 submit/tizen/20200922.160009
k2.nagaraju [Mon, 21 Sep 2020 18:32:04 +0000 (00:02 +0530)]
[service] filesystem web deviceapi call getting hanged.

filesystem deviceapi calls are overloaded, some functions
expecting return value. But it is not returning, which is causing
failure of test cases.

Change-Id: I77d08193fcc9aa7505f53836a36b78cb82697b30
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years agoMerge "[Service] update package_id based on input received" into tizen
Bot Blink [Mon, 21 Sep 2020 04:54:55 +0000 (04:54 +0000)]
Merge "[Service] update package_id based on input received" into tizen

3 years ago[Service] update package_id based on input received 79/244279/4
k2.nagaraju [Wed, 16 Sep 2020 17:46:01 +0000 (23:16 +0530)]
[Service] update package_id based on input received

If passed parameter is |false| or |undefined| then also
|package_id| is updated as current package. which is causing
failure in package service webtct failure.

Change-Id: I6823ed175c3e65224e699d3084b28cd27eb3fab9
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years ago[Service] Remove global.gc() 21/244321/5
DongHyun Song [Thu, 17 Sep 2020 07:52:51 +0000 (16:52 +0900)]
[Service] Remove global.gc()

LowMemoryNotification() with repeat timer will replace global.gc()
in JavascriptEnvironment side.

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

Change-Id: I18864ed3de3b3c7ac367f4d247e3e1b81a9c9564
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agoMerge "[Service]Add more xwalk extensions for service app" into tizen
Bot Blink [Wed, 16 Sep 2020 02:33:48 +0000 (02:33 +0000)]
Merge "[Service]Add more xwalk extensions for service app" into tizen

3 years ago[Service]Add more xwalk extensions for service app 25/240525/5 accepted/tizen/unified/20200921.095059 submit/tizen/20200917.024129
Chunling Ye [Tue, 4 Aug 2020 07:41:28 +0000 (15:41 +0800)]
[Service]Add more xwalk extensions for service app

1.add xwalk extensions: exif/content/download/account/iotcon
2.fix window not defined error for exif extension

Change-Id: I5c53c8d4bbc0fc0267e05c14b50731f628024732
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
3 years ago[Service] Call global.gc() when terminating a service 79/243879/8
Youngsoo Choi [Fri, 11 Sep 2020 01:38:21 +0000 (18:38 -0700)]
[Service] Call global.gc() when terminating a service

This calls global.gc() when a service app is terminated.
Approximately, 1 MB memory is saved by this.

Also, the main thread is immediately terminated
when there's no running worker thread for service app.

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

Change-Id: Iab70e9aadedb19295a3784fb5cc3dc1300412995
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[D2D] Modify to not launch d2d app repeatedly. 83/243783/3 accepted/tizen/unified/20200911.143423 submit/tizen/20200910.160006 submit/tizen/20200911.013850
Aron kim [Thu, 10 Sep 2020 05:16:15 +0000 (22:16 -0700)]
[D2D] Modify to not launch d2d app repeatedly.

When the remote client launching the d2d app in device home,
change to connect only the websocket if the d2d app status
is visible.

Change-Id: Iab323ee86cc3a979521daf6c3a6b7485904233a6
Signed-off-by: Aron kim <aron.kim@samsung.com>
3 years ago[Service] Fix memory leak with worker isolation 15/243515/14
DongHyun Song [Wed, 2 Sep 2020 08:16:19 +0000 (17:16 +0900)]
[Service] Fix memory leak with worker isolation

1) apply worker.terminate(), instead of process.exit()
2) unload extensions to release extensions

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

Change-Id: I575fa68d72280d542e36add0d5d7f4f27adb98bc
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Introduce worker isolation 85/242985/13
DongHyun Song [Wed, 2 Sep 2020 08:16:19 +0000 (17:16 +0900)]
[Service] Introduce worker isolation

node-vm, previous way to isolate service applications, has a big
problem of global scope sharing with Tizen webapis. Becuase tizen
webapi objects are registered on global scope, with DeviceAPIRouter
overrieded APIs are shared by each service application calling.
In addition, require() is also running on global scope, even though
apps are calling require() in their sandbox context, imported
modules are running global scope.

Thus, isolation of global scope is most important for global wrt-
service. Node worker is very proper way to isolate each service
application. With node worker, v8::Isolatee and v8::IsolateData
are created separately. Then, each service app is able to have
each independent global object.

Reference patch:
  https://review.tizen.org/230796/

Change-Id: Ic4008ed7a8331327eeb84facba55418e971e2271
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years agofixup! [D2D] Support wgt-in-rpm for d2d server 81/243481/1 accepted/tizen/unified/20200908.003025 submit/tizen/20200907.120312 submit/tizen/20200907.215710
Youngsoo Choi [Mon, 7 Sep 2020 11:53:21 +0000 (04:53 -0700)]
fixup! [D2D] Support wgt-in-rpm for d2d server

This moves libtzplatform-config for all profiles.

Change-Id: I82c17747678ae0dc2afa662c6ea5834f4fd597d8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[D2D] Set on-boot to false 49/243349/3 submit/tizen/20200907.030020
Youngsoo Choi [Mon, 7 Sep 2020 02:20:12 +0000 (19:20 -0700)]
[D2D] Set on-boot to false

This sets on-boot to false.
The d2d server will be optionally launched later.

Change-Id: Iab66894fd1e59ad21b1f81a6a9bb616319052ec5
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agofixup! [D2D] Support wgt-in-rpm for d2d server 16/243316/1 accepted/tizen/unified/20200906.032654 submit/tizen/20200904.131234
Youngsoo Choi [Fri, 4 Sep 2020 13:03:42 +0000 (06:03 -0700)]
fixup! [D2D] Support wgt-in-rpm for d2d server

The d2d server installation wasn't worked since it was installed in
read-write area. The OBS only makes platform image from read-only area.

So, this tries to locate the d2d server sources in read-only area.

Change-Id: Ie4d4e79c90ea5f8d55860b8669213933a7a58f54
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years agoChange base repo for DA 85/243185/1
jaekuk, lee [Thu, 3 Sep 2020 22:46:33 +0000 (07:46 +0900)]
Change base repo for DA

Change-Id: I37d020e924bf59c974bb68c73c89cb41b6efe3f3
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
3 years ago[D2D] Support wgt-in-rpm for d2d server 24/243124/6 submit/tizen/20200903.112022
Youngsoo Choi [Wed, 2 Sep 2020 12:04:32 +0000 (05:04 -0700)]
[D2D] Support wgt-in-rpm for d2d server

This supports signing, packaging and installing for d2d server.
After installing the d2d server, the wgt file is deleted to save ROM size.

Currently, d2d sever is enabled by default for public profile
since it is public feature.

If you want to use d2d server feature for the other profiles,
please use d2d option like below:

$ ./tizen/build/build_tv.sh --d2d

Change-Id: Ief216021799723782a5777aba9c19b940f6c2cb8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[D2D] Introduce GlobalDeviceWebServer for d2dservice. 77/243077/2 submit/tizen/20200903.075720
Aron kim [Thu, 3 Sep 2020 04:04:57 +0000 (21:04 -0700)]
[D2D] Introduce GlobalDeviceWebServer for d2dservice.

Entry point for using d2dservice supported apps.
When connecting to the server, a list of executable apps
is displayed and can be launching.

Change-Id: Iabd4ce5ab29e2e6b7033ad2878f23311442e3dc7
Signed-off-by: Aron kim <aron.kim@samsung.com>
3 years agofixup! [UWE] Notify internal API compatibility when installing rpm 98/242598/2
Youngsoo Choi [Fri, 28 Aug 2020 07:04:06 +0000 (00:04 -0700)]
fixup! [UWE] Notify internal API compatibility when installing rpm

This ignores chromium-efl-squashfs for checking chromium-efl revision.

Change-Id: Ifdd2611495b869b2c8273e43c13dbf4085e35861
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Addon] Fix various issues with addon 51/241951/3
ws29.jung [Fri, 21 Aug 2020 03:38:38 +0000 (12:38 +0900)]
[Addon] Fix various issues with addon

There was few issues with running addon over Webapps.

- Browser side addonapi.windows did not export properly
- Missing null check with addonInstance.activate
- Return addaonAvailable true even addon is not active

Change-Id: Ibfc58c0213498ea4538eda31ab16725c5c529e2e
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
3 years agoMerge "[Addon] Fix argument passing to EventEmitter" into tizen accepted/tizen/unified/20200826.133035 submit/tizen/20200825.103658
Bot Blink [Tue, 25 Aug 2020 10:34:48 +0000 (10:34 +0000)]
Merge "[Addon] Fix argument passing to EventEmitter" into tizen

3 years agoMerge "[Addon] Check process type properly when loading addonapi" into tizen
Bot Blink [Tue, 25 Aug 2020 10:33:06 +0000 (10:33 +0000)]
Merge "[Addon] Check process type properly when loading addonapi" into tizen

3 years agoMerge "[UWE] Notify internal API compatibility when installing rpm" into tizen
Bot Blink [Tue, 25 Aug 2020 10:31:00 +0000 (10:31 +0000)]
Merge "[UWE] Notify internal API compatibility when installing rpm" into tizen

3 years ago[Service] TypeMismatchError causing because of passing undefined as parameter. 80/241880/4
k2.nagaraju [Thu, 20 Aug 2020 10:56:48 +0000 (16:26 +0530)]
[Service] TypeMismatchError causing because of passing undefined as parameter.

systeminfo tizen web api as optional parameters, for optional parameters passing
|undefined| causing this error. Added code for handling these scenarios.
https://www.tizen.org/tv/web_device_api/systeminfo

Change-Id: I2c156c2b2ab06e71cc00db45891e48d0b6beec9a
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
3 years ago[Addon] Check process type properly when loading addonapi 10/241410/1
hyunduk.kim [Thu, 20 Aug 2020 02:36:17 +0000 (11:36 +0900)]
[Addon] Check process type properly when loading addonapi

In checking the condition to handle the path for addonapi
when require('addonapi') is called, it needs to check the
process type to know which process calls the module.

However, there's improper condition for process type.
That makes it unable to use addonapi regardless of process type.

This changes the condition so it can use addonapi
when the process type is valid.

Change-Id: I8c58c5f8d98041c2e21ce970b7a5a1ab927f8cf6
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
3 years ago[Service] Expose app id related APIs to public and add getCallerAppId 03/239803/6
Youngsoo Choi [Thu, 30 Jul 2020 02:35:16 +0000 (19:35 -0700)]
[Service] Expose app id related APIs to public and add getCallerAppId

This exposes getServiceId and getPackageId APIs to puglic profile.

Also, this newly adds getCallerAppId for the use of service apps.
For instance, it can be used when a service app wants to make
a messageport connection with a caller web app.

If there's no caller app, it returns ''.

Change-Id: Icfe221cb23acfb3587b38bd75fdce28ea5d2a23e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[UWE] Notify internal API compatibility when installing rpm 98/238898/8
Youngsoo Choi [Wed, 15 Jul 2020 08:22:52 +0000 (01:22 -0700)]
[UWE] Notify internal API compatibility when installing rpm

Previously, the second and third versions haven't been used.
So, this removes the unused versions except for the wrtjs version
and newly adds {TPK_VERSION} and {INTERNAL_API_REVISION} like below:

{TPK_VERSION}.{INTERNAL_API_REVISION}.{WRTJS_VERSION}

The {TPK_VERSION} needs for deploying tpk file via app server.
The {INTERNAL_API_REVISION} needs to check API compatibility
between chromium-efl and wrtjs.

In addition, this notifies internal API version compatibility result
using the {INTERNAL_API_REVISION} when installing rpm file.
The internal API compatibility can be guaranteed only if the
{INTERNAL_API_REVISION} is same with chromium-efl.

'\033[32m' means green, '\033[31m' means red color, and '\033[m' means
end of the colors in the %pre script.

Change-Id: Ib00f4bf3523e9e022c388b838e8d96cc7089d599
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Addon] Fix argument passing to EventEmitter 55/240855/1
ws29.jung [Wed, 12 Aug 2020 06:14:55 +0000 (15:14 +0900)]
[Addon] Fix argument passing to EventEmitter

When function argument list '...args' is handled as 'args,
it is no longer can be used as multiple argument list
but a single object.
To keep and pass same argument list through Emitter functions,
inappropariate use of 'args' is now changed to '...args'.

Change-Id: Ia978fbfd9aa337d027442813c04808e903b5bd12
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
3 years ago[VD] Change url path for tv_5.5_nikem 93/240393/1 accepted/tizen/unified/20200811.050404 submit/tizen/20200810.061427
liwei [Thu, 6 Aug 2020 04:22:17 +0000 (12:22 +0800)]
[VD] Change url path for tv_5.5_nikem

When build wrtjs in tv_5.5_nikem, gbs.conf should use below url:
"http://168.219.244.109/products/tv/official/2020/ONEMAIN/NikeM/latest/",
otherwise build error will happen.

Build command:
./tizen/build/build_tv.sh  -P tztv_5.5_arm-nikem -R {GBS-ROOT of chromium-efl}/local/repos/ -C

Change-Id: Iaae742de46134ba8e0be66ce9ace4e1b65faf17d
Signed-off-by: liwei <wei90727.li@samsung.com>
3 years agoMerge "[Service] Check privilege of systeminfo device api" into tizen
jaekuk lee [Thu, 6 Aug 2020 01:08:07 +0000 (01:08 +0000)]
Merge "[Service] Check privilege of systeminfo device api" into tizen

3 years ago[Service] Check privilege of systeminfo device api 15/239015/5
Chunling Ye [Tue, 21 Jul 2020 05:10:22 +0000 (13:10 +0800)]
[Service] Check privilege of systeminfo device api

1. change apply to call function for undefined 1 error
2. add privilege check for others api: getPropertyValueArray/
addPropertyValueChangeListener/addPropertyValueArrayChangeListener.

Change-Id: Ic136c5a9307cfac218f219060b7fdf55a237c568
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
3 years agofixup! [Service] Routing API - tizen.application 88/239288/3 accepted/tizen/unified/20200727.075550 submit/tizen/20200727.002422
Youngsoo Choi [Thu, 23 Jul 2020 10:45:34 +0000 (03:45 -0700)]
fixup! [Service] Routing API - tizen.application

This resovles folloinwg error on public target:
TypeError: Cannot read property 'getServiceId' of undefined

The public profile has the webapis in sandbox, not in global.

Change-Id: I99a2eb4ff373bf8103c0ef9e6392f96e7f6ffb09
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
3 years ago[Service][Routing API] Set file mode as 'rw' default 62/239162/4 submit/tizen/20200723.045512 submit/tizen/20200724.012145
DongHyun Song [Wed, 22 Jul 2020 07:58:12 +0000 (16:58 +0900)]
[Service][Routing API] Set file mode as 'rw' default

If mode is not given by application, undefined 'mode' value throws
exception in tizen.filesystem.resolve() due to type mismatching.

According to its default file mode, this patch set it 'rw'

in file_system_manager.js

function resolve() {
...
    if (!args.has.mode) {
        args.mode = 'rw';

Change-Id: I18b44c61c53c1683438a65e88f1ebde50263288a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
3 years ago[Service] Routing API - tizen.filesystem 88/238888/5
DongHyun Song [Mon, 20 Jul 2020 04:53:54 +0000 (13:53 +0900)]
[Service] Routing API - tizen.filesystem

This patch will support
  resolve(DOMString location,
          FileSuccessCallback onsuccess,
          optional ErrorCallback? onerror,
          optional FileMode? mode);

Related chromium-efl patch:
  https://review.tizen.org/gerrit/238885
  wrt.resolveVirtualRoot() must be released first.

Change-Id: I5d3cbc8d9267032bf8ee421ade0d9930111c7eea
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[Service][VD] Stop service app if service app has exception" into tizen
Youngman Son [Fri, 17 Jul 2020 10:07:23 +0000 (10:07 +0000)]
Merge "[Service][VD] Stop service app if service app has exception" into tizen

4 years ago[Service][VD] Stop service app if service app has exception 51/238551/7
DongHyun Song [Wed, 15 Jul 2020 02:34:20 +0000 (11:34 +0900)]
[Service][VD] Stop service app if service app has exception

If onRequest has Javascript exception, it cannot execute reamining
code. It is not highly able to reach tizen.application...exit().
Thus, with onRequest exception, it is proper that the app is closed
automatically.

Change-Id: I8e4d2cdc09013f674fb7ddcf40dfbb18ea6a86e7
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[Service] Routing API - tizen.package" into tizen accepted/tizen/unified/20200717.124719 submit/tizen/20200716.094606
Youngsoo Choi [Wed, 15 Jul 2020 07:42:58 +0000 (07:42 +0000)]
Merge "[Service] Routing API - tizen.package" into tizen

4 years agoMerge "[VD] Remove logic of delete expired cache" into tizen
DongHyun Song [Wed, 15 Jul 2020 06:25:53 +0000 (06:25 +0000)]
Merge "[VD] Remove logic of delete expired cache" into tizen

4 years ago[Service] Routing API - tizen.package 50/238550/1
DongHyun Song [Wed, 15 Jul 2020 02:11:19 +0000 (11:11 +0900)]
[Service] Routing API - tizen.package

This patch will support
  PackageInformation getPackageInfo(optional PackageId? id);

This API need below privilege
  http://tizen.org/privilege/package.info

Change-Id: Ie737b1d11912f6c6e7ece05d5cea1a5d89434b16
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[Service] Routing API - tizen.application 70/237970/8 accepted/tizen/unified/20200715.002102 submit/tizen/20200714.080140
DongHyun Song [Tue, 7 Jul 2020 05:19:06 +0000 (14:19 +0900)]
[Service] Routing API - tizen.application

This is for overriding layer of tizen.application object to support
global wrt-service.

Base patch:
  https://review.tizen.org/gerrit/229772/

Change-Id: I066fb2121f3caaaa0d8226b3d15f627d360df716
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[VD] Remove logic of delete expired cache 38/238438/1
liwei [Tue, 14 Jul 2020 02:18:47 +0000 (10:18 +0800)]
[VD] Remove logic of delete expired cache

WebAppService handle this logic, so WRT remove related logic.

Related Patch:
https://review.tizen.org/gerrit/238437/

Change-Id: I2cb5345e5d72a55c7d550c66184fdc1d9f1db464
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years agoMerge "[Service][VD] Fix mount point remain issue" into tizen
Youngman Son [Tue, 14 Jul 2020 02:10:28 +0000 (02:10 +0000)]
Merge "[Service][VD] Fix mount point remain issue" into tizen

4 years ago[Service][VD] Fix mount point remain issue 32/238332/2
DongHyun Song [Mon, 13 Jul 2020 01:30:29 +0000 (10:30 +0900)]
[Service][VD] Fix mount point remain issue

While stopService, program.exit() is called synchronously. It will
terminate wrt-service process directly, then mount point is still
remaining without umount handling.

Change-Id: Ife943100cd6a8cd814fd0fb63693195459b8b607
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[UWE] Generate tpk file for upgradable WRTjs" into tizen
Sungsik Han [Fri, 10 Jul 2020 05:19:33 +0000 (05:19 +0000)]
Merge "[UWE] Generate tpk file for upgradable WRTjs" into tizen

4 years ago[Service][Builtin] Stop function of wasm-builder 09/237009/12
DongHyun Song [Mon, 6 Jul 2020 02:23:40 +0000 (11:23 +0900)]
[Service][Builtin] Stop function of wasm-builder

wasm-builder builtin service is starting when an application, which has
'wasm.caching.support' metadata, is installed. But if a user try to
launch the application as soon as its installation done, both wasm cache
buillding of builtin service and UI application are able to overlap by
its wasm compiling time.
Thus, builtin service has to be stopped when UI application is starting.

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

Change-Id: Ieff3fcf529cc3f2b72ad5d921d16cee6b278092c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[UWE] Generate tpk file for upgradable WRTjs 54/237054/10
Youngsoo Choi [Tue, 16 Jun 2020 02:28:15 +0000 (19:28 -0700)]
[UWE] Generate tpk file for upgradable WRTjs

Once updated chromium-efl is selected in launching process,
the corresponding WRTjs should be used to guarantee internal API
compatibility between them.

For that, the WRTjs tpk file needs to be prepared
as per deployed chromium-efl version and target profile like below:

* Public profile
Note that the public profile has only one type of tpk.
+----------------+---------------+-----------------------+
| Preloaded ver. | Deployed ver. | chromium-efl & WRTjs  |
+----------------+---------------+-----------------------+
| M76            | M76 or above  | Use tpk path          |
+----------------+---------------+-----------------------+

* Product TV profile
+----------------+---------------+-----------------------+
| Preloaded ver. | Deployed ver. | chromium-efl & WRTjs  |
+----------------+---------------+-----------------------+
| M76            | M76 (patch)   | Use tpk path          |
+----------------+---------------+-----------------------+
| M76            | Above M76     | Use upgraded tpk path |
+----------------+---------------+-----------------------+

* The WRTjs tpk path and build commands:
{TZ_SYS_RO_APP}/org.tizen.wrtjs
$ ./tizen/build/build_standard_armv7l.sh --use-tpk
$ ./tizen/build/build_tv.sh --use-tpk

* the upgraded WRTjs tpk path and build command, only for tv:
{TZ_SYS_RO_APP}/org.tizen.wrtjs-upgrade
$ ./tizen/build/build_tv.sh --use-tpk-upgrade

* The generated tpk file will be located in below after the build:
/PATH/TO/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/tmp

Change-Id: I8c57cbf101f2a495ea064d34548dc146c4dfe32a
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service] Implement routing layer for web deivce API 72/229772/16 submit/tizen/20200709.080654
Youngsoo Choi [Tue, 7 Jul 2020 04:55:48 +0000 (13:55 +0900)]
[Service] Implement routing layer for web deivce API

This patch introduce an wrapper class to support Tizen/Product
webapis compatibility of global model.

Change-Id: Ibb7171937afd332c00902f819555a0015441159d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoApply typescript 64/236564/6
SangYong Park [Thu, 28 May 2020 23:04:54 +0000 (08:04 +0900)]
Apply typescript

Apply typescript to maintain consistency with js api from chromium-efl.
If you change with wrtjs and chromium-efl together,
please append '-R {GBS-ROOT of chromium-efl}/local/repos/ -C' to build command.

Change-Id: I0231b02d4d3f79e79b0275a130929e7c46bf7d62
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[Service][VD] Add getPackageId for eden preview plugin 64/237664/2
DongHyun Song [Thu, 2 Jul 2020 08:20:33 +0000 (17:20 +0900)]
[Service][VD] Add getPackageId for eden preview plugin

Add getPackageId() for eden preview plugin, which is using package
ID as unique key of preview DB.

  getPackageId: return package ID from tizen.application's info
  getServiceId: return service ID of internal_id

Change-Id: I587a1815d4783d5dfc692aec6b0a4a9d4401cfd8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoAdd typescript build tools 63/236563/3
SangYong Park [Wed, 17 Jun 2020 23:37:50 +0000 (08:37 +0900)]
Add typescript build tools

. node.js v12.13.1
. node_modules
  - @types/node@14.0.5
  - typescript@3.9.3

Change-Id: Iaeea2f8bfa2da3a0229bb42b6b323e473acc7fef
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[VD][Service] Add getApplicationId() for extensions 79/237379/3
DongHyun Song [Tue, 30 Jun 2020 01:24:03 +0000 (10:24 +0900)]
[VD][Service] Add getApplicationId() for extensions

webapis.getApplicationId() will be used to get the current application
ID by eden preview webapis.
Previously ContentServiceManager is getting the sender application ID
from messsage port parameter, but in case of global wrt-service, it is
org.tizen.chromium-efl.wrt-service, not expected application ID.
So that eden preview webapi can get the intended application ID, this
API will be used in eden preview side.

Change-Id: Ibfeddefe384da92b7ecbeb3d72f14bf5c26c1eef
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[WRTjs][VD] Change correct base repo for TV profile 83/236883/2
Juhyun Choi [Tue, 23 Jun 2020 05:54:43 +0000 (14:54 +0900)]
[WRTjs][VD] Change correct base repo for TV profile

 Base repo should be
 http://168.219.244.109/base/tizen-6.0-base/standard/latest/
 - for developers
or
 http://168.219.245.245/base/tizen-6.0-base/standard/latest/
 - for Cosmos system

Reference:
https://review.tizen.org/gerrit/236618/

Change-Id: I2ebefad7af19996a6545a9c42f3210dd4946b00a
Signed-off-by: Juhyun Choi <honest.choi@samsung.com>
4 years agofixup! [VD] Flush cookie / local storage in finalize 94/236594/1
liwei [Thu, 18 Jun 2020 09:44:40 +0000 (17:44 +0800)]
fixup! [VD] Flush cookie / local storage in finalize

In web_applicaton, should use this.flushData(), otherwise
there is error "flushData is not defined"

Change-Id: I8e3d8689cf3a0ebd10e637e5131633f4c2258d6c
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years ago[VD] Flush cookie / local storage in finalize 11/236111/1 accepted/tizen/unified/20200619.004621 submit/tizen/20200618.072514
liwei [Mon, 15 Jun 2020 02:50:28 +0000 (10:50 +0800)]
[VD] Flush cookie / local storage in finalize

When app call tizen.application.exit() directly, WRT will get "before_quit"
firstly, then set webapplciaton to null(_this.webApplication = null;), then
when WRT get "suspend" event, bcz webapplication is null, WRT will not flush
cookie / local storage.

Change-Id: I14304af991f583da2b985f31f8f8a35c207327c3
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years ago[VD] Fix RWI popup issue while preloading 93/222893/4 submit/tizen/20200615.012119
DongHyun Song [Thu, 4 Jun 2020 23:24:58 +0000 (08:24 +0900)]
[VD] Fix RWI popup issue while preloading

In case of preloading, a user cannot close the guide dialog. So
This patch will close the guide dialog automatically with timeout.

Change-Id: I8d26f5d273b4ea4da616d458fa21b439f867e450
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[Service] Set V8 flags for wasm builder" into tizen
DongHyun Song [Tue, 9 Jun 2020 05:32:05 +0000 (05:32 +0000)]
Merge "[Service] Set V8 flags for wasm builder" into tizen

4 years ago[Product TV] Update gbs.conf with the official repos 54/235654/1
Youngsoo Choi [Mon, 8 Jun 2020 10:22:33 +0000 (03:22 -0700)]
[Product TV] Update gbs.conf with the official repos

The product gbs repo has been changed with the official repos.

The gbs root folders having regular pattern are using version macros
and the others are using specific tizen version numbers.

Change-Id: I4343c9ecd3598da52ea95e4117ee67bbfed904f0
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service] Set V8 flags for wasm builder 44/235244/3
DongHyun Song [Wed, 3 Jun 2020 04:24:51 +0000 (13:24 +0900)]
[Service] Set V8 flags for wasm builder

wrt.tv.setWasmFlags() set V8 flags same as UI application's renderer.

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

Change-Id: Ic4c9f9ec752f2b1569b9e78d1f451b859390a5bc
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoUpdate gbs.conf with the latest 12/234712/2 accepted/tizen/unified/20200529.124114 submit/tizen/20200528.221113
Youngsoo Choi [Thu, 28 May 2020 06:31:59 +0000 (23:31 -0700)]
Update gbs.conf with the latest

This updates gbs.conf for product TV and DA.

Change-Id: I80b9f1339eccb372200f0623346ade5427f62d99
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>