platform/framework/web/chromium-efl.git
15 months agofixup! [M108 Migration] Support unlimitedstorage privilege for Indexed DB 23/289423/2
Gajendra N [Tue, 7 Mar 2023 10:27:10 +0000 (15:57 +0530)]
fixup! [M108 Migration] Support unlimitedstorage privilege for Indexed DB

Fixes crash error occured during youtube page load.

In original patch, std::move was called on already moved pointer which
went unnoticed during migration.

Change-Id: Id853af04730666f609d74e102bdda44002cd8361
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
15 months ago[M108 Migration][VD] Add API to for malicious page warning showing. 52/289052/3
feifei08.liu [Tue, 28 Feb 2023 03:37:54 +0000 (11:37 +0800)]
[M108 Migration][VD] Add API to for malicious page warning showing.

Add ewk_view_html_string_override_current_entry_load to show
warning page for web browser security.
Fix issue occur in the following scenario:
1. Access www.google.com in org.tizen.browser.
2. Access malicious url, then wbs alert page is shown.
3. Press "goback" button, browser show malicious url page,
   not the previous page of www.google.com.
Treat the alert page and malicious page as the same navigation entry.
Add a new ewk API to show error page when malicious url detected.

Reference:
- https://review.tizen.org/gerrit/283452/

Change-Id: I0f9a4467a7a3d5a0af54189d9b79ced320a45188
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
15 months ago[M108 Migration] [SlimDownCode] Delete Redundant Modules 08/289408/2 submit/tizen/20230307.160024
uzair [Tue, 7 Mar 2023 07:03:30 +0000 (12:33 +0530)]
[M108 Migration] [SlimDownCode] Delete Redundant Modules

This patch removes below directories

 ├── android_webview/
 ├── chromecast/
 ├── chrome_elf/
 ├── chromeos/
 ├── docs/
 ├── google_update/
 ├── infra/
 ├── ios/
 ├── styleguide/
 └── third_party
    ├── android_build_tools
    ├── android_crazy_linker
    ├── android_deps_autorolled
    ├── android_deps
    ├── android_data_chart
    ├── android_support_test_runner
    ├── android_swipe_refresh
    ├── android_protobuf
    ├── android_platform
    ├── android_sdk
    ├── android_media
    ├── android_system_sdk
    ├── android_tools
    ├── google_appengine_cloudstorage
    ├── google-closure-library
    ├── google_android_play_core
    ├── android_opengl

Change-Id: I469c2fb9be69423cdf268d23f5fe1d2ee70dc1f4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months agofixup! [M108 Migration][WRTjs] Introduce VconfHandle 65/289365/3
Chandan Padhi [Mon, 6 Mar 2023 15:31:51 +0000 (21:01 +0530)]
fixup! [M108 Migration][WRTjs] Introduce VconfHandle

This commit fixes a desktop build error introduced by the parent
patch.

Change-Id: I4657f4510458199bacc223e66cef02cb4b0e2d31
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
15 months ago[M108 Migration] Segregate InputPicker into ewk independent base classes 45/289345/4
Ayush Kumar [Mon, 6 Mar 2023 04:51:04 +0000 (10:21 +0530)]
[M108 Migration] Segregate InputPicker into ewk independent base classes

1. This patch divides InputPicker component into a common
class which can be used by WRTJS as well.
2. Refactored the components to remove redundant or unused dependencies.

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

Change-Id: I9c9acc50e371a6937032c0231685210206e63f60
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration][WRTjs][VD] Apply setpriority() and early mount 24/289324/6
DongHyun Song [Mon, 6 Mar 2023 08:42:39 +0000 (17:42 +0900)]
[M108 Migration][WRTjs][VD] Apply setpriority() and early mount

1)
To reduce the time of wrt-loader ready, this will apply setpriority()
with high priority niceness.
2)
If yet there is no chromium-efl.img mount point, wrt-loader will mount
by itself.
3)
Update as latest manifest

Reference:
https://review.tizen.org/gerrit/279510/
https://review.tizen.org/gerrit/286399/
https://review.tizen.org/gerrit/288395/
https://review.tizen.org/gerrit/289324/

Change-Id: Ie4cf98f6381f745c06457abea94ad123e14b68da
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
15 months ago[M108 Migration][UWE][VD] Extends the waiting time for ps_agent 78/289378/4
Sugyum Kim [Wed, 7 Sep 2022 10:32:51 +0000 (19:32 +0900)]
[M108 Migration][UWE][VD] Extends the waiting time for ps_agent

* Issue: Mount failure occurs when ps_agent is not ready for 20 seconds
on entry model.

Increase the timeout to 30s and add retry logic 20 times.
when ps_agent is ready, it returns immediately.

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

Change-Id: Iea880071ab17338139b1a7cc155450a41855902e
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit 26644c120994f637523cbfe048afc74b3781e6c0)

15 months agofixup! [MM] Handle buffering and playback 23/289323/3
Venugopal S M [Mon, 6 Mar 2023 09:19:53 +0000 (14:49 +0530)]
fixup! [MM] Handle buffering and playback

- Avoid buffer request after receiving EOS packet from demuxer
- Print stream type in log.

Reference:
https://review.tizen.org/gerrit/280824
https://review.tizen.org/gerrit/276725
https://review.tizen.org/gerrit/276751

Change-Id: I9cbf51908585e29df9fe0f7ab2ca55039b2d8eb9
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
15 months ago[M108 Migration][MM] Check preparing status before calling media control functions. 00/289100/5
Koyyani Maheswari [Wed, 1 Mar 2023 09:36:34 +0000 (15:06 +0530)]
[M108 Migration][MM] Check preparing status before calling media control functions.

1. Change to initialize sequence fit to |EsppRendererImpl|.
2. Check preparing status to call media control functions in proper status.

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

Change-Id: I2722203895b34a023a0ab1c8e2fb622357c95aae
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
15 months ago[M108 Migration][VD][UWE] Duplicate mount when TPK is updated 77/289377/3
Sugyum Kim [Wed, 17 Aug 2022 04:43:38 +0000 (13:43 +0900)]
[M108 Migration][VD][UWE] Duplicate mount when TPK is updated

When the TPK is updated,
the updated TPK is re-mounted to the existing mount point.

The existing mounted TPK does not disappear and becomes hidden.
Apps that have previously been mounted with so file operate normally
because the file handle is already open.

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

Change-Id: Icd35f3067a285baea5e366676678f9a9fad2a197
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit e20ea92a8eeb3373a6ca7975110fc3ee91c6b6bc)

15 months ago[M108 Migration][UWE][VD] Use legacy library in case of load fail 83/289383/2
Sugyum Kim [Wed, 31 Aug 2022 09:50:13 +0000 (18:50 +0900)]
[M108 Migration][UWE][VD] Use legacy library in case of load fail

[Problem]
When we fail loading the upgrade-library, we have to use the legacy-
library. But the current implementation does not give up using the
upgrade-library.

[Solution]
ewk_set_version_policy(1) must be ignored when we fail to load.

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

Change-Id: I3a142825429cf3aa1f64d2ba5bc4c27a89a2f59d
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit f42a776bce501c3b2f9407415b9661ef3da2699d)

15 months ago[M108 Migration][WRTjs][TV] Extend wait chromium mount timer to 20s 85/289385/2
liwei [Fri, 18 Nov 2022 07:57:20 +0000 (15:57 +0800)]
[M108 Migration][WRTjs][TV] Extend wait chromium mount timer to 20s

For app perforamnce, wrt-loader will be launched earlier than
before.wrt-loader will be started at 10s after launchapd(3~4s)
is launched, and chromium will be mounted about 10~15s, for
ensure wrt-loader start successfully, extend wait chromium
mount timer from 10s to 20s.

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

Change-Id: I7eb261e9703e5d0b4bc3c4fc912ce61438068a4f
Signed-off-by: liwei <wei90727.li@samsung.com>
(cherry picked from commit 705c97ddf298f1447870f38deb5251bed8bc252e)

15 months ago[M108 Migration][VD] Call PS_Mount_Fast api instead of PS_Mount api 79/289379/1
Sugyum Kim [Thu, 13 Oct 2022 05:45:26 +0000 (14:45 +0900)]
[M108 Migration][VD] Call PS_Mount_Fast api instead of PS_Mount api

PS_Mount_Fast api newly introduced in Tizen 7.0 to improve
mount performance by security team.

Existing PS_Mount API used fork-exec method,
but PS_Mount_Fast API calls mount system function.

There is a performance improvement of about 900ms,
and with this new API, it takes about 500ms at the time of cold boot.

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

Change-Id: I87680117715cc972019f9ead4cc1e7055f2a6723
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit 0298504f5fa3bffba9d327993d06a276c875f6cf)

15 months ago[M108 Migration][VD][UWE] Bringup Upgradable WebEngine for VD 08/289308/5
jiangyuwei [Mon, 6 Mar 2023 06:49:53 +0000 (14:49 +0800)]
[M108 Migration][VD][UWE] Bringup Upgradable WebEngine for VD

Reference:
   https://review.tizen.org/gerrit/#/c/279392/

Change-Id: I9576a04715f4c1d559513d5ea2c976f07d5f81f9
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
15 months ago[M108 Migration]Notify internal API compatibility when installing wrtjs rpm 47/289347/2 submit/tizen/20230306.160017
uzair [Mon, 6 Mar 2023 10:32:10 +0000 (16:02 +0530)]
[M108 Migration]Notify internal API compatibility when installing wrtjs 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 {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.

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

Change-Id: I8fba74c012701f59a46fde7733fcb926f69a86b9
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months ago[M108 Migration][WRTjs][VD] Apply auto submit OSD to P4 FET from TRAMS 92/289292/3
zhaosy [Mon, 6 Mar 2023 02:21:11 +0000 (10:21 +0800)]
[M108 Migration][WRTjs][VD] Apply auto submit OSD to P4 FET from TRAMS

OSD maybe is changed in TRAMS, but we don't know it.
So apply auto submit OSD to P4 FET branch(Once it's changed in P4, email will be recieved).

ps.If OSD is changed in P4 FET, need to merge it to gerrit manually.

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

Change-Id: I0ad2df3178d80175c34754ca71916980bca66486
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months ago[M108 Migration][VD] Do not overwrite process title with symbolic link 52/289252/4
zhaosy [Fri, 3 Mar 2023 07:40:04 +0000 (15:40 +0800)]
[M108 Migration][VD] Do not overwrite process title with symbolic link

In Chromium-efl, we exec from /usr/lib/chromium-efl/efl_webprocess.
Therefore, we don't need to overwrite process title with symbolic link
of /proc/self/exe.

Before this patch, /proc/[pid]/comm of browser app is 'launchpad-loader'.
After this patch, it will be 'browser'.

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

Change-Id: Ic24db12dd7b447042accbc4434aa6cb18585b80c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months ago[M108 Migration][WRTjs][VD] Refactor key event handler 00/289300/4
zhaosy [Mon, 6 Mar 2023 04:56:36 +0000 (12:56 +0800)]
[M108 Migration][WRTjs][VD] Refactor key event handler

RenderWidgetHostViewEfl is removed in Aura, so in EflEventHandler
check registered keys and device names.

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

Change-Id: I2d4eb524baa6c89998490172b0106dd24afa7f58
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months agofixup! [MM] Use ESPP for media rendering 04/289104/5
Venugopal S M [Thu, 2 Mar 2023 08:14:20 +0000 (13:44 +0530)]
fixup! [MM] Use ESPP for media rendering

Fix build errors due to difference in data type

Change-Id: I1b1eb5837e499a386f5bd08a795d21c839518948
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
15 months ago[M108 Migration][WRTjs]add protection for DBusConnection 93/289293/4
zhaosy [Mon, 6 Mar 2023 02:47:33 +0000 (10:47 +0800)]
[M108 Migration][WRTjs]add protection for DBusConnection

Add protection for DBusConnection for avoid some abnormal
crash happen.

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

Change-Id: I42fd0770422bc4f826aa746e75b871d68efbaf3a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months ago[M108 Migration][WRTjs] Introduce VconfHandle 33/289233/3
DongHyun Song [Fri, 3 Mar 2023 04:27:03 +0000 (13:27 +0900)]
[M108 Migration][WRTjs] Introduce VconfHandle

Adds source code of VconfHandle and removes bring-up tag.

Change-Id: I30a8ae83ac9e423d1a3778dca6b0aac497fd6880
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
15 months ago[M108 Migration] [!fixup] Set EflWindow bounds while received parent view resize... 98/289198/2
qiang.ji [Thu, 2 Mar 2023 09:59:47 +0000 (17:59 +0800)]
[M108 Migration] [!fixup] Set EflWindow bounds while received parent view resize event

1. We have two ways to set Efl window bounds/ Gpu thread output surface
size. One is InitCompositor, the other is OnParentViewResize in
RenderWidgetHostViewAuraHelperEfl.
2. In current state, EwebView resize event is coming before
RenderWidgetHostViewAuraHelperEfl creation, so we cannot call
OnParentViewResize to set correct bounds. This will cause main thread
's output surface size dismatch with gpu thread.

Solution: Manually to call SetBoundsInPixels to set bounds even
RenderWidgetHostViewAuraHelperEfl is not created yet

refs:
https://review.tizen.org/gerrit/#/c/282220/

Change-Id: I8e75694c9864a65add80d58791c8d92eb4c73233
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
15 months ago[M108 Migration][MM] Fix crash when the browser is terminated when playing video. 34/289234/5
Suhaspoornachandra [Fri, 3 Mar 2023 03:52:37 +0000 (09:22 +0530)]
[M108 Migration][MM] Fix crash when the browser is terminated when playing video.

1. MediaPlayerESPlusPlayer should be released before destroyed.
2. WebContents is sometimes destroyed before TizenRendererImpl is destroyed.
   It causes TizenRendererImpl accesses dangling pointer.
3. buffering_callback_ in BufferObserverImpl should be null-checked.

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

Change-Id: I772c80ce9a0f96c5cdc6db6c31aff3465a54eb88
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
15 months ago[M108 Migration] Initialize DeviceDisplayInfoEfl in renderer. 47/289247/3
v-saha [Fri, 3 Mar 2023 07:01:00 +0000 (12:31 +0530)]
[M108 Migration] Initialize DeviceDisplayInfoEfl in renderer.

Display info should be updated only when webview is created by
browser.

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

Change-Id: I421e59068125018e5c2d51b60fc8af420a657381
Signed-off-by: v-saha <v.saha@samsung.com>
15 months ago[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode. 43/289243/3
Sun-woo Nam [Thu, 2 Mar 2023 04:51:10 +0000 (20:51 -0800)]
[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode.

Ecore_Wl2_Window is used as the main window handle in the onscreen rendering
mode.
Previously, |player_set_display| was used to use video hole in CAPI MMPlayer.
However, |player_set_display| could only receive evas objects, including
elm window, as a parameter.
Threrefore, this patch uses |player_set_display_webapp| api to hand over
the wayland surface id for the TV profile. In case of the public profile,
use |player_set_ecore_wl_display| instead of |player_set_display_webapp|.

Reference: https://review.tizen.org/gerrit/#/c/289148/

Change-Id: I0eb011c20a6584e581b151fec35468cd58073cfa
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
15 months ago[M108 Migration][Autofill] Introduce autofill fw interface 35/289135/5
Ayush Kumar [Fri, 24 Feb 2023 05:04:43 +0000 (10:34 +0530)]
[M108 Migration][Autofill] Introduce autofill fw interface

This change
1. Introduces interface for autofill fw in tizen.
2. Supports mockup for callbacks and APIs for SPASS feature for TV.
3. Refactors, enhances and fixes issue related to tizen autofill.

References : https://review.tizen.org/gerrit/269462

Change-Id: Ia91806470622bc4a1c2c5a2d917bf1babdb1e675
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[WRTjs][VD] Remove prefetching xwalk extension feature 55/289255/5 submit/tizen/20230305.160307
DongHyun Song [Fri, 3 Mar 2023 07:36:31 +0000 (16:36 +0900)]
[WRTjs][VD] Remove prefetching xwalk extension feature

Prefetching is almost ineffective to load webapp, compared to its
complicated logic and heavy performing of DB file.

Change-Id: I1d0cd3130054e68d6b67e7035be2112c7e3365cb
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
15 months ago[Offscreen] Fix for black screen on static pages 72/288672/4
uzair [Tue, 21 Feb 2023 09:11:24 +0000 (14:41 +0530)]
[Offscreen] Fix for black screen on static pages

Below change makes sure ensure all drawing to the context
has been flushed and submitted to graphics driver before
shown on screen.

Change-Id: Ia4b751b211bd66c9be04328b947e355b0c274c6b
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months agofixup! Shorten NotifySwap path for offscreen rendering 06/289206/7
YongGeol Jung [Thu, 2 Mar 2023 11:40:14 +0000 (03:40 -0800)]
fixup! Shorten NotifySwap path for offscreen rendering

Create |CompositorObserverEfl| to get |NotifySwap| message for WRT offscreen
mode.

Change-Id: Ie2b75929e2d5c386f13838352bdaf859aae04ce7

15 months agoMap blink::WebNavigationType to Ewk_Policy_Navigation_Type 23/289223/6
yh106.jung [Fri, 3 Mar 2023 01:38:18 +0000 (17:38 -0800)]
Map blink::WebNavigationType to Ewk_Policy_Navigation_Type

Ewk_Policy_Navigation_Type is no longer exactly matched with
blink::WebNavigationType.
So, this patch internally maps blink::WebNavigationType to
Ewk_Policy_Navigation_Type.

Change-Id: I4fee4701455da6bf71030f7fb0d569198b9a4f53
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
15 months agoRevert "fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_... 28/289228/3
Ayush Kumar [Fri, 3 Mar 2023 02:44:49 +0000 (08:14 +0530)]
Revert "fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs."

This reverts commit 1fddb3c6b1010c0d18af692ccf12cdf772c08cb3.

Change-Id: Ia1d105c83c5677971889817933aa59221211b9bf
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months agoAdd libscl-common to fix runtime error 07/289207/6
Ayush Kumar [Fri, 3 Mar 2023 03:19:54 +0000 (08:49 +0530)]
Add libscl-common to fix runtime error

This adds libscl-common to fix following runtime error due to lack of
libscl-common which is needed for standard profile.

>> error : libscl-common.so: cannot open shared object file:

Change-Id: I4ca9d951b6142416bcc919d090ac5346c1ced7ec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration] Support standard build for armv7hl architecture 83/289083/6
Chandan Padhi [Mon, 28 Feb 2022 11:41:14 +0000 (17:11 +0530)]
[M108 Migration] Support standard build for armv7hl architecture

This commit adds support to build standard profile for armv7hl
architecture. This also adds clang-format binary built for armv7hl.

Build command:
$ ./tizen_src/build/build_standard_armv7hl.sh

References:
https://review.tizen.org/gerrit/c/271778
https://review.tizen.org/gerrit/c/274635

Change-Id: Iddef3f406ba56ee9982a65a6c2e676bb44150c2d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months ago[WRTjs] Fix webapp launching issue in onscreen rendering 52/289152/5
SangYong Park [Thu, 2 Mar 2023 06:46:35 +0000 (15:46 +0900)]
[WRTjs] Fix webapp launching issue in onscreen rendering

. Set view of web contents properly, and register electron's
  RenderFrameHost mojo interface for onscreen rendering.

Change-Id: Ie66dc2f9cca81f6f8b48b2074712355fcce49f7d
Signed-off-by: SangYong Park <sy302.park@samsung.com>
15 months ago[M108 Migration][VD] Add schemes for Tizen TV product 82/289082/5
fang fengrong [Wed, 1 Mar 2023 10:12:48 +0000 (18:12 +0800)]
[M108 Migration][VD] Add schemes for Tizen TV product

This patch add schemes for Tizen TV product: "mmf", "dvb", "tvkey-apps",
"hbbtv-package", "hbbtv-carousel", "ci".

1. Support mmf scheme for GingaNCL team.

2. DVB scheme is not supported by chromium. Allow EWK API client
   to handle DVB requests via intercept request API.

3. This change adds the "tvkey-apps:" scheme for the Tizen TV products.

4. hbbtv-package://<app_id>.<org_id>/[<path>]

e.g. hbbtv-package://1.F1/index.html

The files for these packages are installed on the TV
filesystem, and the installation of the files is
controlled by the HbbTV engine.

Operator application files are considered a 'secure' location,
so the protocol is passed to the 'RegisterURLSchemeAsSecure' API.

5. The HbbTV 2.0.1 Specification (errata 2) section 6.3.2 adds a new URI
format. This URI format is used for loading hbbtv applications from the
DSMCC carousel. This patch adds the scheme that this format requires to
chromium.

format "hbbtv-carousel://OOOO:CCCC/"
Where OOOO = organisation ID (max 16bit).
      CCCC = carousel ID (max 64bit).

6. Add ci scheme to standard schemes list.
So WebEngine can distinguish it.

Now, the  standard url will convert the host part to lower case.
But the CI address don't need convert it to lower case.

format: ci:// type
eg:     ci://HbbTVEngineProfile1/aux/APPLAUNCH-0020/eurofins_logo_0020.cehtml

References:
https://review.tizen.org/gerrit/#/c/282079
https://review.tizen.org/gerrit/#/c/287652/

Change-Id: I2d06f91056515621f00b2f60c9992b4b2ae88744
Signed-off-by: fang fengrong <fr.fang@samsung.com>
15 months ago[M108 Migration] Support builds for aarch64 and emulator 39/289039/11
uzair [Wed, 21 Oct 2020 05:20:40 +0000 (10:50 +0530)]
[M108 Migration] Support builds for aarch64 and emulator

Below change adds clang_format binary built for i586 platform and
also fixes compiler, linker errors to support builds for
aarch64 and emulator platforms.

Also disables libyuv neon for aarch64 platform due to incompatibility
with gcc.

Build command:
./tizen_src/build/build_standard_aarch64.sh
./tizen_src/build/build_emulator_ix86.sh
./tizen_src/build/build_emulator_x86_64.sh

Reference:
https://review.tizen.org/gerrit/c/245973

Change-Id: Ia3bfa4f4437f7b6d1f552c6a12ab93c667d6c2a3
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months ago[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional... 69/289169/5
YongGeol Jung [Thu, 17 Nov 2022 05:01:39 +0000 (21:01 -0800)]
[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional memory creation.

Evas engine creates it's own egl window and egl surface to render. Eventually
additional GEM memory is created for rendering. Enable evas manual rendering to
prevent this symptom.

Reference: https://review.tizen.org/gerrit/#/c/284435/

Change-Id: Ia5b72d0f528cb5526da29bba32df37e2b433af95
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
15 months ago[M108 Migration] Bringup Upgradable Web Engine (UWE) 01/287601/8
ayush.k123 [Wed, 1 Feb 2023 07:00:18 +0000 (12:30 +0530)]
[M108 Migration] Bringup Upgradable Web Engine (UWE)

References:
https://review.tizen.org/gerrit/278476
https://review.tizen.org/gerrit/279250

Change-Id: Iee4bb2bd30a8bcde52772bde9a0d1c7492287ac7
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months agoDummy Implementation for EWK APIs 66/289166/3
feifei08.liu [Thu, 2 Mar 2023 07:37:24 +0000 (15:37 +0800)]
Dummy Implementation for EWK APIs

ewk_view_suspend_network_loading
ewk_view_resume_network_loading
ewk_wait_chromium_ready

Change-Id: I30068380261b203eba8df2953dab7e6aed0ec208
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
15 months ago[M108 Migration][WRTjs][VD] Migrates recent performance patches 42/288942/7
DongHyun Song [Mon, 27 Feb 2023 00:19:44 +0000 (09:19 +0900)]
[M108 Migration][WRTjs][VD] Migrates recent performance patches

Reference:
https://review.tizen.org/gerrit/#/c/286009/
https://review.tizen.org/gerrit/#/c/286443/
https://review.tizen.org/gerrit/#/c/286525/
https://review.tizen.org/gerrit/#/c/286567/
https://review.tizen.org/gerrit/#/c/286620/
https://review.tizen.org/gerrit/#/c/287796/
https://review.tizen.org/gerrit/#/c/288066/
https://review.tizen.org/gerrit/#/c/289065/

Change-Id: Iaead7c4e7d19c0a4f9d89d746f5761335bc140c9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
15 months ago[M108 Migration][VD] Handle "Up","Select" and "Cancel" key 79/288779/5
liuxd [Thu, 23 Feb 2023 01:33:58 +0000 (09:33 +0800)]
[M108 Migration][VD] Handle "Up","Select" and "Cancel" key

1.Handle Up key on top of IME as same as Return Back
key
2.For TV IME "Select" and "Cancel" key, handle as hide IME
3.[VD][Remote Access] Block "Cancel" key event in non webapp scene

Refer:
https://review.tizen.org/gerrit/#/c/280444

Change-Id: I8e924d2c55ce3d1a765c7b5baf8687caed77a020
Signed-off-by: liuxd <xd123.liu@samsung.com>
15 months ago[M108 Aura Migration] Fix crash with memory sanitizer 26/289126/2
zhaosy [Thu, 2 Mar 2023 02:07:53 +0000 (10:07 +0800)]
[M108 Aura Migration] Fix crash with memory sanitizer

With memory sanitizer or some utility, there can be another thread,
which is created for their purpose.

i.e.)
With VD duma, libduma makes an agent thread as static variable
before ZygoteMain() is called.

  efl_webprocess(5483)---{duma_comm}(5497)

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

Change-Id: I5da2bf0e8eaa8632790d9f0bcb2b6f426d0f621c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months ago[M108 Migration] Support callback for customer app error page. 98/288898/13
feifei08.liu [Fri, 24 Feb 2023 07:11:33 +0000 (15:11 +0800)]
[M108 Migration] Support callback for customer app error page.

Currently WebBrowser load customer error page with below apis:
  callback "load,error"
  ewk_view_html_string_load
  ewk_view_html_string_override_current_entry_load
With these, it cannot meet all case in WebBrowser.
Customer Error Page will be stored as an independent entry.
It will cause issues related with navigation back/forward or reload.

Implement ewk_view_error_page_load_callback_set for app.
Interpose on the stage of NavigationThrottleEfl::WillFailRequest.
And pass customer error page in here.

For this implementation, customer error page will not store in navigation entry.

Currently, this change is supported for WebBrowser.

Reference:
- https://review.tizen.org/gerrit/279699/

Change-Id: I5dd1ac7bbac95b2c3456c35dbe569cf231aafef4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
15 months ago[M108 Migration][VD][AX] Support ewk_view_atk_deactivation_by_app API 59/289059/2
xiafeng [Wed, 1 Mar 2023 03:52:01 +0000 (11:52 +0800)]
[M108 Migration][VD][AX] Support ewk_view_atk_deactivation_by_app API

Migrate support patch for ewk_view_atk_deactivation_by_app and
unify logic of InitATK.

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

Change-Id: I7c19e049297b0d82c2140d12ad1e2a26f7ebfdb2
Signed-off-by: xiafeng <feng.xia@samsung.com>
15 months ago[M108 Migration][VD] Add "hover,over,link" and "hover,out,link" 90/288790/10
feifei08.liu [Thu, 23 Feb 2023 05:31:57 +0000 (13:31 +0800)]
[M108 Migration][VD] Add "hover,over,link" and "hover,out,link"

Implementation of "hover,over,link" and "hover,out,link" callbacks,
notify to client when the mouse hovers over or out a link.

Reference:
- https://review.tizen.org/gerrit/281388/

Change-Id: I490232596f714abd53e8490ce5c0359f4c80bce4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
15 months ago[M108 Migration][MM] getUserMedia bringup patch. 72/287872/7
Suhaspoornachandra [Tue, 7 Feb 2023 07:00:16 +0000 (12:30 +0530)]
[M108 Migration][MM] getUserMedia bringup patch.

 - Enable Tizen port to use camera api.
 - Fix device orientation issue.
 - Use sw path to rendering camera preview.

References:
https://review.tizen.org/gerrit/279607
https://review.tizen.org/gerrit/280370
https://review.tizen.org/gerrit/280507

Change-Id: I3655507ac09d2d3183bacfbdfbc14387b53b109f
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
15 months ago[M108 Migration][VD] Add Notifications for Popup Menu show and hide 98/289098/2
jiangyuwei [Wed, 1 Mar 2023 06:44:39 +0000 (14:44 +0800)]
[M108 Migration][VD] Add Notifications for Popup Menu show and hide

For the requirement from Tizen TV WebBrowser team,
to add notifications for Popup Menu show and hide.

In WebBrowser side, need to know that there is date picker,
then can have normal mouse move on it, not hybrid movement.

Reference:
https://review.tizen.org/gerrit/#/c/282721/

Change-Id: Iae39c8fc26db93fd497e7e4313669c3e0f16ddcf
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
15 months ago[M108 Migration] Set default behavior of common profile as mobile profile 03/289103/2
Surya Kumar [Wed, 1 Mar 2023 11:53:55 +0000 (17:23 +0530)]
[M108 Migration] Set default behavior of common profile as mobile profile

WRT disables onscreen mode for |MobileProfile|. This patch equates
|MobileProfile| with |CommonProfile| forcing WRT to run in offscreen
mode in RPi4, just like M94 AURA and fixes web app errors
encountered from wayland module.

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

Change-Id: I4e75c16fac97a9ad2a90a4f9bf9bf0a58e5fe4a8
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
15 months ago[M108 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types API 84/289084/5
fr.fang [Tue, 28 Feb 2023 12:20:54 +0000 (20:20 +0800)]
[M108 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types API

This is required to prevent the renderer from creating frames to handle JS
plugins mimetypes, if those mime types are supported by the renderer by default.

Reference:
https://review.tizen.org/gerrit/#/c/282683

Change-Id: I4ffbcccac84b5dc0ec531fbbcf67de18bef9e569
Signed-off-by: fr.fang <fr.fang@samsung.com>
15 months agofixup! [M108 Migration] Enable video hole feature 94/288794/3
Venugopal S M [Mon, 27 Feb 2023 13:25:02 +0000 (18:55 +0530)]
fixup! [M108 Migration] Enable video hole feature

Call decode unset method in IDLE state.

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

Change-Id: Ice0d1ad64e65aca47275df01ad550c73748a22c6
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
15 months agofixup! [M108 Aura Migration] Add media playback ewk api 96/289096/4
xiaofang [Wed, 1 Mar 2023 05:20:13 +0000 (13:20 +0800)]
fixup! [M108 Aura Migration] Add media playback ewk api

add ewk_view_stop_video impl

Change-Id: Ie02d39d39c43089b9a78c34b2696fde2816b7527
Signed-off-by: xiaofang <fang.xiao@samsung.com>
15 months agofixup! fixup! Enable content shell with aura for desktop 95/289095/2
Gajendra N [Wed, 1 Mar 2023 04:57:36 +0000 (10:27 +0530)]
fixup! fixup! Enable content shell with aura for desktop

The fixup commit 6ec053 caused linker error on desktop build.
It seems for deskop version, tls_model type 'initial-exec' is
suitable. This patch makes necessary changes to handle both profiles.

Change-Id: I2de65051f01a2c9d9444450fa0a5bb301ea85a71
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
15 months ago[M108 Migration] Add an ewk api logs for debugging 50/289050/3
jiangyuwei [Tue, 28 Feb 2023 03:14:01 +0000 (11:14 +0800)]
[M108 Migration] Add an ewk api logs for debugging

Important and frequently used ewk api logs are lacking,
add logs for debugging.

Reference:
https://review.tizen.org/gerrit/#/c/283987/

Change-Id: I661b4cf68f037a96b5b60cf2e72567815f100ea4
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
15 months ago[WRTJS] Fix a gcc build error caused by function/class ambiguity 81/289081/4
Surya Kumar [Tue, 28 Feb 2023 11:09:39 +0000 (16:39 +0530)]
[WRTJS] Fix a gcc build error caused by function/class ambiguity

1. Existing function name had the same signature as a class's constructor
leading to gcc causing build break. Made changes to resolve
the confusion.
2. Added a missing function definition that otherwise made a class
incomplete.

Reference:
https://github.com/electron/electron/pull/36096/commits/e50ab4a4db4042cbc007cd8d832f61b9c8bc0449

Change-Id: I3e6c27b8bbb450ab3ac908b9c985153e73526ff0
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
15 months agofixup! Enable content shell with aura for desktop 79/289079/2
Gajendra N [Tue, 28 Feb 2023 09:49:32 +0000 (15:19 +0530)]
fixup! Enable content shell with aura for desktop

This patch reverts a change related to ThreadLocalStorage 'tls_model'
done in patch [1], as the change was causing error [2] when our
chromium-efl library is being loaded with dlopen from another library.

As per the comment description mentioned in file
third_party/blink/renderer/platform/heap/thread_local.h, it is suggested
to use "local-exec" type for Linux platform, hence reverting back to
original type, which avoids the error [2].

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

[2] "cannot allocate memory in static tls block"

Change-Id: I683859fff133217eec91e285a09d9430e6c4d4e7
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
15 months agofixup! [M108 Migration][API] Bring up autofill 77/288777/5
Chandan Padhi [Wed, 22 Feb 2023 15:49:24 +0000 (21:19 +0530)]
fixup! [M108 Migration][API] Bring up autofill

This commit fixes webview crash at launch when autofill is enabled.

Reverts commit fe2ff5b.

Change-Id: I187180dd09bd1595e94a0b33d02fdf3299182938
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
15 months ago[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV 46/289046/2
fr.fang [Tue, 28 Feb 2023 01:15:08 +0000 (09:15 +0800)]
[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV

1.This CL implement api ewk_context_register_url_schemes_as_cors_enabled.
With this CL, WebEngine can parse dvb url host as CORS.
2.Remove WRT dependency of injected bundle, only HbbTV uses it.
3.Fix the loss of IPC message caused by multithreading.

This patch includes :
1) Added protection for NULL message in IPC.
   There was no exception handling for the NULL message
   in low memory situation.
2) Fix the issue the deleted message is used again.
   When multiple render process exit ,the message is deleted
   after it send to one render process.
   Copy the message before it is sent to render process.

References:
https://review.tizen.org/gerrit/#/c/251270/
https://review.tizen.org/gerrit/#/c/250990
https://review.tizen.org/gerrit/#/c/255829

Change-Id: Iaf0084a385649fda71d2c0856398b0c26458c919
Signed-off-by: fr.fang <fr.fang@samsung.com>
15 months ago[M108 Migration][WRTjs][VD] define lib_dir_path 63/289063/4
zhaosy [Tue, 28 Feb 2023 05:25:55 +0000 (13:25 +0800)]
[M108 Migration][WRTjs][VD] define lib_dir_path

lib_dir_path is not defined, so mount app is fail.

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

Change-Id: I2835bf83f2498615db3a5f728fd0979fca1225b1
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
15 months ago[M108 Migration] Implement ewk_settings_do_not_track_set() API 87/288887/3
Jie Zhang [Fri, 24 Feb 2023 05:44:45 +0000 (13:44 +0800)]
[M108 Migration] Implement ewk_settings_do_not_track_set() API

Set to add http head DNT(do not track).

Reference:
- https://review.tizen.org/gerrit/#/c/279422/

Change-Id: Iee5403811413d091d53aa14b8ab4033ac576be0a
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
15 months ago[M108 Migration] Selection & Context menu controller. 15/288515/4
v-saha [Fri, 17 Feb 2023 12:34:31 +0000 (18:04 +0530)]
[M108 Migration] Selection & Context menu controller.

This change migrates below fixes related to context menu/text selection.
1. Uses GetSelectedText in RWHVA.
2. Avoid hiding context menu during potrait to landscape and vice versa.
3. Do not restore context popup when in caret mode.

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

Change-Id: Iadc9cb3c5bb9948b867c24ba825e658260908a8c
Signed-off-by: v-saha <v.saha@samsung.com>
15 months agoDummy Implementation for EWK APIs 50/288950/12
feifei08.liu [Mon, 27 Feb 2023 02:03:46 +0000 (10:03 +0800)]
Dummy Implementation for EWK APIs

ewk_settings_mixed_contents_set
ewk_context_time_offset_set, ewk_context_timezone_offset_set
ewk_check_chromium_ready
ewk_view_run_mixed_content_confirm_callback_set
ewk_settings_mixed_contents_set
ewk_view_error_page_load_callback_set
ewk_view_add_item_to_back_forward_list
ewk_view_poweroff_suspend : empy implement, need check history
ewk_view_set_cursor_by_client
ewk_settings_ime_handle_key_event_enabled_get/set

Change-Id: Ib75af16280c2389be7c22cd9b84e637f54d30d3c
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
15 months ago[M108 Aura Migration] Add media playback ewk api 51/288951/6
xiaofang [Mon, 27 Feb 2023 02:19:08 +0000 (10:19 +0800)]
[M108 Aura Migration] Add media playback ewk api

ewk api:
ewk_view_stop_video
ewk_view_broadcast_decoder_set
ewk_view_media_device_list_get
ewk_settings_default_audio_input_device_set
ewk_view_is_video_playing

Refer:
https://review.tizen.org/gerrit/#/c/270947/
https://review.tizen.org/gerrit/#/c/271619/
https://review.tizen.org/gerrit/#/c/284880/
https://review.tizen.org/gerrit/#/c/284853/
https://review.tizen.org/gerrit/#/c/276711/
https://review.tizen.org/gerrit/#/c/270211/

Change-Id: I406d049dca2b07ae4f4757c6412f0ceff9509e81
Signed-off-by: xiaofang <fang.xiao@samsung.com>
15 months agofixup! [M108 Migration][clang] set default value for _clang variable 09/289009/1
Gajendra N [Mon, 27 Feb 2023 08:24:52 +0000 (13:54 +0530)]
fixup! [M108 Migration][clang] set default value for _clang variable

This commit enables clang build by default for both VD QB and SR QB.

Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Change-Id: I481464121e0d500829b714f94920db5000e25523

15 months agofixup! [M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia 81/288681/4
Suhaspoornachandra [Tue, 21 Feb 2023 09:20:12 +0000 (14:50 +0530)]
fixup! [M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia

Currently |DestroyMediaPacket| function is called twice(|OnTbmBufferExhausted|
and |GLImageEGL|) per each media packet. Changed to call |DestroyMediaPacket|
function only once per each packet.

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

Change-Id: Ife888684dca419a0d9629e1c39594ce1c71238d1
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
15 months ago[M108 Migration][Native Control] JsPopup Migration & Bring up 51/288051/9
Bakka Uday Kiran [Thu, 23 Feb 2023 09:21:28 +0000 (14:51 +0530)]
[M108 Migration][Native Control] JsPopup Migration & Bring up

This patch brings up popup functionality for JavaScript APIs
like window.alert(), window.prompt() etc.

Reference:
https://review.tizen.org/gerrit/c/278533
https://review.tizen.org/gerrit/c/271926

Change-Id: I9f50d76b8f5d8b309eb1749f6cb18a3e2ffccc4c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
15 months agoAdd dummy implementation for ewk_set_version_policy API 70/288970/3
Gajendra N [Mon, 27 Feb 2023 05:32:46 +0000 (11:02 +0530)]
Add dummy implementation for ewk_set_version_policy API

ewk_set_version_policy api comes from UWE feature. Since UWE patch is
not yet applied to beta branch due to some error, this patch applies
dummy impl for the above api to succeed 7.5 VD QB build.

Change-Id: I2b6cef8e87e3e480a3ae8f49847e8743d9224aed
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
15 months ago[M108 Migration][VD] Provide ewk_settings_clipboard_enabled_set api 54/288654/5
shurong.chen [Tue, 21 Feb 2023 03:07:53 +0000 (11:07 +0800)]
[M108 Migration][VD] Provide ewk_settings_clipboard_enabled_set api

The patch is for the requirement:
Support ewk setting api for handle ctrl+x/c/v(clipboard).
When clipboard enabled, text input can paste from clipboard.

This patch is migrated from M94 Aura:
https://review.tizen.org/gerrit/#/c/282689/

Change-Id: I2de1e97720968c27d5271e63c2afba3935ec30e9
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
15 months ago[M108 Migration][ContextPopup] Bring up Context Popup 2/2 18/288618/8
Bakka Uday Kiran [Mon, 20 Feb 2023 11:12:11 +0000 (16:42 +0530)]
[M108 Migration][ContextPopup] Bring up Context Popup 2/2

This patch migrates changes related to context popup bringup and
Also handles,

1. Displaying context menu(text_selection) when touchevent is consumed.
2. Simplify logic of text selection.
3. Correcting context menu Show/Hide behaviour by maintaining state
   machine.
4. Fix for scrolling not smooth when context menu is shown.
5. Remove focusing codes in ContextMenuControllerEfl.
6. Check the status of context menu just before display.
7. Adjust the position of context menu for text selection

Reference: https://review.tizen.org/gerrit/c/282372

Change-Id: I6d66c9c0ea4f96c602378515434af23a62ca37f6
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
15 months ago[M108 Migration] Add empty impl for tree api to avoid compile error. 43/288943/3
qiang.ji [Mon, 27 Feb 2023 01:16:18 +0000 (09:16 +0800)]
[M108 Migration] Add empty impl for tree api to avoid compile error.

refs:
ewk_view_clear_tiles_on_hide_enabled_set   https://review.tizen.org/gerrit/#/c/279483/
ewk_view_edge_scroll_by https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271182/
ewk_view_tile_cover_area_multiplier_set  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271942/

Change-Id: Iaf207739e1029a4c6f87637feb927ff6293a19b9
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
15 months ago[M108 Migration][VD] Fix IME focus issue 72/288872/2
liuxd [Fri, 24 Feb 2023 01:39:34 +0000 (09:39 +0800)]
[M108 Migration][VD] Fix IME focus issue

1. Add WebView focus and Widget show state check
2. Fix WebPage auto focus to input,ime have not focus in issue.

refer:
https://review.tizen.org/gerrit/#/c/282680/

Change-Id: I7c55cf139766af540119d4633a952816e264032d
Signed-off-by: liuxd <xd123.liu@samsung.com>
15 months ago[M108 Migration] Fix WRTJS build errors 08/288908/4
Surya Kumar [Fri, 24 Feb 2023 08:30:23 +0000 (14:00 +0530)]
[M108 Migration] Fix WRTJS build errors

This patch adds necessary changes to resolve dependency
errors occurring during various wrtjs profile builds.

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

Change-Id: I2a00b44c4d9b4d4b22d4c94462b3197ce1adf876
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
15 months ago[M108 Migration] Support Url conversion on the multi process model 00/288900/5
fang fengrong [Sat, 25 Feb 2023 07:32:47 +0000 (15:32 +0800)]
[M108 Migration] Support Url conversion on the multi process model

1. Instantiate WrtDynamicPlugin for browser process on multi process.
2. Revise WrtUrlRequestInterceptor.
   Added to Support app scheme.
   If parsed URL is not file scheme, the request will be redirected,
not handled directly in WrtUrlRequestInterceptor. The parsed URL will
be exposed to the content side(WebApp) after redirection.
3. Cleanup WrtWidget related codes
Remove duplicated codes and unify codes for TV product and public in
a single interface
4. Remove URLRequestInterceptingJobFactory
5.Fix the crash in EWebContext::SetWidgetInfo
  There is a crash when EWebContext::SetWidgetInfo is invoked
without injected bundle in the single process mode.

References:
https://review.tizen.org/gerrit/#/c/247502/
https://review.tizen.org/gerrit/#/c/250497/

Change-Id: Id057f3c74e4f4168515b15d9a0509a17bde96479
Signed-off-by: fang fengrong <fr.fang@samsung.com>
15 months agoRemove unutilized code 50/288750/3
Koyyani Maheswari [Wed, 22 Feb 2023 05:33:52 +0000 (11:03 +0530)]
Remove unutilized code

Below features are not used. Respective code is removed.
- tizen_multimedia_eme_support
- tizen_multimedia_support

Reference :
https://review.tizen.org/gerrit/279396/
https://review.tizen.org/gerrit/279317/

Change-Id: I989a3873cfe785afcff1f7172419c0646510e95c
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
15 months ago[M108 Migration][API] Provide ewk_context_tizen_app_version_set api 09/288609/5
Jie Zhang [Mon, 20 Feb 2023 07:27:19 +0000 (15:27 +0800)]
[M108 Migration][API] Provide ewk_context_tizen_app_version_set api

This patch is for the requirement:
Provide ewk setting api for widget version which be used for html5 video.

1.Provide ewk_context_tizen_app_version_set api for HBBTV,
  to set the value of widget version.
2.This api must be used after ewk_context_tizen_app_id_set or
  ewk_send_widget_info beacuse need drop the process privillages
  and set dynamic plugin.

Reference:
- https://review.tizen.org/gerrit/283610/

Change-Id: I67f644d3455af3d1ac939bbe316d64ee347a9911
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
15 months ago[M108 Migration] Bringup Drag and Drop (DnD) 97/288097/10
Bakka Uday Kiran [Fri, 10 Feb 2023 09:32:59 +0000 (15:02 +0530)]
[M108 Migration] Bringup Drag and Drop (DnD)

This patch brings up DnD feature to M108.
Between M85 and M94, due to upstream refactoring,
the DragEnter notification IPC call is done through
mojom::blink::PageBroadcast (WebViewImpl).

Reference: https://review.tizen.org/gerrit/c/278386

Change-Id: I9aeb92ad80485f28434065c3cd582e9468497991
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
15 months agofixup! [MM] Implement MMPlayer(CAPI) path to support HBBTV. 95/288795/3
Venugopal S M [Mon, 20 Feb 2023 13:04:15 +0000 (18:34 +0530)]
fixup! [MM] Implement MMPlayer(CAPI) path to support HBBTV.

Notify the completion of playback(EOS) to the pipeline

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

Change-Id: I74172a7d406d64b8c0868443acc02428ce040621
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
15 months ago[M108 Migration] Remove EWK_BRINGUP from ewk_settings.cc 74/288674/3
ayush.k123 [Tue, 21 Feb 2023 09:10:32 +0000 (14:40 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk_settings.cc

This patch removes EWK_BRINGUP and unused code from ewk_settings.cc.

References: https://review.tizen.org/gerrit/280785/

Change-Id: I7950338a8fb06b8d07e82f991d81f72185227cec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration] Support encoding property for WRT config.xml 10/288710/4
ayush.k123 [Wed, 22 Feb 2023 03:08:59 +0000 (08:38 +0530)]
[M108 Migration] Support encoding property for WRT config.xml

ewk_settings_default_text_encoding_name_set() was not affected
due to |usesEncodingDetector| in TextResourceDecoder.
If |defaultTextEncodingName| is changed by ewk_settings API,
|usesEncodingDetector| will be disabled.

References: https://review.tizen.org/gerrit/280599/

Change-Id: Ib1295cd52b07cdf5fa6284e706d46a70d10448c8
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months agoCompiler error fixes for supporting VD QB 83/288783/2
uzair [Thu, 23 Feb 2023 03:58:56 +0000 (09:28 +0530)]
Compiler error fixes for supporting VD QB

Below change fixes compiler errors by partially migrating
[1] and [2] for supporting VD QB.

[1] https://review.tizen.org/gerrit/c/271760
[2] https://review.tizen.org/gerrit/c/271757

Change-Id: Iabea727eefc8c7e03fa01a6f529f9b1ed613b931
Signed-off-by: uzair <uzair.jaleel@samsung.com>
15 months ago[M108 Migration][HBBTV] Implement new ewk context api 35/288735/3
fr.fang [Wed, 22 Feb 2023 01:24:18 +0000 (09:24 +0800)]
[M108 Migration][HBBTV] Implement new ewk context api

Support incognito mode in Injected bundle, implement the api of
ewk_context_new_with_injected_bundle_path_in_incognito_mode
for the request from hbbtv.

Reference:
https://review.tizen.org/gerrit/#/c/281230

Change-Id: I4f5153f0a88b2fbd655f8a597ba8d78955b122d4
Signed-off-by: fr.fang <fr.fang@samsung.com>
15 months agoDo not include chromium internal headers in ewk header 84/288784/3
yh106.jung [Thu, 23 Feb 2023 03:29:13 +0000 (19:29 -0800)]
Do not include chromium internal headers in ewk header

This patch does not include build_config.h to ewk headers, but to ewk
sources in order to resolve build breaks that occur in modules that
reference chromium-efl.

Change-Id: Ic683dfce4c3e516a00121e005bdf1bb34516171f
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
15 months agoShorten NotifySwap path for offscreen rendering 52/288452/8
Chandan Padhi [Thu, 16 Feb 2023 15:33:24 +0000 (21:03 +0530)]
Shorten NotifySwap path for offscreen rendering

This commit shortens NotifySwap path by removing some
of the changes in upstream code.

w/o patch:
SkiaOutputSurfaceImpl->Display(OutputSurfaceClient)->
RootCompositorFrameSinkImpl(DisplayClient)->FrameSinkManagerImpl->
HostFrameSinkManager(FrameSinkManagerClient)->
DelegatedFrameHost(HostFrameSinkClient)->
DelegatedFrameHostClientAura(DelegatedFrameHostClient)->
RenderWidgetHostViewAura->RWHVAuraOffscreenHelperEfl

with patch:
SkiaOutputSurfaceImpl->Display(OutputSurfaceClient)->
RootCompositorFrameSinkImpl(DisplayClient)->
HostDisplayClient(mojom::DisplayClient)->Compositor->
CompositorObserverEfl(CompositorObserver)->
RWHVAuraOffscreenHelperEfl

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

Change-Id: I5dbfad3a6bb8460804045c6a8b66bae1f74130ac
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
15 months ago[M108 Migration][VD] Avoid pending frame counter becoming negative 44/288644/2
lizhifan [Tue, 21 Feb 2023 02:38:15 +0000 (10:38 +0800)]
[M108 Migration][VD] Avoid pending frame counter becoming negative

There should be only one frame rendering at one time,
this counter help scheduler accomplish this task.

But sometimes this counter could be notified to decrease
more times than it should be, so it becomes negative,
then scheduler is not working properly,
the FPS will go sky high.

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

Change-Id: Icb7ef4ae0c206a8764581cccb078bb57bbc0c432
Signed-off-by: lizhifan <lizhi.fan@samsung.com>
15 months agoFix multiwindow event handling issue 23/288723/3
Gajendra N [Wed, 22 Feb 2023 05:41:09 +0000 (11:11 +0530)]
Fix multiwindow event handling issue

ParentWindowWithContext is used to maintain hierarchy of aura windows, however
it is not suitable for offscreen rendering mode where Native Window is not yet
available at the ozone layer during child aura window creation in case of
'CreateNewWindow'. Enabling ParentWindowWithContext causes event handling issue
during multiple windows (tabs) scenario, hence it disabling for offscreen case.

Change-Id: Iae0f471768b498b1dc1eff5e1e1d15b80f356834
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
15 months ago[M108 Migration][WCS] Bringup contents magnifier 83/288683/4
ayush.k123 [Tue, 21 Feb 2023 09:34:22 +0000 (15:04 +0530)]
[M108 Migration][WCS] Bringup contents magnifier

This patch brings up contents magnifier.

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

Change-Id: Ib4dcd1c5d22083c1a601f201989ce3b66eb262f4
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration] Add "custom,scroll,begin","custom,scroll,end" support 08/288708/4
ayush.k123 [Wed, 22 Feb 2023 02:45:01 +0000 (08:15 +0530)]
[M108 Migration] Add "custom,scroll,begin","custom,scroll,end" support

Handles and context menu should be temporarily hidden durnig scrolling.
But specific applications like email-app uses their own scrolling
mechanism within chromium-efl does not know about this happening.
This breaks chromium-EFL behaviour.

To meet these requirements email-app provided smart callbacks to
notify engine that custom scrolling is started and finished.

The patch is a counterpart of above smart callbacks.

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

Change-Id: I5ab6d978b50b4e9ed4302ad28fcc65f1c248453b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration] Add Overscroll related callbacks & Bringup Edge Effect feature 63/288663/3
ayush.k123 [Mon, 20 Feb 2023 04:26:12 +0000 (09:56 +0530)]
[M108 Migration] Add Overscroll related callbacks & Bringup Edge Effect feature

This patch adds overscroll related callbacks,
- overscrolled,left
- overscrolled,right
- overscrolled,top
- overscrolled,bottom

They will be invoked when overscroll occurs for specific element.

Edge Effect is a glow like effect shown when webpage is overscrolled
horizontally or vertically to give an indication to user that the webpage
contents end at that point. Browser is notified with 'DidOverscroll' and
'DidUpdateMainFrameLayout' to keep track of overscroll and contents size
changes.

References: https://review.tizen.org/gerrit/282151/

Change-Id: I2fcdfd64c68619705f695f6253b00709d7ea903b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration][MM] MediaSourceExperimental experimental feature 12/288612/2
Venugopal S M [Thu, 9 Jun 2022 13:53:40 +0000 (19:23 +0530)]
[M108 Migration][MM] MediaSourceExperimental experimental feature

Enables TrackDefaultList that SourceBuffer may consult.
It causes MSE webTCT failure.

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

Change-Id: Ic93e9656632e7cc6b920524ac74a620b1db0e471
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
15 months ago[M108 Migration][MM] Handle PlaybackRate. 13/288613/2
Venugopal S M [Tue, 19 Jul 2022 01:10:35 +0000 (18:10 -0700)]
[M108 Migration][MM] Handle PlaybackRate.

- Enable call to setPlaybackRate
- Delay setting playback rate if player is not prepared(HBBTV)

Reference:
https://review.tizen.org/gerrit/278307
https://review.tizen.org/gerrit/278434
https://review.tizen.org/gerrit/281298
https://review.tizen.org/gerrit/288027

Change-Id: Ib82d363fb0c5f8e585a10967a3d913cd2eb181d3
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
15 months ago[M108 Migration][clang] set default value for _clang variable 70/288670/2
Chandan Padhi [Tue, 21 Feb 2023 09:04:27 +0000 (14:34 +0530)]
[M108 Migration][clang] set default value for _clang variable

This commit enables clang build by default for VD QB.

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

Change-Id: I5b5932598d2f3235afefb04a5e62b9fd3f268395
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
15 months ago[M108 Migration][MM] Handle BufferingState for playback 14/288614/2
Sun-woo Nam [Fri, 3 Jun 2022 02:10:48 +0000 (19:10 -0700)]
[M108 Migration][MM] Handle BufferingState for playback

- Fix the issue that time is not changed when video is playing.
- Ignore "underrun" for changing ready state.

Reference:
https://review.tizen.org/gerrit/275855
https://review.tizen.org/gerrit/284178

Change-Id: I57386011655b774f7038685801a6a8622a293c26
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
15 months ago[M108 Migration][VD] Support device 02/288602/3
liuxd [Mon, 20 Feb 2023 07:44:46 +0000 (15:44 +0800)]
[M108 Migration][VD] Support device

1. Allow to show IME by the Enter key in RC device
For TV profile, to support the new requirement that allow to show IME
by the Enter key in Remote Control device.

Now add a parameter in web keyboard event to mark if the key event is from RC;
and use "is_from_rc" and "windows_key_code == ui::VKEY_RETURN" to distinguish
the Enter key in Remote Control device.

Migrated from M94_aura:
https://review.tizen.org/gerrit/#/c/281776

2.Support device name property in keyboard event

There is a requirement from HotelTV product team to support device name
property in keyboard event:
Some 3rd-party want to distinguish by device name when key event fired
between devices.

Refer:
https://review.tizen.org/gerrit/#/c/+/282276

Signed-off-by: liuxd <xd123.liu@samsung.com>
Change-Id: I05d8e28afe2b12ccf1d281c7634bab380a0e5b90

15 months ago[M108 Migration] Add "touch,focus" in ewk_settings_extra_feature_set/get 61/288661/3
ayush.k123 [Tue, 21 Feb 2023 03:59:03 +0000 (09:29 +0530)]
[M108 Migration] Add "touch,focus" in ewk_settings_extra_feature_set/get

This patch enables the capturing of touch and focus activities of the
user when user touches on screen.

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

Change-Id: I09131483b3adef94fa2efea209586034ff7db232
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration][ContextPopup] Bring up Context Popup 1/2 00/288200/11
b.kiran [Wed, 15 Feb 2023 11:27:00 +0000 (16:57 +0530)]
[M108 Migration][ContextPopup] Bring up Context Popup 1/2

This patch migrates changes related to context popup bringup and
refactoring. Also handles,
1. Implementation of SelectClosestWord.
2. Implementation of CurrentSelectionRect.
3. Replacement of legacy IPCs to mojo used for context menu,
   text selection.

Reference: https://review.tizen.org/gerrit/c/282210

Change-Id: If89a3c8ef56bee7dd7db399f674a209d037746c7
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
15 months ago[WRTjs] Enable WRTjs 32/288432/3
SangYong Park [Mon, 16 Jan 2023 02:51:09 +0000 (11:51 +0900)]
[WRTjs] Enable WRTjs

. electron v22.0.0
  + node modules : @types/node, @types/webpack-env, buffer, husky, process,
                   timers-browserify, ts-loader, typescript, webpack,
                   webpack-cli, wrapper-webpack-plugin
  + electron.d.ts : type definitions for electron
. node.js v16.17.1
  + electron's patches
  - benchmark, doc, test, tools/node_modules
  - some deps (brotli, corepack, googletest, icu-small, ngtcp2, npm, openssl, v8, zlib)
. wrt
  : from tizen_7.0 branch (7ecb2e77d908b23a61844e489decd3f15e036dea)
    + aura enabling

Change-Id: I44c715bff439969c34ec6f55f43c81a0bab92894
Signed-off-by: SangYong Park <sy302.park@samsung.com>
15 months ago[M108 Migration] Bring up Selection Controller 06/288206/7
v-saha [Thu, 9 Feb 2023 16:00:12 +0000 (21:30 +0530)]
[M108 Migration] Bring up Selection Controller

1. Adjusting selection handle's coordinates to current
orientation for mouse move and other changes.
2. Selected Text shouldn't be removed when H/W back button is pressed.
3. Adding ewk_settings_extra_feature_(set|get).
4. Use LongPressStarted as a reason of selection change after long press.

References:
https://review.tizen.org/gerrit/281503
https://review.tizen.org/gerrit/283776

Change-Id: I865c46a8044cd430bd9d6a982f935e2724594da6
Signed-off-by: v-saha <v.saha@samsung.com>
15 months ago[M108 Migration][VD] Hybrid support use evas RGBA 47/288647/3
qiang.ji [Sun, 29 Nov 2020 05:48:58 +0000 (13:48 +0800)]
[M108 Migration][VD] Hybrid support use evas RGBA

1.Set default font familiy to SamsungOneUI
2. Web Terms need to show app contents behind one evas obj, now
evas set the color format RGB, need to change it to RGBA, to
support alpha.

From Tizen3.0 chromium-efl, Opaque RGB surface has been used
to fix garbage issue.It was a temporary fix and seems to have
been resolved now.

Now some wrt app use RGBA mode show transparent background
have black issue, so need to reset the mode to RGB when it
is the wrt app, hybrid app use ewk function to set app type
so judge it to set it use RGBA mode.

refs:
https://review.tizen.org/gerrit/#/c/271937/

Change-Id: I10cdf5aaaf3e079362821615bd5397695aa49761
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
15 months ago[M108 Migration] Handle settings in WebPreferences and WebViewImpl 26/288426/6
Bakka Uday Kiran [Thu, 16 Feb 2023 07:01:52 +0000 (12:31 +0530)]
[M108 Migration] Handle settings in WebPreferences and WebViewImpl

This patch handled settings in WebPreferences and
WebViewImpl

Reference: https://review.tizen.org/gerrit/c/282203

Change-Id: I2879dec16b3a7dc2490ac2cf63d6659aa2dda1ad
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
15 months ago[M108 Migration] Patches related to focusable or clickable nodes and tap highlights 59/288559/3
ayush.k123 [Mon, 20 Feb 2023 03:22:28 +0000 (08:52 +0530)]
[M108 Migration] Patches related to focusable or clickable nodes and tap highlights

Patch adds below features:
  - Skip chromium default tap highlight style for HTMLElement
  - Add tap highlight to focusable or clickable node
  - Clear active and hover state before handle tap event
  - Do not show tap highlight for document node

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

Change-Id: I8240fab2d8f34eccecbdef1c50c0fa7617d7fc23
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
15 months ago[M108 Migration] Exit fullscreen when the app is suspended. 27/288427/4
Bakka Uday Kiran [Thu, 16 Feb 2023 07:27:31 +0000 (12:57 +0530)]
[M108 Migration] Exit fullscreen when the app is suspended.

This patch exits from fullscreen mode when the app
is suspended.

Reference: https://review.tizen.org/gerrit/c/281108

Change-Id: I5b155bd8f01dcd2c766f7f95d865f42a0d45fb6c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>