platform/framework/web/wrtjs.git
5 years agoFixed naming convention 84/212284/2
DongHyun Song [Tue, 20 Aug 2019 02:18:52 +0000 (11:18 +0900)]
Fixed naming convention

Fixed un-unified variables for naming convention

Change-Id: If9c5075c64ec473e56b955f233c08bac598d0e73
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
5 years agoSet default background color for product wearable. 68/211768/4 accepted/tizen/unified/20190814.021400 submit/tizen/20190814.020427
Aron kim [Fri, 9 Aug 2019 04:11:05 +0000 (21:11 -0700)]
Set default background color for product wearable.

Change the default background color white to black.

Change-Id: I839cc1ff51e7e849742ce6cbe6da28d5f705eb9c
Signed-off-by: Aron kim <aron.kim@samsung.com>
5 years agoSupport legacy console logs 19/211919/5
Youngsoo Choi [Mon, 12 Aug 2019 04:31:23 +0000 (21:31 -0700)]
Support legacy console logs

This supports legacy console log APIs such as info, logd, logv, and loge
which are used in service application.

Change-Id: Ide2a27376b783f9391844c13984f013d1293b7be
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years agoProvide exception console log on browser process 18/211918/4
Youngsoo Choi [Mon, 12 Aug 2019 04:20:23 +0000 (21:20 -0700)]
Provide exception console log on browser process

This provides nodejs exception console log on browser process
and refactors it to be used as a module exception_handling with pid.

Change-Id: I7859310070f973bff6ea9814e8b86605847224f5
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years agoMerge "[VD] Support analyze webapp loading performance by RWI" into tizen
jaekuk lee [Wed, 31 Jul 2019 04:26:21 +0000 (04:26 +0000)]
Merge "[VD] Support analyze webapp loading performance by RWI" into tizen

5 years agoMerge "[VD] change wrt-loader timeout 5sec -> 10sec" into tizen
SangYong Park [Thu, 25 Jul 2019 07:16:44 +0000 (07:16 +0000)]
Merge "[VD] change wrt-loader timeout  5sec -> 10sec" into tizen

5 years ago[VD] Support analyze webapp loading performance by RWI 93/210693/7
liwei [Tue, 23 Jul 2019 04:12:35 +0000 (12:12 +0800)]
[VD] Support analyze webapp loading performance by RWI

(1)Once WebAPP is launched, just to load "about:blank" firstly,
   and saved WebAPP entry url (index.html)
(2)A popup window with "OK" button to show RWI connection port on TV
  This moment, "about:blank" has been loaded for RWI connection in PC
  also can enable RWI timeline for preparation to record the whole loading
(3)Only user click "OK" button on the popup window,
  then WebAPP entry url (index.html) will be loaded.

Native Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/210692/

Change-Id: I2a495659f7761e9d322adee8f19ab95f7eeb27cc
Signed-off-by: liwei <wei90727.li@samsung.com>
5 years ago[VD] change wrt-loader timeout 5sec -> 10sec 98/208698/3
YONGMAN SON [Thu, 27 Jun 2019 06:00:31 +0000 (15:00 +0900)]
[VD] change wrt-loader timeout  5sec -> 10sec

Change-Id: I7f53f52c90c76434f05f38ba6551c9453624fdd3
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
5 years agoRemove unused functions of WRTWindow 60/209860/1
SangYong Park [Fri, 12 Jul 2019 03:12:25 +0000 (12:12 +0900)]
Remove unused functions of WRTWindow

Change-Id: I540b00f8efe9c921f71d020c75d8fb55fe6ab1f7
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoCreate new window with option of parent window 49/209849/2
SangYong Park [Thu, 11 Jul 2019 22:00:22 +0000 (07:00 +0900)]
Create new window with option of parent window

Currently new window is created with electron's default option.
Some javascript contents has conflict with node.js. so, apply
parent window's option when new window is created.
(webtct tct-ui01-wrt-tests failed because of this issue.)

Change-Id: I148879d4b74e00abb037176a315de5774193e076
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoFix error when suspend/resume on m63 16/209816/1
ws29.jung [Thu, 11 Jul 2019 08:57:46 +0000 (17:57 +0900)]
Fix error when suspend/resume on m63

fromId and getAllWindows Methods which are in WRTWindow class
were executing binded function from TopLevelWindow class.
However, TopLevelWindow class does not exist in m63.
Instead of TopLevelWindow, BrowserWindow class in m63 has
same functions and in m69, it is a child class of TopLevelWindow.
Methods from TopLevelWindow is now subsituted to methods from BrowserWindow.

Change-Id: I88607d1ded40d2daae9d74ea6e45f65272cf609d
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
5 years agoRemove unnecessary event handling during termination 98/209198/2
SangYong Park [Wed, 3 Jul 2019 09:32:50 +0000 (18:32 +0900)]
Remove unnecessary event handling during termination

Add code for preventing unnecessary event handling. and remove unusing code.

Change-Id: I48ea7e9f6b36fe0eb0c19fb49a4ec4a10363e795
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoCheck WRTWindow.setup to launch App 93/209393/3
ws29.jung [Fri, 5 Jul 2019 08:38:39 +0000 (17:38 +0900)]
Check WRTWindow.setup to launch App

Currently same wrtjs is used in m63 and m69 Chromium-efl
but supported methods from each library are different.
The WRTWindow.setup() method is only provided by m69 and
to launch Webapp on latest m63 Chromium-efl, the method
need to be checked whether it is accessible.

Change-Id: I44800e3f7209b86954cf3f65c118458173e34750
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
5 years agoMerge "[VD] Flush Local Storage and Cookie when app exit" into tizen
jaekuk lee [Thu, 4 Jul 2019 09:14:30 +0000 (09:14 +0000)]
Merge "[VD] Flush Local Storage and Cookie when app exit" into tizen

5 years ago[VD] Flush Local Storage and Cookie when app exit 47/209247/4
liwei [Thu, 4 Jul 2019 01:08:57 +0000 (09:08 +0800)]
[VD] Flush Local Storage and Cookie when app exit

1. In current logic,  data will be set to SQLite database every 30s,
if app exit immediately after it's launched, the data will not be
set to SQLite database, so we should flush SQLite database commit
all pending operations before app terminate, it's same with local
storage database.

Bcz app can be killed by LMF, so suspend is proper timing.

For eg. AIO(3201606009648)'s account is stored in Cookie, if app is
exited immedatley, the account will not stored to Cookie, then
when AIO launch again, account can not be signed atuomatically.

2. In WRTJS, EWebView class will not be used anymore, so this logic should
be moved to WRTJS side.

Refrence Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/203302/

Native Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/208872/

Change-Id: I63a21ef88d59876b2e43348f0e004ce3c8011c81
Signed-off-by: liwei <wei90727.li@samsung.com>
5 years agoInitial code to handle lifecycles and events in addons 77/208877/3
hyunduk.kim [Mon, 1 Jul 2019 05:18:21 +0000 (22:18 -0700)]
Initial code to handle lifecycles and events in addons

This provides the invocation of predefined methods for lifecycles and events
 - prelanuch : invoking prelaunch() in an addon when app-control is emitted
 - suspend : invoking suspend() in an addon when suspend is emitted
 - resume : invoking resume() in an addon when resume is emitted
 - quit : invoking quit() in an addon when before-quit is emitted
 - arrowup : invoking arrowup() in an addon when arrowup is pressed
 - arrowdown : invoking arrowdown() in an addon when arrowdown is pressed

It's only an initial code and focused on the logic to call each method.

Change-Id: I04c5976dd88fabb2ccdfcf96e0d444ed296acbe4
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
5 years agoMerge "Add WRTWindow and WRTWebContents" into tizen
jaekuk lee [Mon, 1 Jul 2019 01:09:25 +0000 (01:09 +0000)]
Merge "Add WRTWindow and WRTWebContents" into tizen

5 years agoAdd WRTWindow and WRTWebContents 19/208619/2
SangYong Park [Wed, 26 Jun 2019 10:14:38 +0000 (19:14 +0900)]
Add WRTWindow and WRTWebContents

It is customized module of BrowserWindow and WebContents.

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

Change-Id: I336c171e384316373e9cbb404efa7da4fb29e8a2
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoSet default backgroundColor 77/208177/11
DongHyun Song [Wed, 19 Jun 2019 08:22:52 +0000 (17:22 +0900)]
Set default backgroundColor

1)
Set background color as follows
  - TV: black
  - Others : white

2)
transparent is not truely working, becuase there is no proper
implementation of native side.
If needs, NativeWindowEfl class will support this

Related patch for this:
  https://review.tizen.org/gerrit/208174/

Change-Id: Id028bb05d98be8be221784ab20892da8ba71ec88
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
5 years agoMerge "[VD] Support RWI feature" into tizen
jaekuk lee [Wed, 26 Jun 2019 00:53:11 +0000 (00:53 +0000)]
Merge "[VD] Support RWI feature" into tizen

5 years agoMerge "[VD]Always reloading if force.loadDefaultURI is true" into tizen
jaekuk lee [Wed, 26 Jun 2019 00:43:15 +0000 (00:43 +0000)]
Merge "[VD]Always reloading if force.loadDefaultURI is true" into tizen

5 years ago[VD] Support RWI feature 55/207855/8
liwei [Thu, 13 Jun 2019 08:43:09 +0000 (16:43 +0800)]
[VD] Support RWI feature

1. When set vconf "db/rwi/inspected_appid" to appid or __AUL_DEBUG__
   is 1, RWI feature will be started.
   (i.e. vconftool set -t string db/rwi/inspected_appid "zLNL5kc4kl.emanual"
         -f -g 5000
         aul_test launch zLNL5kc4kl.emanual __AUL_DEBUG__ 1)
2. Support popup to show port number when appid is set to vconf.

Native side link:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/207831/

Change-Id: Id7d640b1fd690cce9695fe4c552be7fbe7ed5c90
Signed-off-by: liwei <wei90727.li@samsung.com>
5 years agoChange names related to addon properly 97/208297/1
hyunduk.kim [Fri, 21 Jun 2019 07:54:49 +0000 (00:54 -0700)]
Change names related to addon properly

It changes :
 - 'extension_manager' to 'addon_manager'
 - IPC messages' names related to addon
 - instance name of addon in runtime
 - variables' names related to addon

Change-Id: Ifc56a4c6457a1ab9a3e78b30432c77407761a0e3
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
5 years agoChange termination timing for non multitasking app 00/208100/1
SangYong Park [Tue, 11 Jun 2019 08:10:54 +0000 (17:10 +0900)]
Change termination timing for non multitasking app

e-manual app calls launchAppControl in visibilitychange event handler.
but, wrtjs terminate app as soon as app status is suspend.
so, add termination delay for visibilitychange event handling.

Change-Id: Ie2bd615e44643bbb74410d9c4fab2c85b6fe9ce4
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoRevert "Refactor termination sequence" 04/207904/1
Aron Kim [Mon, 27 May 2019 11:14:13 +0000 (20:14 +0900)]
Revert "Refactor termination sequence"

This reverts commit 64527f72f0990d9a5f3b7bc6bd4dc4355b27046f.

This is an additional patch due to the ContextMenu implementation.
This patch is not required when the ContextMenu is refactored.

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

Change-Id: I923fafed04f3979f6d8d4a09ac383eab00685517
Signed-off-by: Aron Kim <aron.kim@samsung.com>
5 years ago[VD]Always reloading if force.loadDefaultURI is true 45/205645/10
DongHyun Song [Wed, 8 May 2019 07:17:52 +0000 (16:17 +0900)]
[VD]Always reloading if force.loadDefaultURI is true

When eden_resume by preview selecting and
if wrt.isAlwaysReload() is true, the app has to be reloaded

Change-Id: I23bd91cff8ff8eab018659118b2a1685c203a2c7

5 years agoSuspend the app if app has gone behind 64/205164/19
DongHyun Song [Fri, 31 May 2019 02:18:16 +0000 (11:18 +0900)]
Suspend the app if app has gone behind

When an app's visibility is changed as background even the app
had not been get foreground event, this app should be suspended
to avoid running in background mode.
If the app has backgroundSupport mode, when suspeding, it will be
skipped.

This feature only can work with TV profile due to "wrt.getAppState"

This patch is depend on https://review.tizen.org/gerrit/204707

Change-Id: I3c05f4c4f61b23c5b510e3ec058d60253a94e8a7

5 years agoRemoving duplicated code for 'will-finish-launching' 79/206679/1
hyunduk.kim [Thu, 23 May 2019 04:38:38 +0000 (21:38 -0700)]
Removing duplicated code for 'will-finish-launching'

Duplicated code for 'will-finish-launching' has been removed

Change-Id: I4b9c1503184ccc02d79a9e17c5d1dfae5dc3566a
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
5 years agoHide splash screen when load completed 17/205917/2 accepted/tizen/unified/20190522.085436 submit/tizen/20190521.092823
DongHyun Song [Tue, 21 May 2019 05:15:54 +0000 (14:15 +0900)]
Hide splash screen when load completed

Crosswalk hide the splash screen 'load,complete' callback
when if the option is ready_when=complete, thus
'did-finish-load' is proper time for 'complete'

Change-Id: Icafac00ad2af2f88b9789faeaeb796002ef11df4

5 years agoRefactor termination sequence 45/206145/5
surya.kumar7 [Wed, 15 May 2019 17:09:09 +0000 (22:39 +0530)]
Refactor termination sequence

1. Termination logic has been altered to navigate toward one sink
for different termination requests
2. UI/Watch app loop cycle is destroyed before electron app's
quit is called

Linked to: https://review.tizen.org/gerrit/205432

Change-Id: I471cf5896e7045a395ebe4a85fcb97962444721b
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoWhen app preload, vconf status should be set to "preload" 39/206039/4
liwei [Mon, 13 May 2019 10:24:19 +0000 (18:24 +0800)]
When app preload, vconf status should be set to "preload"

When app preload, "preload" status shoule be set to
"rtc/memory/WebApp/**/",other moudle(webappservice)
will use this status.

Dependent link:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/206103/

Change-Id: Iafed1570c06ee3869474ed62c3db3b76187dd4fd
Signed-off-by: liwei <wei90727.li@samsung.com>
5 years agoFix application launch issue. 98/205798/4 accepted/tizen/unified/20190513.082626 submit/tizen/20190511.040220 submit/tizen/20190513.004707 submit/tizen/20190513.022424 submit/tizen/20190513.041924
ws29.jung [Thu, 9 May 2019 07:52:14 +0000 (16:52 +0900)]
Fix application launch issue.

Added a default timer in case if the Rendered is not called
from engine.
Show window on timer fired

Depend on: https://review.tizen.org/gerrit/205791

Change-Id: I523a699093721471c68756f18a3e9da49d7a5e53
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
5 years agoFix issue of Cannot read property 'hide' of undefined 75/205475/5
liwei [Mon, 6 May 2019 11:14:59 +0000 (19:14 +0800)]
Fix issue of Cannot read property 'hide' of undefined

Launch an app, press return key, then issue will happen
(TypeError: Cannot read property 'hide' of undefined).

Reason: after press return key, WRT native side will recieve
"tizen://exit",then atom::Browser::Get()->Quit() will be called,
then JS side will receive window close event, then window will
be removed from window list, and suspend() on JS side will also
be called, then it try to hide window, but now there is no window
in window list, then issue happen.

Change-Id: I930f83dbbda2093304f2797656b9a6418460a822
Signed-off-by: liwei <wei90727.li@samsung.com>
5 years agoDo not show window in the terminate sequence 52/205152/1 accepted/tizen/unified/20190506.120506 accepted/tizen/unified/20190508.234125 submit/tizen/20190503.062707 submit/tizen/20190508.104750
surya.kumar7 [Mon, 29 Apr 2019 16:49:32 +0000 (22:19 +0530)]
Do not show window in the terminate sequence

Any attempt to modify the window's visibility during terminate
sequence should be discarded

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

Change-Id: I6d9bb33aa375361614f281acf3b675bb3e239256
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoImplement Geolocation Permission callback 55/203755/3 accepted/tizen/unified/20190426.054156 submit/tizen/20190425.125549 submit/tizen/20190429.041900
ws29.jung [Wed, 17 Apr 2019 10:51:21 +0000 (19:51 +0900)]
Implement Geolocation Permission callback

When a website is requesting permission for geolocation,
conditionally a popup is shown to gain access from the
user

Depend on: https://review.tizen.org/gerrit/202761

Change-Id: I327762eaa4a8790127f9d3fd8dd1ca9b5b477d8e
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
5 years agoImplement window list management 25/204625/2
SangYong Park [Thu, 25 Apr 2019 06:06:11 +0000 (15:06 +0900)]
Implement window list management

Window is not showed properly now when child window is created.
Main window is showed because all window did showed by unordered list.
so, implement window list management.

Change-Id: I35f47d4681f65b7f96e4a970b75282ccbc9269af
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoMerge "Add support for IME Runtime" into tizen
jaekuk lee [Thu, 25 Apr 2019 04:16:04 +0000 (04:16 +0000)]
Merge "Add support for IME Runtime" into tizen

5 years agoMerge "Implement Media Permission callback" into tizen accepted/tizen/unified/20190425.014506 submit/tizen/20190424.113022
jaekuk lee [Wed, 24 Apr 2019 10:43:42 +0000 (10:43 +0000)]
Merge "Implement Media Permission callback" into tizen

5 years agoAdd support for IME Runtime 12/204412/1
k2.nagaraju [Tue, 23 Apr 2019 14:44:53 +0000 (20:14 +0530)]
Add support for IME Runtime

Change-Id: I7c063167d94f13e0ccb608539b8bbc20c8f49b2d
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
5 years agoImplement Media Permission callback 79/203379/6
deepti [Fri, 12 Apr 2019 06:43:06 +0000 (12:13 +0530)]
Implement Media Permission callback

When an app is requesting permission for UserMedia,
conditionally a popup is shown to gain access from the user.

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

Change-Id: Icd387906e6d48cba5df4d29fa8576fcbdc4f97d6
Signed-off-by: deepti <d.saraswat@samsung.com>
5 years agowrt.importCertificate() on ready 54/203954/1
DongHyun Song [Thu, 18 Apr 2019 08:04:29 +0000 (17:04 +0900)]
wrt.importCertificate() on ready

Change-Id: I02fc0a402a92c1d3f4cd80afab23d098c6d56d0e

5 years agoMerge "Check access validation" into tizen accepted/tizen/unified/20190423.113437 submit/tizen/20190423.011818
SangYong Park [Thu, 18 Apr 2019 05:14:50 +0000 (05:14 +0000)]
Merge "Check access validation" into tizen

5 years agoCheck access validation 63/203563/10
DongHyun Song [Tue, 16 Apr 2019 02:34:46 +0000 (11:34 +0900)]
Check access validation

This is for checking vailiation of file access,
All webapp only can be allowed predefined path list

Change-Id: I0a7156a04c40a115c72b7806ee843b5b3d6b66b6

5 years agoChecking the emptiness of addon lists 64/203564/1
hyunduk.kim [Tue, 16 Apr 2019 02:37:37 +0000 (19:37 -0700)]
Checking the emptiness of addon lists

An associate array in JavaScript is not possible to check
its emptiness by the length of the array itself or null.

To resolve it, this patch gets the keys of the array and
check the length of the keys to evaluate the emptiness
of the array.

Change-Id: If460e9690a9ddc39acfbed414f9dca13cc37a8e4
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
5 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/wrtjs... accepted/tizen/unified/20190415.075000 submit/tizen/20190415.074506
jaekuk, lee [Mon, 15 Apr 2019 07:43:54 +0000 (16:43 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/wrtjs into tizen_55

5 years agoFixed ReferenceError that cause NE(not executed) when running Auto TC. 86/203486/3
jaekuk, lee [Mon, 15 Apr 2019 07:13:26 +0000 (16:13 +0900)]
Fixed ReferenceError that cause NE(not executed) when running Auto TC.

Change-Id: I8a10428a1a80d53a3ecbd42427ffd769a9c55f6b
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoFixed tc issue 86/203486/1
jaekuk, lee [Mon, 15 Apr 2019 07:13:26 +0000 (16:13 +0900)]
Fixed tc issue

Change-Id: I8a10428a1a80d53a3ecbd42427ffd769a9c55f6b
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoMerge "Enable nodeIntegration depending on the availability of Addons" into tizen accepted/tizen/unified/20190412.124737 submit/tizen/20190412.025133
SangYong Park [Fri, 12 Apr 2019 00:44:21 +0000 (00:44 +0000)]
Merge "Enable nodeIntegration depending on the availability of Addons" into tizen

5 years agoEnable nodeIntegration depending on the availability of Addons 80/202780/4
hyunduk.kim [Thu, 4 Apr 2019 06:16:26 +0000 (23:16 -0700)]
Enable nodeIntegration depending on the availability of Addons

  . Add a method 'isAddonAvailable' to check the availablity of Addons

  . Set nodeIntegration in WebPreferences as true when Addons are
    available. That will enable node binding in renderer.
    To do that, this patch should work together with commit [1].

  [1] https://review.tizen.org/gerrit/202237

Change-Id: Ibfef3b1b6dd32db899d0de75ca90f46e07800756
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
5 years agoHandle Authentication Challenge 01/203001/3
surya.kumar7 [Mon, 8 Apr 2019 15:24:55 +0000 (20:54 +0530)]
Handle Authentication Challenge

Added support to gather and submit login info if server is
requesting for authentication for Tizen web apps

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

Change-Id: I17ea4fefb7ece078bef1d6cf2499078e36122f79
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoMerge "Add build scripts" into tizen
jaekuk lee [Thu, 11 Apr 2019 07:53:37 +0000 (07:53 +0000)]
Merge "Add build scripts" into tizen

5 years agoAdd build scripts 17/203217/3
Youngsoo Choi [Wed, 10 Apr 2019 02:12:58 +0000 (19:12 -0700)]
Add build scripts

This updates gbs.conf and adds build scripts.

* For public targets
$ ./tizen/build//build_standard_{ARCHITECTURE}.sh
$ ./tizen/build//build_emulator_{ARCHITECTURE}.sh

* For product tv target
$ ./tizen/build/build_tv.sh

* For product wearable target
$ tizen/build/build_wearable.sh

Change-Id: I0f59dfecc2db1a2ae44e76851cf72fdd4cf27378
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
5 years agoImplement Notification Permission callback 95/202895/7
surya.kumar7 [Fri, 5 Apr 2019 12:30:48 +0000 (18:00 +0530)]
Implement Notification Permission callback

When a website is requesting permission for notification,
conditionally a popup is shown to gain access from the
user; Also fixes tct-notification-w3c-tests partially

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

Change-Id: I04775ed2025046f7a8f370b844103123981b8dce
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoMerge "Handle Certificate error" into tizen
jaekuk lee [Wed, 10 Apr 2019 09:16:18 +0000 (09:16 +0000)]
Merge "Handle Certificate error" into tizen

5 years agoIgnore multiple ready-to-show event 37/203137/2
SangYong Park [Wed, 10 Apr 2019 06:19:22 +0000 (15:19 +0900)]
Ignore multiple ready-to-show event

ready-to-show event is occurred when web page is first rendered.
but, multiple ready-to-show event shows web page in preload mode.

Change-Id: I134f02fe1ce3acc31880c7e0c2d4c19abd233c1f
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoHandle Certificate error 96/202996/3
surya.kumar7 [Mon, 8 Apr 2019 12:18:51 +0000 (17:48 +0530)]
Handle Certificate error

Modified the existing code to handle certificate error as per
electron's design

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

Change-Id: Ic644227a300854859ceb2a4fc6e8657005cade4f
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoMerge "Update gbs.conf" into tizen
SangYong Park [Thu, 4 Apr 2019 01:48:58 +0000 (01:48 +0000)]
Merge "Update gbs.conf" into tizen

5 years agofixup! Implement app control handler 87/201387/6
surya.kumar7 [Wed, 27 Mar 2019 09:44:35 +0000 (15:14 +0530)]
fixup! Implement app control handler

Modified certain code to prevent inadvertent app exit, wrong
sequence and fixed an undefined object

Change-Id: I190356693087650608d0bae356c8b95ce97d8a6d
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoUpdate gbs.conf 76/202476/2
jaekuk, lee [Fri, 29 Mar 2019 04:31:13 +0000 (13:31 +0900)]
Update gbs.conf

add user ID and PW for spin account

Change-Id: I314fedeee008d61895d096fae086b20d11cd36d0
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoUpdate gbs.conf 66/202466/1 submit/tizen/20190330.025313 submit/tizen/20190401.004411 submit/tizen/20190401.004427
jaekuk, lee [Fri, 29 Mar 2019 01:51:28 +0000 (01:51 +0000)]
Update gbs.conf

Change-Id: Ia6f9f45f47dbbc9941847b6f9e3202cb7ba94708
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoMerge "Implement Inspector" into tizen submit/tizen/20190329.010456
jaekuk lee [Fri, 29 Mar 2019 01:04:53 +0000 (01:04 +0000)]
Merge "Implement Inspector" into tizen

5 years agoImplement Inspector 44/202044/8
jaekuk, lee [Fri, 22 Mar 2019 06:03:35 +0000 (15:03 +0900)]
Implement Inspector

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

Change-Id: Ia0ea9c08cf1e6411e0105b2b1b12fc62e093a856
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoMerge "[VD feature] Additional implementation of preloading preloaded widget suspend...
SangYong Park [Wed, 27 Mar 2019 05:55:45 +0000 (05:55 +0000)]
Merge "[VD feature] Additional implementation of preloading preloaded widget suspend. -------------------------------" into tizen

5 years ago[VD feature] Additional implementation of preloading 08/202308/1
YONGMAN SON [Wed, 27 Mar 2019 04:49:35 +0000 (13:49 +0900)]
[VD feature] Additional implementation of preloading
preloaded widget suspend.
-------------------------------

[VD feature] add preloading feature

http://wiki.vd.sec.samsung.net/x/Kr5iAw
WRTJS TCs -> 1.5

Change-Id: I2ddc1e37489ad06afe42335df0d02c70a0d5fe0e

5 years agoRevert "fixup! Implement app control handler" 92/202292/1
KwangHyuk Kim [Wed, 27 Mar 2019 01:20:43 +0000 (01:20 +0000)]
Revert "fixup! Implement app control handler"

This reverts commit ab48671261d6adb069b1ceddd67b9331a5e688e4.

Change-Id: I05eb2480d72e7ec66bd0e09ca780639138887fbc

5 years agofixup! Implement app control handler 10/201310/4
surya.kumar7 [Tue, 12 Mar 2019 08:52:07 +0000 (14:22 +0530)]
fixup! Implement app control handler

Modified certain code to prevent inadvertent app exit, wrong
sequence and fixed an undefined object

Change-Id: Iaf31edaadd803ccf45d7b9edfdb67f4cf4e9baee
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years ago[VD feature] add preloading feature 45/202145/5
YONGMAN SON [Mon, 25 Mar 2019 07:49:21 +0000 (16:49 +0900)]
[VD feature] add preloading feature

http://wiki.vd.sec.samsung.net/x/Kr5iAw
WRTJS TCs -> 1.5

Change-Id: I929356b3f196c6476d4ee9199b1f80fb5e8729a8

5 years agoMerge "Fix electron app launching issue" into tizen
jaekuk lee [Wed, 20 Mar 2019 05:00:06 +0000 (05:00 +0000)]
Merge "Fix electron app launching issue" into tizen

5 years agoMerge "Handle SkipReload data sent via appcontrol on vd" into tizen
jaekuk lee [Wed, 20 Mar 2019 04:58:02 +0000 (04:58 +0000)]
Merge "Handle SkipReload data sent via appcontrol on vd" into tizen

5 years agoFix electron app launching issue 47/201647/1
SangYong Park [Mon, 18 Mar 2019 09:15:41 +0000 (18:15 +0900)]
Fix electron app launching issue

Set proper app and electron library path

Change-Id: I34e11c4c6152e8b47ff1c2517a4bcd9c49d763bd
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoHandle SkipReload data sent via appcontrol on vd 98/201398/2
surya.kumar7 [Wed, 13 Mar 2019 12:24:59 +0000 (17:54 +0530)]
Handle SkipReload data sent via appcontrol on vd

On vd, platform sends a SkipReload data via appcontrol
to indicate app to merely resume and avoid reload. Added
support for handling that

Change-Id: Ibd2ddb6bae509f9619648c29dd15b7513846c605
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoAdd multitasking support for vd apps 20/201220/4
surya.kumar7 [Mon, 11 Mar 2019 10:34:45 +0000 (16:04 +0530)]
Add multitasking support for vd apps

Apps should not quit on suspend only when multitasking support
is requested by the app. This is as per the following metadata's
requirement:
http://samsung.com/tv/metadata/multitasking.support

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

Change-Id: I0e9a394720a8d3302b2c08d5b775b49dcf064f71

5 years agoRemove duplicate code 46/201146/1 accepted/tizen/unified/20190314.220526 submit/tizen/20190314.082855
min7.choi [Mon, 11 Mar 2019 01:41:31 +0000 (10:41 +0900)]
Remove duplicate code

Activated in "browser-window-created" event

Change-Id: If0aea9a670cb82121bda0eff0f479381fba0cc39
Signed-off-by: min7.choi <min7.choi@samsung.com>
5 years agoMerge "Implement app control handler" into tizen
jaekuk lee [Fri, 8 Mar 2019 06:19:12 +0000 (06:19 +0000)]
Merge "Implement app control handler" into tizen

5 years agoImplement app control handler 33/201033/1
SangYong Park [Thu, 7 Mar 2019 09:55:04 +0000 (18:55 +0900)]
Implement app control handler

Change-Id: Ieeba1a9a77fcdaaa2da168b5f04f495859aa5e64
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoUpdate gbs.conf 53/200853/1
jaekuk, lee [Tue, 5 Mar 2019 05:54:55 +0000 (14:54 +0900)]
Update gbs.conf

Change-Id: I87e55a33042a5fc9f87f872357772928ead27270
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoRevert "Remove redundant Window hide on suspend as it is handled by platform" 60/200460/1 accepted/tizen/unified/20190307.230853 submit/tizen/20190225.110932
SangYong Park [Mon, 25 Feb 2019 07:48:15 +0000 (16:48 +0900)]
Revert "Remove redundant Window hide on suspend as it is handled by platform"

This reverts commit 19f4f4582873db8c7b0067896dd0c8d31e3f23e4.

Change-Id: I01cdf798364fe286ba29a17a042e6744aecf9994
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoSeparate wrtjs path from chromium-efl 57/200057/2 accepted/tizen/unified/20190221.084200 submit/tizen/20190219.225627
ws29.jung [Mon, 18 Feb 2019 12:12:36 +0000 (21:12 +0900)]
Separate wrtjs path from chromium-efl

As chromium-efl supports downloadable package, wrtjs cannot share
chromium-efl's path to install its own files.
To prevent wrtjs files removal during chromium-efl update,
now this package has its own file install path.

Change-Id: Ia536096e314450314e75cb086fd843f1fb5302f4
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
5 years agoMerge "Fix crash issue by app-control" into tizen accepted/tizen/unified/20190214.060724 submit/tizen/20190213.122554
KwangHyuk Kim [Wed, 13 Feb 2019 06:33:13 +0000 (06:33 +0000)]
Merge "Fix crash issue by app-control" into tizen

5 years agoFix crash issue by app-control 49/199549/1
SangYong Park [Wed, 13 Feb 2019 02:31:06 +0000 (11:31 +0900)]
Fix crash issue by app-control

Currently reset web application when app-control event occurs after web application is created.
but, this is not correct behavior and sometimes crash is occured.
so ignore this case, and fix behavior after app-control event object is provided in app-control event.

Change-Id: Ife0c8b01dfa13ba99ea3bc405fd854a9db3e7610
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years ago[WRTJS]Add cookie manager support. 90/199390/8 submit/tizen/20190212.110627 submit/tizen/20190213.003723
min7.choi [Mon, 11 Feb 2019 06:27:21 +0000 (15:27 +0900)]
[WRTJS]Add cookie manager support.

This patch requires below chromium patch
https://review.tizen.org/gerrit/198592/

Change-Id: If7821435a72710629835404ebd62dda0916d4d5c
Signed-off-by: min7.choi <min7.choi@samsung.com>
5 years agoRemove redundant Window hide on suspend as it is handled by platform 66/199166/6 accepted/tizen/unified/20190212.084110 submit/tizen/20190212.024052
surya.kumar7 [Wed, 6 Feb 2019 12:04:05 +0000 (17:34 +0530)]
Remove redundant Window hide on suspend as it is handled by platform

JSWRT need not explicitly call window.hide() during App loop's suspend
event as platform is directly responsible for that

Change-Id: I9f91fed65f373f5fbbab12588660a8d04bea3524
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
5 years agoAdd wrt-loader 26/199026/1 accepted/tizen/unified/20190207.120337 submit/tizen/20190201.051141
SangYong Park [Fri, 1 Feb 2019 01:43:06 +0000 (10:43 +0900)]
Add wrt-loader

wrt-loader is moved from chromium-efl

Change-Id: Ic78fab2bcab3d688217154ba546ae1b85d3aa48c
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoChange resource file directory 87/198787/2 accepted/tizen/unified/20190130.101023 submit/tizen/20190130.020336
SangYong Park [Tue, 29 Jan 2019 12:57:09 +0000 (21:57 +0900)]
Change resource file directory

Change-Id: I548050d1545ead157d022af0cb0b6a5c7feb1318
Signed-off-by: SangYong Park <sy302.park@samsung.com>
5 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/wrtjs... submit/tizen/20190128.103152 submit/tizen/20190129.022255
jaekuk, lee [Mon, 28 Jan 2019 09:53:32 +0000 (18:53 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/framework/web/wrtjs into tizen_55

5 years ago[WRTjs]Add gbs.conf 22/198522/6
jaekuk, lee [Fri, 25 Jan 2019 06:42:43 +0000 (15:42 +0900)]
[WRTjs]Add gbs.conf

Change-Id: I3ffd19ec473f16e81a1385a44dd44d3ee7e233f9
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years ago[release 0.3.2]tizen porting 22/198522/5
jaekuk, lee [Fri, 25 Jan 2019 06:42:43 +0000 (15:42 +0900)]
[release 0.3.2]tizen porting

Change-Id: I3ffd19ec473f16e81a1385a44dd44d3ee7e233f9
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years ago[WRTjs]javascript based web runtime 57/196857/6 accepted/tizen/unified/20190128.061758 submit/tizen/20190124.105017
jaekuk, lee [Fri, 4 Jan 2019 05:12:10 +0000 (14:12 +0900)]
[WRTjs]javascript based web runtime

Create new project for javascript based web runtime
to replace the existing web runtime

Change-Id: Ib343edbcc76d25117b89074c9552cbe68fa9594a
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Fri, 4 Jan 2019 04:49:11 +0000 (04:49 +0000)]
Initial empty repository