platform/framework/web/wrtjs.git
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[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[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>
3 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

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

3 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

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

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

3 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>
3 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>
3 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>
4 years agoImplements wasm_builder built-in service 88/234288/10
DongHyun Song [Mon, 25 May 2020 05:57:31 +0000 (14:57 +0900)]
Implements wasm_builder built-in service

1. wasm_builder finds .wasm files based on given WebApp and call
   compileWasmForCaching.
2. compileWasmForCaching creates a cache file(compressed machine code).
3. If the cache is created succesfully, you may find the cache
   file, for example, as below. (Aware that this is one-line!)
   /home/owner/.cache/Apps/WebAppsCache/IBcZLx54d2.WasmCoITest
   /034bf102392fb62cb3d8c4bb4118cbed7df7731c.wasm_cache

Change-Id: I73247f28ef405068f6dd45005312b06621f67f2a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Signed-off-by: Juhyun Choi <honest.choi@samsung.com>
4 years agoMerge "[Service] wasm caching in built-in service" into tizen
SangYong Park [Thu, 21 May 2020 08:01:40 +0000 (08:01 +0000)]
Merge "[Service] wasm caching in built-in service" into tizen

4 years ago[Service] wasm caching in built-in service 64/230764/23
DongHyun Song [Tue, 14 Apr 2020 06:22:09 +0000 (15:22 +0900)]
[Service] wasm caching in built-in service

This will be a service application working as build WASM caching on
installation time.
Actual implementation will be developed by WASM part.

** WASM caching **

Regarding the performance of creating wasm cache on first loading
time, this patch will take the time on installation time to service
application side.
Service application is first launched while its installation time
by ContentServiceManager of TV component, then it is able to create
wasm cache ahead of UI application run.

However, if a user try to launch the app as soon as it is installed,
this wasm caching is ineffective or raising performance loss by
racing simultaneous generation of cache files.
This is important design point to consider.

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

Change-Id: I9b8c1630ddf22036f4dd98bbe1f962443e589a3f
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMove finalize logic to quit procedure 41/233941/2
liwei [Wed, 20 May 2020 11:05:33 +0000 (19:05 +0800)]
Move finalize logic to quit procedure

Because in current logic, "before-quit" will not be invoked,
so webApplication.finalize() is not called, it will cause RWI
port is not relased / dialog is not cancled/..., so move to
"quit" procedure.

After "Fix terminate crash issue by appfw" patch, "before-quit"/
'will-quit' will not be invoked(https://review.tizen.org/gerrit/233246/).

Change-Id: I0623b2d1147f1b1c31e809f67f270ae2974662cc
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years agoPrevent multiple notification permission popup 58/233058/1 accepted/tizen/unified/20200512.052717 submit/tizen/20200512.042615
SangYong Park [Tue, 12 May 2020 01:05:54 +0000 (10:05 +0900)]
Prevent multiple notification permission popup

Keep previous user choice of notification permmision in memory.
and, use it when notification permision is requested.

Change-Id: I7413fef73e0f2bf5eca0ced20de0f508435ee592
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[Service] Change privilege condition for application.launch / launchAppControl 40/232940/2
liwei [Sat, 9 May 2020 05:27:27 +0000 (13:27 +0800)]
[Service] Change privilege condition for application.launch / launchAppControl

Confirmed with privilege member, in privilege db, If declare an application.launch
privilege, the app will not have an application.launch privilege, but an
appmanager.launch privilege, so add "appmanager.launch" in privilege precondition,
otherwise service app can not use tizen.application.launch() /
tizen.application.launchAppControl().

Change-Id: I33b08d9221e718179228490086ab230884152c9b
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years ago[VD] Segregates NativeWebRuntime for TV profile 14/231814/15 accepted/tizen/unified/20200508.045044 submit/tizen/20200507.023320 submit/tizen/20200507.080200
DongHyun Song [Fri, 24 Apr 2020 08:45:45 +0000 (17:45 +0900)]
[VD] Segregates NativeWebRuntime for TV profile

Adds TV APIs for disk cache setting and handling app-control data
explicitly to simplify NotifyAppControl's original logic.

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

Change-Id: Id82d6e3010a69ccc0116a15f473d32483fc7a6a2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "Defer showing window when appcontrol-reset is being done" into tizen accepted/tizen/unified/20200428.130027 submit/tizen/20200427.110808 submit/tizen/20200428.010003
jaekuk lee [Mon, 27 Apr 2020 10:46:14 +0000 (10:46 +0000)]
Merge "Defer showing window when appcontrol-reset is being done" into tizen

4 years agoDefer showing window when appcontrol-reset is being done 28/231828/4
Surya Kumar [Tue, 18 Feb 2020 13:33:05 +0000 (19:03 +0530)]
Defer showing window when appcontrol-reset is being done

In Appcontrol-reload case, if window is shown before frame rendered,
expired content is visible for a considerable time. Avoid it by
showing the window only after frame has been rendered

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

Change-Id: Icd4877727488e40ffe65f5699c0d3a49dc35a208
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
(cherry picked from commit a4a4da6c20b97bb809b579b050c4dc07f5f3e7f1)

4 years ago[Service][VD] Remove guard of wrt-service config 33/231933/2
DongHyun Song [Mon, 27 Apr 2020 01:26:16 +0000 (10:26 +0900)]
[Service][VD] Remove guard of wrt-service config

New wrt-service was enabled from below patch.
This will copy plugins.json to load webapis.

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

Change-Id: I27587a400cefb9202113309aa49cb62f91ba8f4a
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[Addon] Fix showMessageBox function" into tizen accepted/tizen/unified/20200427.125816 submit/tizen/20200420.064919 submit/tizen/20200420.225031 submit/tizen/20200421.002148 submit/tizen/20200423.234921 submit/tizen/20200427.004329
jaekuk lee [Fri, 17 Apr 2020 07:37:47 +0000 (07:37 +0000)]
Merge "[Addon] Fix showMessageBox function" into tizen

4 years agoMerge "[Service][Global] Support standalone model" into tizen
Youngsoo Choi [Fri, 17 Apr 2020 02:10:07 +0000 (02:10 +0000)]
Merge "[Service][Global] Support standalone model" into tizen

4 years ago[Addon] Fix showMessageBox function 97/230797/2
ws29.jung [Tue, 14 Apr 2020 07:39:33 +0000 (16:39 +0900)]
[Addon] Fix showMessageBox function

Old version of Electron only had 'showMessageBox' function,
and it handled sync and async mode under binded C++ function.
Now new Electron export 'showMessageBoxSync' function separatly
and it works as sync mode of old 'showMessageBox'.
To handle both functions with one source code, this patch makes
addonapi method to use logical function fallback.

Change-Id: I97c06ebff302c7e3770166fe162c53ea251f05b0
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
4 years agoMerge "[Addon] Add 'once' method for wrappedEventEmitter" into tizen
jaekuk lee [Mon, 13 Apr 2020 07:10:21 +0000 (07:10 +0000)]
Merge "[Addon] Add 'once' method for wrappedEventEmitter" into tizen

4 years ago[Service][Global] Support standalone model 65/228865/13
DongHyun Song [Fri, 10 Apr 2020 07:11:04 +0000 (16:11 +0900)]
[Service][Global] Support standalone model

This patch will support wrt-service is working same as legacy
wrt-service model.

Related path:
  https://review.tizen.org/gerrit/228864/

Change-Id: I0858d177ceadab49ffd7bfcf33dfda69b2230424
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[Addon] Add 'once' method for wrappedEventEmitter 26/230326/1
hyunduk.kim [Thu, 9 Apr 2020 08:51:31 +0000 (17:51 +0900)]
[Addon] Add 'once' method for wrappedEventEmitter

This change will add a new method 'once'
which will work as same as 'once' of EventEmitter.

Change-Id: Ib218727447a79c2d1a596e5fc972e5748caca42a
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
4 years ago[Service] Refactor start/stop service codes 21/228621/2
SangYong Park [Tue, 24 Mar 2020 05:46:09 +0000 (14:46 +0900)]
[Service] Refactor start/stop service codes

UI and global service implementation of start/stop service have
been merged into one. and, remove unnecessary codes.

Change-Id: Ic27ca887316b48e8e2bb23202ee238ecd62b001d
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[Service][Global] Remove ServiceClient 03/227903/8 accepted/tizen/unified/20200402.163217 submit/tizen/20200402.083500
DongHyun Song [Tue, 31 Mar 2020 01:44:06 +0000 (10:44 +0900)]
[Service][Global] Remove ServiceClient

ServiceClient is replaced by separated simple module like as
wrt-service-client.
  https://github.sec.samsung.net/VD-WebPlatform/wrt-service-client

So, this patch will remove all ServiceClient related calls

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

Change-Id: I8bfb95d89f72988912c64b087c72ee9669ce6ea2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[Product TV] Support eden plugins 11/227411/2 accepted/tizen/unified/20200325.055717 submit/tizen/20200324.104516
Youngsoo Choi [Mon, 9 Mar 2020 12:35:03 +0000 (05:35 -0700)]
[Product TV] Support eden plugins

The webapis object is exposed to service app context
to support eden extension plugins.

Change-Id: I8586dd5c16af8c5c282742ea9647f91be6382d00
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years agoMerge "[Service] Refactor loading procedure for extension plugins" into tizen accepted/tizen/unified/20200324.101652 submit/tizen/20200320.065035 submit/tizen/20200323.011218
jaekuk lee [Fri, 20 Mar 2020 01:05:36 +0000 (01:05 +0000)]
Merge "[Service] Refactor loading procedure for extension plugins" into tizen

4 years ago[M76 Migration] Change background color in tv 02/227902/1 submit/tizen/20200318.094523 submit/tizen/20200319.100203
SangYong Park [Tue, 17 Mar 2020 06:09:36 +0000 (15:09 +0900)]
[M76 Migration] Change background color in tv

Apply black instread of transparent to background color after below patch is merged.
(https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/226493/)
That patch made proper background color. so change background color to explicitly
set transparent color.

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

Change-Id: I6c8b818cc9da243abc4b50975c7d84f779a0e7ae
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[Service] Refactor loading procedure for extension plugins 10/227410/4
Youngsoo Choi [Mon, 9 Mar 2020 12:35:03 +0000 (05:35 -0700)]
[Service] Refactor loading procedure for extension plugins

The plugins.json is copied to tizen-extensions-crosswalk-service
to be referred by extension loader.

Note that this doesn't include plugins.json for release product tv
to avoid conflicts with legacy wrt-service.

Change-Id: I63e4aba3028db3398e0451a37d61dd19007eb35b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years agoDo not Enable Tizen Device APIs if No Addon 33/225833/2
ws29.jung [Tue, 25 Feb 2020 02:20:06 +0000 (11:20 +0900)]
Do not Enable Tizen Device APIs if No Addon

Tizen Device APIs for Addon enabled even when there is no addon is installed.
Now Tizen Device API will enable when at least one addon is installed.

Change-Id: I8edd3ce862aa2d2cb94ea0c269300f701fdb8116
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
4 years ago[Product TV] Update Nikem gbs repository 02/227202/2
Youngsoo Choi [Tue, 10 Mar 2020 09:29:17 +0000 (02:29 -0700)]
[Product TV] Update Nikem gbs repository

The Nikem gbs repository has been updated.

Change-Id: I470c1fc84e57f79f118cea74f005834b9e35daa2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[M76 Migration][Service][Global] Fix Failure of Onstop 52/226852/2 accepted/tizen/unified/20200311.130927 submit/tizen/20200309.024114 submit/tizen/20200310.042712
k2.nagaraju [Tue, 28 Jan 2020 13:21:39 +0000 (18:51 +0530)]
[M76 Migration][Service][Global] Fix Failure of Onstop

This guarantees success callback of start API can be called
when launching process is completely finished.

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

Change-Id: I56c2bc28501a94f9bffc4f499b94b54c622ca61f
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
4 years ago[M76 Migration][Service][Global] Support multiple connections 51/226851/1
Youngsoo Choi [Fri, 3 Jan 2020 07:49:01 +0000 (23:49 -0800)]
[M76 Migration][Service][Global] Support multiple connections

This supports multiple connections between ui apps and service apps.

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

Change-Id: I383592399b89a8eef22d7a06aadb08c5ca27f736
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[VD] Check file protocol using file format 78/225878/1 accepted/tizen/unified/20200302.080218 submit/tizen/20200227.003055 submit/tizen/20200228.052523 submit/tizen/20200302.024624
liwei [Tue, 25 Feb 2020 06:30:45 +0000 (14:30 +0800)]
[VD] Check file protocol using file format

In current logic, WRT use url format to check file protocol, if
file path including special character(ex. blank/?/+/...), it will
be converted to special code(blank-> %20, #->%23,...), so we should
use file format to check file exist or not.

ex.
/opt/media/USBDriveA1/bts/1/Fulfill%20mentGustav_Klimt.jpg we should
change it to file format
/opt/media/USBDriveA1/bts/1/Fulfill mentGustav_Klimt.jpg
otherwise, this image can not be shown.

Change-Id: If159c68d74f12d4a68b8cacf182e3c4f75f4ad3b
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years agoSet default gbs repository to tizen 6.0 50/225550/1 accepted/tizen/unified/20200225.224340 submit/submit/tizen.beta/20200221.073520/20200221.073611 submit/tizen.beta/20200221.073520 submit/tizen/20200224.102416
Youngsoo Choi [Fri, 21 Feb 2020 01:17:27 +0000 (17:17 -0800)]
Set default gbs repository to tizen 6.0

This sets default gbs repository to tizen 6.0
for public targets and product tv.

Change-Id: I89b37a76a4af872988fb8d3b7590262d732932e5
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years agofixup! Support m76 migration 69/225269/1
k2.nagaraju [Tue, 18 Feb 2020 12:49:39 +0000 (18:19 +0530)]
fixup! Support m76 migration

Added |require('../common/init')| to get the defination of
|process.wrtBinding()| for service

Change-Id: Icd87a17ed1d33fc8e98fbcf614f9ff7d70f50a90
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
4 years agoMerge "[VD] ClearAllTilesResources for Deeplink" into tizen_5.5 accepted/tizen/5.5/unified/20200213.121712 submit/tizen_5.5/20200212.005931
SangYong Park [Thu, 6 Feb 2020 08:54:17 +0000 (08:54 +0000)]
Merge "[VD] ClearAllTilesResources for Deeplink" into tizen_5.5

4 years agoMerge "[VD] Add gbs configuration for NikeM build ('20 Product)" into tizen_5.5
Youngsoo Choi [Thu, 6 Feb 2020 08:52:59 +0000 (08:52 +0000)]
Merge "[VD] Add gbs configuration for NikeM build ('20 Product)" into tizen_5.5

4 years ago[VD] ClearAllTilesResources for Deeplink 54/224054/2
DongHyun Song [Thu, 6 Feb 2020 03:39:04 +0000 (12:39 +0900)]
[VD] ClearAllTilesResources for Deeplink

To solve unexpected flickering issue, this patch will call
ClearAllTilesResources when deeplink reloading case

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

Change-Id: I2568f6906241d45fc3730a63614e8af12bb3354c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "Revert "Revert "Set default background color for product wearable.""" into...
Sungsik Han [Wed, 5 Feb 2020 08:33:39 +0000 (08:33 +0000)]
Merge "Revert "Revert "Set default background color for product wearable.""" into tizen_5.5

4 years agoEnable Browser Tizen Device APIs for Addon 38/222638/2 accepted/tizen/5.5/unified/20200205.125425 submit/tizen_5.5/20200204.072340
ws29.jung [Fri, 17 Jan 2020 01:43:25 +0000 (10:43 +0900)]
Enable Browser Tizen Device APIs for Addon

There are lack of API support to develope Addon.
To expand functionality of Addon, now Tizen Device APIs are usable.

Change-Id: I4bbff162c59ddbbff6737f9965a928afe4a62730
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
4 years agoMerge "[VD] Add clearDeadMount API for TV profile" into tizen_5.5
SangYong Park [Thu, 30 Jan 2020 07:53:43 +0000 (07:53 +0000)]
Merge "[VD] Add clearDeadMount API for TV profile" into tizen_5.5

4 years ago[VD] Add gbs configuration for NikeM build ('20 Product) 74/223474/2
jaekuk, lee [Thu, 30 Jan 2020 05:26:54 +0000 (14:26 +0900)]
[VD] Add gbs configuration for NikeM build ('20 Product)

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

Change-Id: Ib8dfb688d15010c5f0933427b2780eb6f2cfa1d7
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
4 years ago[VD] Add clearDeadMount API for TV profile 41/223441/1
DongHyun Song [Thu, 30 Jan 2020 01:09:42 +0000 (10:09 +0900)]
[VD] Add clearDeadMount API for TV profile

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

Change-Id: I1592e69f915c996e91fb23d5321184a9f55321af
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoSupport m76 migration 30/221830/3
SangYong Park [Wed, 8 Jan 2020 01:21:54 +0000 (10:21 +0900)]
Support m76 migration

add process.wrtBinding() for using process.binding() and process._linkedBinding().
(electron's binding api is changed to process._linkedBinding() from process.binding())
and, change class name of TizenExtension to XWalkExtension.

Change-Id: I059fa50051b206bcf5b478442ccf6658ea71ce60
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years agoMerge "Supports an ambient mode for watch applications" into tizen_5.5 accepted/tizen/5.5/unified/20200130.113927 submit/tizen_5.5/20200115.085442 submit/tizen_5.5/20200120.013325 submit/tizen_5.5/20200130.003124
Sungsik Han [Wed, 15 Jan 2020 06:34:38 +0000 (06:34 +0000)]
Merge "Supports an ambient mode for watch applications" into tizen_5.5

4 years agofixup! [VD] Build fix - skip wrt-loader launch for LFD product
DongHyun Song [Wed, 15 Jan 2020 00:59:44 +0000 (09:59 +0900)]
fixup! [VD] Build fix - skip wrt-loader launch for LFD product

Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[VD] Build fix - skip wrt-loader launch for LFD product 71/222271/5
YONGMAN SON [Mon, 13 Jan 2020 06:47:18 +0000 (15:47 +0900)]
[VD] Build fix - skip wrt-loader launch for LFD product

Eventually, This patch won't make the wrt.loader service file
for LFD product.

In LFD, it has only one webapp which is launched early time after boot.
Thus, wrt-loader is not effective to LFD product.

In addition, with WRTjs, zygote process is changed to /usr/bin/wrt
from efl_webprocess. 'wrt' has more capability than efl_webprocess and
some of its capability (i.e. cap_setpcap), they cannot be working with
zone container of security framework.
Thus, zygote process is going to die with wrt-loader launching.

If webapp is launched directly without wrt-loader, the webapp process is
started with app privilege, which means that process has changed smack
label, process group as app permission its manifest describes.

With these reason, this patch will not make wrt.loader file for LFD
product.

Change-Id: I6a1db9b65a4e20ac70d072f93f581d50085ee814
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoMerge "[VD] skip wrt-loader launch from LFD product" into tizen_5.5
DongHyun Song [Mon, 13 Jan 2020 04:57:33 +0000 (04:57 +0000)]
Merge "[VD] skip wrt-loader launch from LFD product" into tizen_5.5

4 years agoMerge "[MCD] Update gbs.conf.in & common.sh" into tizen_5.5
Sungsik Han [Fri, 10 Jan 2020 04:30:06 +0000 (04:30 +0000)]
Merge "[MCD] Update gbs.conf.in & common.sh" into tizen_5.5

4 years ago[VD] skip wrt-loader launch from LFD product 26/222126/1
YONGMAN SON [Fri, 10 Jan 2020 02:17:18 +0000 (11:17 +0900)]
[VD] skip wrt-loader launch from LFD product

zygote process crashed due to a capability issue related to the zone container in the LFD prodect.
LFD uses only one webapp, so there is no need for a wrt-loader.

Change-Id: I64f977a0e47d6963726ca8c44d5b360b2547ac34
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
4 years agoMerge "Change hide() time for 'visibilitychange' callback" into tizen_5.5
Youngman Son [Wed, 8 Jan 2020 05:57:38 +0000 (05:57 +0000)]
Merge "Change hide() time for 'visibilitychange' callback" into tizen_5.5

4 years agoChange hide() time for 'visibilitychange' callback 49/221749/5
DongHyun Song [Tue, 7 Jan 2020 08:18:08 +0000 (17:18 +0900)]
Change hide() time for 'visibilitychange' callback

In window.hide(),
'visibilitychange' or 'webkitvisibilitychange' event is dispatched from
Document::DidChangeVisibilityState(), which is triggered by
RenderWidgetHostViewEfl::SetPageVisibility()

In window.setEnable(),
it try to request suspending to renderer thread, then it try to stop
chromium resources even JavaScript context.

Thus if hide() is called after setEnable(), it can defer application's
'visibilitchange' callback unexpectedly.

Change-Id: Ibe89b79f8a01ca170db40af8a5792fe64e9bf4ba
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years agoRevert "Revert "Set default background color for product wearable."" 45/221345/4
jaekuk lee [Tue, 31 Dec 2019 09:15:52 +0000 (09:15 +0000)]
Revert "Revert "Set default background color for product wearable.""

This reverts commit 79bf5d968f1bfc7de05086cd78280759cb1e2265.

Change the default background color to black for app compatibility.

For app that has white text and icons and uses the default background color of target,
text and icons should be displayed normally on tw2 and tw3 with the default background color set to black.

Change-Id: I7ac040d6ebcb1270562d55b9cddaa7d5ade6784c
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
4 years ago[MCD] Update gbs.conf.in & common.sh 39/219539/3
jaekuk, lee [Fri, 6 Dec 2019 00:22:48 +0000 (16:22 -0800)]
[MCD] Update gbs.conf.in & common.sh

Fixed the build error for wearable

Change-Id: I069f5295630a005c70a547041269130196596303
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
4 years agoMerge "[Service][Global] Implement access control for privilege management" into...
Sungsik Han [Tue, 31 Dec 2019 05:20:43 +0000 (05:20 +0000)]
Merge "[Service][Global] Implement access control for privilege management" into tizen_5.5

4 years agoMerge "[Service][Global] Add handler of stop-service" into tizen_5.5
Sungsik Han [Tue, 31 Dec 2019 05:19:28 +0000 (05:19 +0000)]
Merge "[Service][Global] Add handler of stop-service" into tizen_5.5

4 years agoMerge "[Service][Global] Expose standard and global objects" into tizen_5.5
Sungsik Han [Tue, 31 Dec 2019 05:16:54 +0000 (05:16 +0000)]
Merge "[Service][Global] Expose standard and global objects" into tizen_5.5

4 years agoMerge "[Service][Global] Support tizen web device APIs" into tizen_5.5
Sungsik Han [Tue, 31 Dec 2019 00:58:20 +0000 (00:58 +0000)]
Merge "[Service][Global] Support tizen web device APIs" into tizen_5.5

4 years ago[Service] Provide iteration API setServiceInterval 62/218062/4
Youngsoo Choi [Tue, 19 Nov 2019 02:43:03 +0000 (18:43 -0800)]
[Service] Provide iteration API setServiceInterval

This provides the use of service iteration and usage is like below:

* API:
setServiceInterval(function, after, repeat);

* Parameters:
{func} The function |func| will run.
{repeat} The number of iteration is |repeat|.
         The value 0 means infinite and default.
{after} The iteration interval is |after| ms and default is 1000 ms.

Change-Id: I5e50ddf9c11f6b7a49cf48aa4c526698c044794f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service][Global] Implement access control for privilege management 53/220353/14
k2.nagaraju [Tue, 17 Dec 2019 15:00:57 +0000 (20:30 +0530)]
[Service][Global] Implement access control for privilege management

This provides access control as per specified privileges in config.xml
for service application.

Change-Id: I2bae3574fccd9e7333c485e6b3229b407ad28660
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service][Global] Add handler of stop-service 94/218694/7
Youngsoo Choi [Wed, 27 Nov 2019 05:29:54 +0000 (21:29 -0800)]
[Service][Global] Add handler of stop-service

This adds handler of stop-service.

Change-Id: I7c73f9a204844216141edc47ab26e142368ec3d1
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service][Global] Expose standard and global objects 09/218609/8
Youngsoo Choi [Tue, 26 Nov 2019 04:42:42 +0000 (20:42 -0800)]
[Service][Global] Expose standard and global objects

This enables functions and properties of global object,
such as setInterval, setTimeout, and etc in service apps.

Also, the primitives and standard objects are exposed
to fix following undefined and type-mismatched errors:

> Cannot set property 'setDate' of undefined
> Cannot convert 11,21,31,71,81,91 to Uint8Array

The list refers to following site:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

Change-Id: I61977e05b73b3817b75591d2c8b0bb708f175c8d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service][Global] Support tizen web device APIs 78/218478/10
k2.nagaraju [Fri, 22 Nov 2019 15:08:13 +0000 (20:38 +0530)]
[Service][Global] Support tizen web device APIs

This supports tizen web device APIS.

Change-Id: I61e088aa5fda4fb2479fed310426caa058ed1c41
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
4 years ago[VD] Fix deeplink issue in current known scenario 27/221227/1
liwei [Mon, 30 Dec 2019 07:28:58 +0000 (15:28 +0800)]
[VD] Fix deeplink issue in current known scenario

This patch will cover well deeplink issues which we have known.
Common WRT's deep link policy is very simple, it just check sameness,
but to support compatibility of previous apps on TV side, VD WRT
has to handle below difference cases.

1) 'TVing': not-reload
From http://d2ehepluhe2jv7.cloudfront.net/#/
  to http://d2ehepluhe2jv7.cloudfront.net

2) SlingTV: not-reload
From file:///index.html#/login
  to file:///index.html

3) 'Amazon Music': will-reload
From file:///index.html#!/main/home
  to file:///index.html#!/deepLink

However, this logic has a potential problem with below case,
even though the URL has reload to appcontol's src but, it will be
skipped.
To solve this problem is easy but, it conflicts previous compatibility
functionality.

From file:///index.htmlx
  to file:///index.html

Change-Id: I401a8ead2f745de3ce938b16ac5c11efb4d9bd66
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years ago[VD] Cancel Auth if no proxy usrname/passwd 04/220904/1
liwei [Tue, 24 Dec 2019 10:09:14 +0000 (18:09 +0800)]
[VD] Cancel Auth if no proxy usrname/passwd

Follow 5.0 spec, if proxy need login and no usrname/passwd,
WRT will cancel auth not show popup for user to input usrname
and passwd.

Change-Id: Ie1851b745e75fb065d3d96bb22cc4c824f08f0b5
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years agoSupports an ambient mode for watch applications 07/220607/10
jaekuk, lee [Fri, 20 Dec 2019 03:16:57 +0000 (12:16 +0900)]
Supports an ambient mode for watch applications

When wearable device enables the ambient mode,
watch application displayed on an idle screen can show a limited UI
to reduce power consumption.

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

Change-Id: Iba2a8e0b922027973270d4df9f90ec721b34d893
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
4 years agoRevert "[VD][Workaround] Show popup when need default client cert" 86/220386/2
DongHyun Song [Wed, 18 Dec 2019 02:48:47 +0000 (02:48 +0000)]
Revert "[VD][Workaround] Show popup when need default client cert"

This reverts commit e2ffe802b48f3465572d60ba3b6337409d758ea8.

Change-Id: I55fbeeaf1ceab5fea8b9a82bd0529aa5d7ed14f9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
4 years ago[VD] Fix issue for app deeplink that page is not reload 35/219535/2 accepted/tizen/5.5/unified/20191213.064206 submit/tizen_5.5/20191212.093338
liwei [Thu, 5 Dec 2019 13:56:24 +0000 (21:56 +0800)]
[VD] Fix issue for app deeplink that page is not reload

When amazon music app(3201710014874) is shown in FG, and press
preview in amazon music, page is not reload, bcz WRT think request
src is the same with original url.
request src is "file:///index.html#!/deepLink",
original url is "file:///index.html#!/main/home".
Actually they are different, WRT should reload it.

Change-Id: I7f7b5767c1a34b017f80d6babe8e58f760f967a1
Signed-off-by: liwei <wei90727.li@samsung.com>
4 years agoMerge "Fix the issue that OnPause function is called after showing splash image"... accepted/tizen/5.5/unified/20191205.090224 submit/tizen/20191205.004241 submit/tizen_5.5/20191205.004241
Sungsik Han [Tue, 3 Dec 2019 05:08:36 +0000 (05:08 +0000)]
Merge "Fix the issue that OnPause function is called after showing splash image" into tizen_5.5

4 years agofixup! [Service] Refactor tizen extension module to be called on demand 79/218779/1
Youngsoo Choi [Thu, 28 Nov 2019 05:59:01 +0000 (21:59 -0800)]
fixup! [Service] Refactor tizen extension module to be called on demand

This adds missed _this object.

Change-Id: Ie697fc4e876063e57ec484339861424416a1ef6d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years ago[Service] Refactor tizen extension module to be called on demand 37/218737/6 submit/tizen_5.5/20191128.013112
Youngsoo Choi [Wed, 27 Nov 2019 12:42:21 +0000 (04:42 -0800)]
[Service] Refactor tizen extension module to be called on demand

The tiezn extension module is loaded on demand to reduce memory usage.
It's not loaded until web service starts.

Change-Id: I760310b617de49bb6f1968cf64d6938d3bec63cb
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
4 years agoFix the issue that OnPause function is called after showing splash image 45/218445/2
SangYong Park [Fri, 22 Nov 2019 08:17:58 +0000 (17:17 +0900)]
Fix the issue that OnPause function is called after showing splash image

Call showSplashScreen exclicity during create main browser window.
(prevent showTimer if splash screen is applied.)
and fix hideSplashScreen parameter offset.

Change-Id: Ia063d72c9de953321c2263935220aaf83878bdc1
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 years ago[VD] Replaces WRT APIs for TV profile 45/218145/6
DongHyun Song [Wed, 20 Nov 2019 02:36:24 +0000 (11:36 +0900)]
[VD] Replaces WRT APIs for TV profile

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

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