platform/framework/web/chromium-efl.git
10 months agoFix SVACE major issues 55/313155/6 submit/tizen/20240702.160016
v-saha [Wed, 19 Jun 2024 06:31:13 +0000 (12:01 +0530)]
Fix SVACE major issues

This fixes SVACE issues WID: 217402, 217413, 217415, 217431, 217445,
217465, 217618, 217711, 220300, 220385.

Change-Id: I1d8c8dec72121ef7952c67fb9bd47eba45d82611
Signed-off-by: v-saha <v.saha@samsung.com>
10 months ago[NextBrowser] Adding CursorController & CursorProvider 32/313832/3
mayur.jain [Tue, 2 Jul 2024 09:27:48 +0000 (14:57 +0530)]
[NextBrowser] Adding CursorController & CursorProvider

These files provide logic for cursor handling like animation
and timer based acc. of cursor.Also they contains platform
APIs related to cursor and their wrapper.

Change-Id: Id811b01570dce5db524a47bad9115092ffae60ea
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
10 months agofixup! [NUI] NUI implementation for |SkiaRenderer| 33/313733/5
Akshay Kanagali [Mon, 1 Jul 2024 08:37:11 +0000 (14:07 +0530)]
fixup! [NUI] NUI implementation for |SkiaRenderer|

Using GR_GL_RGBA8 instead of kRGBA_8888_SkColorType due to
implementation changes in |GetGrGLBackendTextureFormat|.

References :

[1] Multiplanar: Add support for GrBackendTexture in SkiaUtils
https://chromium-review.googlesource.com/c/chromium/src/+/4035411

[2] Multiplanar: Remove ResourceFormat specific utils
https://chromium-review.googlesource.com/c/chromium/src/+/4086288

Change-Id: I138a4a504c371f860fa9874aea7bd4cc46384a2a
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
10 months ago[M120 Migration][VD] Set compression ratio of chromium-efl.img to 0 for RO WebEngine 26/313826/2
jiangyuwei [Tue, 2 Jul 2024 07:50:32 +0000 (15:50 +0800)]
[M120 Migration][VD] Set compression ratio of chromium-efl.img to 0 for RO WebEngine

This patch is related to dlopen performance improvement.

The chromium-efl.img compressed with squashfs has
both SW decompression (squashfs) and HW decompression (vdfs) overhead.

If the squashfs compression ratio is set to 0 by adding this option,
"-action "uncompressed @ name(*.*)"", it is compressed by vdfs.

It is expected that the overhead of SW decompression
will be removed with this patch.

This option does not apply to TPK builds installed in the RW area.

Refer:
  - https://review.tizen.org/gerrit/291326/

Change-Id: Ic768ab4811f22e4b1b633d589f6321c611414452
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
10 months ago[M120 Migration][HBBTV][VD] Bring up CSS3 navigation 67/313667/3
fangfengrong [Mon, 1 Jul 2024 01:57:08 +0000 (09:57 +0800)]
[M120 Migration][HBBTV][VD] Bring up CSS3 navigation

Bring up CSS3 navigation, related patch:
https://review.tizen.org/gerrit/292937/

Because many source code is in json5 file and generated by python,
we can not use OS_TIZEN_TV_PRODUCT macro to guard.
And even currently only HBBTV use CSS3 navigation, we default enable
it to all TV application type to avoid using HBBTV macro guard.

Change-Id: I6dd2f733887702f81ed21dd02b9c402890c7b8e6
Signed-off-by: fangfengrong <fr.fang@samsung.com>
10 months ago[WRTjs][VD] Setup touch scroll for window by app metadata 27/313727/2
Chunling Ye [Mon, 1 Jul 2024 07:42:33 +0000 (15:42 +0800)]
[WRTjs][VD] Setup touch scroll for window by app metadata

If app enable metadata: touch.scroll.support, setup window related
feature by ecore_evas_aux_hint_add api.

Change-Id: I24e104b0668f1c7b6a1d542d3e2da13649bea709
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
10 months ago[WRTjs][VD] Support tvwindow rotate source from Tizen6.5 97/313097/4
liwei90727 [Wed, 19 Jun 2024 04:42:51 +0000 (12:42 +0800)]
[WRTjs][VD] Support tvwindow rotate source from Tizen6.5

tv_control_roate_with_size() API is supported from Tizen6.5
in tvcontrol side, so WRT need add judgement for it, otherwise
compile error in UWE branch.

Change-Id: I4fb5a36e9f8a9195f03647f6c70ce277ce6f544e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
10 months ago[WebRTC] Caching camera devices and their capabilities 57/313757/5 submit/tizen/20240701.160016
Adam Bujalski [Tue, 25 Jun 2024 15:16:47 +0000 (17:16 +0200)]
[WebRTC] Caching camera devices and their capabilities

Currently call to `navigator.getUserMedia()` can last few seconds. This
is because during processing this call few times
`VideoCaptureDeviceFactoryTizenTv` is asked to list cameras and their
capabilities. Although first iteration is fast (~ 0.2s), each next
iteration can take more than one second.

Investigation revealed that most time is consumed by recreating
platform camera (`camera_create`).

To avoid such costly time operation this patch add caches for camera
capabilities and also adds cache keeping created camera device for
short time period, as there is high probability of using it by the
application.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Change-Id: I15618075be67c03fc472a0fdf52691b6bcec4c47
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
10 months ago[NextBrowser] Adding system configuration for providing system info/vconf etc. 79/313479/4
nehal.kumar [Wed, 26 Jun 2024 11:52:59 +0000 (17:22 +0530)]
[NextBrowser] Adding system configuration for providing system info/vconf etc.
Currently adding all of the functionalties used in efl - unnecessary things will be cleaned later

Change-Id: I1995c26dbb39126e5410cc50e4533f48228078fd
Signed-off-by: nehal.kumar <nehal.kumar@samsung.com>
10 months ago[HbbTV] Support Dual decoding for HbbTV 46/313546/2
Thomas Daniel [Mon, 20 May 2024 13:52:43 +0000 (14:52 +0100)]
[HbbTV] Support Dual decoding for HbbTV

Change-Id: I6c26efc4204d7e6fef146140414f6952e58a03b7

10 months agoCollect params regarding HTML tags together 30/313230/4
Hyomin Kim [Mon, 3 Jul 2023 03:48:24 +0000 (20:48 -0700)]
Collect params regarding HTML tags together

Collect |password_input_minlength| and |input_maxlength|
to the text input states to keep the parameters regarding
inputs together for effeciency of management.

Change-Id: I485992e01bf40a96525edaf2d1e23229df5ddbf0
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
10 months ago[M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode. 26/313426/2 submit/tizen/20240628.160015
yh106.jung [Thu, 13 Jun 2024 23:09:27 +0000 (16:09 -0700)]
[M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode.

Assuming that it is connected to A-B-C in scalable broadcast mode,
the device B, which relays  A's video frame to C, skips encoding and decoding
to reduce cpu load and delay.

This commit is for low specification models and there is a constraint
that A, B and C must be connected by the same codec.

References:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/275108
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/284370

Change-Id: Icab46a45afc1e8dc81f50e96f83575546641638e
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
10 months ago[WRTjs][VD] Enable some logics which block by WRT_JS_BRINGUP 53/313253/3 submit/tizen/20240627.160014
zhaosy [Thu, 20 Jun 2024 10:45:00 +0000 (18:45 +0800)]
[WRTjs][VD] Enable some logics which block by WRT_JS_BRINGUP

1. Enable Storage Policy
2. Enable PlayLinkEffect

Change-Id: If4ff8aadb275d248a2254d9770ecf31ed6e82a17
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
10 months agoEnable system icu for Tizen Tv profiles 60/313160/8
uzair [Wed, 19 Jun 2024 11:33:17 +0000 (17:03 +0530)]
Enable system icu for Tizen Tv profiles

Below change enables system icu for TV profiles and also fixes
error [1] as open source code is not completely compatible with
higher version of platform icu library.

[1]error: static assertion failed due to requirement 'std::size(kBreakAllLineBreakClassTable)
 == (U_LB_COUNT - 3) ': breakAllLineBreakClassTable should be consistent

Rom size gain : 2.28MB

Reference:
https://bugs.gentoo.org/917645

Change-Id: I442726565c0cadecd4ad6e9bba275d7d667d15f4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
10 months ago[NextBrowser] compile issue fixed for linux platform 04/313504/2
Tarun Verma [Thu, 27 Jun 2024 05:00:46 +0000 (10:30 +0530)]
[NextBrowser] compile issue fixed for linux platform

NextBrowser flag file won't be created for platform other than tizen TV.

Change-Id: If6c7c0db5f016efe0ddbe180e8ad822e0d18fb44
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
10 months ago[NextBrowser] This commit will include HTML and Js recourse for samsung browser,curre... 35/313335/6 submit/tizen/20240626.160015
shahnawaz.a [Mon, 24 Jun 2024 06:47:46 +0000 (12:17 +0530)]
[NextBrowser] This commit will include HTML and Js recourse for samsung browser,currently in inclueds header and featured page only . as of now this will not get complied will add them into build gn files onces all recourses are there.

Change-Id: I7f71ae8749d4c378dd887a94dbedf6a34ac63d73
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
10 months agofixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 59/313459/3
Adam Bujalski [Mon, 24 Jun 2024 13:18:03 +0000 (15:18 +0200)]
fixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Returning full RTC audio decoders list when audio bypass is disabled,
due to failure in TCT test `RTCRtpTransceiver-setCodecPreferences_17`
"setCodecPreferences() modifies the order of audio codecs in createOffer"

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Change-Id: Ief2dd490cbec7ba170b5ebf51aea540c0d7c498b
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
10 months agofixup! [M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0 89/313389/3
Adam Bujalski [Tue, 18 Jun 2024 11:28:03 +0000 (13:28 +0200)]
fixup! [M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0

Unused functions removal, to avoid `[-Wunused-function]` compiler
warning.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I22da2820c70b348de7b7f73a9e89f9205c8b5898
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
10 months ago[viz] Fix CVE-2024-4671 use after free vulnerability 92/313392/2
r.abarquez [Tue, 25 Jun 2024 09:32:18 +0000 (09:32 +0000)]
[viz] Fix CVE-2024-4671 use after free vulnerability

Tolerate SinkGroup destruction during submit

Change-Id: Iaf6796938456245106c62e44dc7a55f5c26ce1fa
Reference: https://chromium-review.googlesource.com/c/chromium/src/+/5523748
Signed-off-by: Rex Rovannie Abarquez <r.abarquez@samsung.com>
10 months ago[M120 Migration][NaCl][Gamepad]Add Hostbinding Gamepad API 82/313282/3 submit/tizen/20240625.160014
Yu Yang [Fri, 21 Jun 2024 09:48:14 +0000 (17:48 +0800)]
[M120 Migration][NaCl][Gamepad]Add Hostbinding Gamepad API

Add wasm gamepad api using Hostbinding logic.
the api has no dependency with DOM and Navigator and could be called in
multi-thread scenario.

Ported patches from tizen_8.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296812/

Change-Id: Idf2d003212d59235c7cd1169b4bdf8adb208483d
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
10 months ago[TTVD] Workaround for empty damage rect 57/313357/8
Adam Bujalski [Fri, 14 Jun 2024 14:45:05 +0000 (16:45 +0200)]
[TTVD] Workaround for empty damage rect

It may happen that sometimes damage for overlay surface will be empty,
which will lead to not redrawn video e.g. when rotating video by 90
degrees.

To workaround for this issue, this patch updates damage for such overlay
to be intersection of surface bounds and damage computed for whole
frame.

Additionally as function `OverlayProcessorTizen::ProcessForOverlays`
became to long to be understood properly, this patch splits it to
several smaller ones.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-511
Change-Id: If4e0ac2b90335ac038d64388d7035e8814269cc9
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
10 months agofixup! [M120 Migration][TTVD] Port video decoder from Tizen 8.0 56/313356/6
Adam Bujalski [Tue, 11 Jun 2024 09:02:41 +0000 (11:02 +0200)]
fixup! [M120 Migration][TTVD] Port video decoder from Tizen 8.0

Upstream patch https://crrev.com/c//4504101 (which relanded in
https://crrev.com/c/4520453) changed coordinates system in which
`damage_rect` is expressed.

This patch adapts our overlay geometry calculation logic to this change.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-511
Change-Id: I262a3c1062c64aec3bbb954d5d83a83252aae362
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
10 months ago[WebRTC][HW Encoder] Prevent raw data access for GpuMemoryBuffer 71/313271/5
Michal Jurkiewicz [Wed, 19 Jun 2024 12:11:31 +0000 (14:11 +0200)]
[WebRTC][HW Encoder] Prevent raw data access for GpuMemoryBuffer

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I53bff78bf01a10a7ad5f6842b4c9fc0e2f5befb6
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
10 months ago[WebRTC][HW Encoder] Report support for GPU Frame resize 70/313270/4
Michal Jurkiewicz [Mon, 22 Apr 2024 15:17:31 +0000 (17:17 +0200)]
[WebRTC][HW Encoder] Report support for GPU Frame resize

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1529
Change-Id: Ie0e2ae2fbcebf85e8d3ba78e39f50f3c957c3172
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
10 months ago[M120 Migration] WASM modules caching on TV product 02/313302/3 submit/tizen/20240624.160017
Robert Bycul [Fri, 17 May 2024 13:06:26 +0000 (15:06 +0200)]
[M120 Migration] WASM modules caching on TV product

Ported commits:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293822
(without dlog related code, which was ported in a separate commit)

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

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1546
Change-Id: Ib8b3ef307077ee943a71fe78cfb3dde8496a3cc4
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
10 months ago[NextBrowser] Linux build failed. Disabling next browser code temporarily. 68/313268/3 accepted/tizen/unified/toolchain/20240624.121440 accepted/tizen/unified/x/20240621.143012 accepted/tizen/unified/x/asan/20240625.092444 submit/tizen/20240621.160013
Tarun Verma [Fri, 21 Jun 2024 05:24:21 +0000 (10:54 +0530)]
[NextBrowser] Linux build failed. Disabling next browser code temporarily.

Change-Id: I40de5ea13d1c0b9562ec7aedc5f12848d4881cd1
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
10 months agofixup! [M120 Migration]Address RISC-V Playback issue 64/313264/2
Suhaspoornachandra [Fri, 21 Jun 2024 03:59:16 +0000 (09:29 +0530)]
fixup! [M120 Migration]Address RISC-V Playback issue

Fixes a build error caused by parent patch

Change-Id: I8617921c03e08769f8111349dd85a9be4d67a045
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
10 months ago[WebRTC] Support TBM inter process video frame type 40/313240/2
peng.yin [Thu, 20 Jun 2024 08:38:22 +0000 (16:38 +0800)]
[WebRTC] Support TBM inter process video frame type

1. remove EWK_BRINGUP guard.
2. make exception for tbm inter process video frame data checking,
   as real data ptr for this type of frame is mapped from the tbm bo.

Change-Id: Iedd4ee93a2cd48bb7cad7406eee84666f439c70d
Signed-off-by: peng.yin <peng8.yin@samsung.com>
10 months agoFix compilation for desktop target 52/313252/5 submit/tizen/20240620.160017
Michal Jurkiewicz [Tue, 18 Jun 2024 07:30:45 +0000 (09:30 +0200)]
Fix compilation for desktop target

Make it possible to compile desktop target using
./tizen_src/build/build_desktop.sh
script by adding missing includes and adding
guards for Tizen-specific implementations.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1551
Change-Id: I3c8d3b81f82446f93ffabf4c55d718623eb48ce8
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
10 months ago[M120 Migration]Address RISC-V Playback issue 10/313210/5
Suhaspoornachandra [Thu, 20 Jun 2024 06:24:50 +0000 (11:54 +0530)]
[M120 Migration]Address RISC-V Playback issue

Introduced a solution using EGL_LINUX_DMA_BUF_EXT
Due to EGL_NATIVE_SURFACE_TIZEN not working under
current mesa / egl available on tizen vf2

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

Change-Id: Id9e6f660c3b6a10ddea46a371697ac19bd3f18d2
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
10 months agofixup! [M120 Migration] Introduce dedicated functions to check modes 51/313251/3
Michal Jurkiewicz [Tue, 18 Jun 2024 07:29:55 +0000 (09:29 +0200)]
fixup! [M120 Migration] Introduce dedicated functions to check modes

Fix desktop buildbreak

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ib07d5bf1b6c68f1c6a12163815eeabfe01133068
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
10 months ago[WebRTC] Enable upstream architecture camera implementation for Tizen TV 15/313215/4
Michal Jurkiewicz [Tue, 18 Jun 2024 15:39:07 +0000 (17:39 +0200)]
[WebRTC] Enable upstream architecture camera implementation for Tizen TV

Set upstream architecture implementation for Video Capture as default
on Tizen TV.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: I7b80b6a7c363fe59e8db8d37ef317062b6eb147d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
10 months agoAvoid creation of RWHVAura EFL helpers for chrome 59/313059/3
Chandan Padhi [Tue, 18 Jun 2024 12:00:53 +0000 (17:30 +0530)]
Avoid creation of RWHVAura EFL helpers for chrome

Chrome doesn't use RWHVAura EFL helpers but still these were getting
created that resulted in crashes and breakage of functionalities such
as scroll, click, etc in Chrome on TV/RPI4.

This commit ensures that these helpers are not created for Chrome.

Change-Id: I659014e496697880973cbc97b96fff78ecc1ce01
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
10 months agofixup! [M120 Migration][HBBTV] Merge track and subtitle related patches 74/312774/2
zhishun.zhou [Fri, 14 Jun 2024 05:59:57 +0000 (13:59 +0800)]
fixup! [M120 Migration][HBBTV] Merge track and subtitle related patches

Sometimes build error happened:
[ 1302s] In file included from ../media/base/pipeline_impl.cc:33:
[ 1302s] ../media/base/renderer_client.h:20:10: fatal error: 'media/mojo/mojom/renderer_extensions.mojom.h' file not found
[ 1302s]    20 | #include "media/mojo/mojom/renderer_extensions.mojom.h"
[ 1302s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1302s] 1 error generated.

While adding build dependency of "//media/mojo/mojom" to media/base/BUILD.gn "base" target
will trigger Dependency cycle:
[   15s] ERROR Dependency cycle:
[   15s]   //media:media ->
[   15s]   //media/muxers:muxers ->
[   15s]   //media/base:base ->
[   15s]   //media/mojo/mojom:mojom ->
[   15s]   //media:media

Let's remove the unnecessary code.

Change-Id: Icb33c8003d708816e49c6cfeceea5be30c33a503
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
10 months ago[VD][RISCV][PDNCF] Fixed compile error of version mismatch of vd-win-util 86/313186/3
huochangjun [Thu, 20 Jun 2024 02:47:21 +0000 (10:47 +0800)]
[VD][RISCV][PDNCF] Fixed compile error of version mismatch of vd-win-util

1. Caused by patch: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310318/
2. Reason : Version mismatch of vd-win-util on RISC-V branch.
            There are not touch apis : Touch_Not_Allow/Touch_Support/TOUCH_ENABLE/TOUCH_DISABLE
3. Report compile issue to the RISCV TF members and they will merge the codes in a few days

Change-Id: I926eee15c88307526d6fc96d3951cdd975c02807
Signed-off-by: huochangjun <changjun.huo@samsung.com>
10 months ago[M120 Migration] Add ssl error log, net error log and DidChangeVisibilityState log 84/313184/3
jingjieli [Thu, 20 Jun 2024 02:42:47 +0000 (10:42 +0800)]
[M120 Migration] Add ssl error log, net error log and DidChangeVisibilityState log
1. Add Log to check a ssl error code.
2. Add net error logs for url requests.
3. Add DidChangeVisibilityState logs for check Visibility State.

Reference:
https://review.tizen.org/gerrit/#/c/291819/
https://review.tizen.org/gerrit/#/c/298745/

Change-Id: I6dc01acd9192a1c005cde7787671ba7815176ab4
Signed-off-by: jingjieli <jingjie.li@samsung.com>
10 months ago[RISCV] Fixed v8 compile error by adding "-Wno-nonnull" cflags 41/313141/2
huochangjun [Wed, 19 Jun 2024 08:23:52 +0000 (16:23 +0800)]
[RISCV] Fixed v8 compile error by adding "-Wno-nonnull" cflags

cherry picked from upstream
 - https://chromium-review.googlesource.com/c/v8/v8/+/5331756

Change-Id: Ic85e5663ae7b826918a34f9905819b2dc7bd9923
Signed-off-by: huochangjun <changjun.huo@samsung.com>
10 months ago[M120 Migration] Change the WebBrowser web page scroll step 13/313113/2 submit/tizen/20240619.160015
wangjing [Wed, 19 Jun 2024 06:21:38 +0000 (14:21 +0800)]
[M120 Migration] Change the WebBrowser web page scroll step

1. change the DefaultScrollStep from 20px to 140px on Mouse Wheel
refer:
https://review.tizen.org/gerrit/#/c/297623/

2. change the scroll step from 40px to 140px on Keyboard 4 direction key
refer:
https://review.tizen.org/gerrit/#/c/293619/

Change-Id: I09f64460982aeb033608afe8042405fa26194e4b
Signed-off-by: wangjing <jing124.wang@samsung.com>
10 months ago[NextBrowser] Added browser_core, input_provider, input_manager mouse event APIs... 13/312813/7
tarun1.verma [Fri, 14 Jun 2024 08:31:05 +0000 (14:01 +0530)]
[NextBrowser] Added browser_core, input_provider, input_manager mouse event APIs and remocon event API

Change-Id: I0c3f79f5caafb3014279f3ac198ee811dcf761e4
Signed-off-by: tarun1.verma <tarun1.verma@samsung.com>
10 months ago[VD]Implement ewk_context_notify_low_memory for TV 05/313005/3
Lizhi Fan [Tue, 18 Jun 2024 07:37:32 +0000 (15:37 +0800)]
[VD]Implement ewk_context_notify_low_memory for TV

This ewk API has been commentted out for a while,
it looks useful anyway, so implement it.

Change-Id: I6b8b816de6b9bd56d3766858613fe159c607031f
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
10 months ago[M120 Migration][WASM] Liftoff PrepareForBranch overwrites register 17/313017/4
Robert Bycul [Wed, 5 Jun 2024 12:29:41 +0000 (14:29 +0200)]
[M120 Migration][WASM] Liftoff PrepareForBranch overwrites register

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295306

Only one of the Spill method declaration changes ported:

Spill(int, WasmValue) -> Spill(int, WasmValue, LiftoffRegList)

since LiftoffRegList parameter is not used in any calls of

Spill(int, LiftoffRegister, ValueKind)

The change in CacheStatePreservingTempRegister regarding introducing
the LiftoffRegList typed pinned_ member is already present in upstream.

The unit test originally added in the change that is now being ported is
currently added along with the change enabling V8 unit tests.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I1dd7cb50158ef7bd40da8e5f6df0dbcc962b2ab7
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
10 months ago[VD] Update wrtjs rpm 07/313007/2 submit/tizen/20240618.160014
zhaosy [Tue, 18 Jun 2024 07:46:28 +0000 (15:46 +0800)]
[VD] Update wrtjs rpm

* Onemain wrtjs
* vbs-wrtjs-20240613.163259

Change-Id: I060c807798003e782118ba7369a32ba48bef0c2a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
10 months agoAdd the script of fix_coding_style.sh 30/312330/2
shayh [Fri, 7 Jun 2024 01:10:45 +0000 (09:10 +0800)]
Add the script of fix_coding_style.sh

Change-Id: I5b138ca6da5aed71a68a9feefce66969e99b531e
Signed-off-by: shayh <yuhong.sha@samsung.com>
10 months ago[VD]Trigger MajorGC by system memory low warning 82/312582/4
Lizhi Fan [Wed, 12 Jun 2024 02:06:30 +0000 (10:06 +0800)]
[VD]Trigger MajorGC by system memory low warning

When system memory is running low, Sysman will notify
processes with a soft warning first.
Now we will trigger MajorGC for browser process and
every renderer process if warning received.

To control the frequency of MajorGC, we start a 10s
timer to check the memory warning.

Change-Id: Ieabcf2ef604e2be39b1f475b03b5d59995f550c3
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
10 months ago[M120 Migration] Disable HBBTV injected bundle preloading on LICENSE image 36/312836/2
fangfengrong [Mon, 17 Jun 2024 03:29:13 +0000 (11:29 +0800)]
[M120 Migration] Disable HBBTV injected bundle preloading on LICENSE image

Usually the HBBTV injected bundle preloading process is as following:
  1. Zygote process launched and preload injected bundle with:
     injected_bundle_handle_ =
         dlopen("/usr/lib/libhbbtv-injectedbundle.so"), RTLD_LAZY);
  2. dlopen trigger HBBTV Init() function, in which it regiter its extension
     to a global variable instance; the Init() function is declared as:
         extern "C" __attribute__((constructor)) void Init()
  3. Zygote process folk child process (render process);
  4. In render process, first it close the dlopen handle from zygote:
     dlclose(injected_bundle_handle_);
  5. In render process, and then it invoke dlopen again:
     handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
     at this point, result handle_ is same as before injected_bundle_handle_,
     and the HBBTV constructor attribute function will not be invoked again.
     then HBBTV have only init once, every fine.

While in NVT image, in step 5:
     when render process invoke dlopen again:
     handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
     the result handle_ is different from before injected_bundle_handle_,
     and HBBTV constructor attribute function [Init()] have been invoke again.
     then HBBTV have init injected bundle twice, register twice,
     then caused crash when V8 install extension.

Linux team have not give a answer why the behaivor is different,
now we disable the HBBTV injected bundle preloading of LICENSE image.

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

Change-Id: I95d6263bed0e88786e27e193dea98fae152f8892
Signed-off-by: fangfengrong <fr.fang@samsung.com>
10 months ago[M120 Migration] Fix IME Panel Subtypes for Number Input. 02/312302/3 submit/tizen/20240617.160023
Manjeet [Thu, 6 Jun 2024 09:01:04 +0000 (14:31 +0530)]
[M120 Migration] Fix IME Panel Subtypes for Number Input.

Corresponding IME Panel should be shown for different types of number input.
This patch makes necessary changes to handle all layout subtypes
for "ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY".

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

Change-Id: I7cdd779c52f09f27d63620971f0dfd05c8404e31
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
10 months ago[M120 Migration] Delete SetIsInFormTag function 77/312677/2
Hyomin Kim [Tue, 27 Jun 2023 02:38:11 +0000 (19:38 -0700)]
[M120 Migration] Delete SetIsInFormTag function

Delete the function above for readability and
to prevent unnecessary function calls.

Please refer to [0].

[0]: 601af399872a9d47482653e79b92031f00d023e8

Change-Id: I9b5790ae0037037f5b8e2dc13e3c03d26ba2f484
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
10 months ago[M120 Migration] [Cursor] Create mouse cursor for popup windows 07/312107/6
Manjeet [Tue, 4 Jun 2024 09:01:49 +0000 (14:31 +0530)]
[M120 Migration] [Cursor] Create mouse cursor for popup windows

With commit 568a72a, popups (JS dialogs, pickers etc.) are shown on
new elm window. Since new elm window is created for every popup show,
the cursor created for container window will not work on this new window.

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

Change-Id: I72fbca92b58155283c9ec13ac976a4893872a657
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
10 months ago[M120 Migration] Enable color picker for onscreen mode 70/311870/9
Manjeet [Wed, 29 May 2024 09:04:51 +0000 (14:34 +0530)]
[M120 Migration] Enable color picker for onscreen mode

In Onscreen mode, Color picker is not seen on top window,
so creating new elm_window and adding picker on top of it.

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

Change-Id: I54822b3d8f13ea59f9716cfc4a622dd01d3777da
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
10 months ago[M120 Migration] Move ownership of |WebViewDelegate| from eweb_view to WCI 98/312598/5
Satyaveer Singh [Wed, 12 Jun 2024 06:14:02 +0000 (11:44 +0530)]
[M120 Migration] Move ownership of |WebViewDelegate| from eweb_view to WCI

Some of the current offscreen features like SelectionController,
ContextMenuController are going to be enabled for onscreen as well.
This requires wrt to depend on WebViewDelegate. Hence move the ownership
of the delegate from eweb_view to WebContentsImpl(WCI) so that
the delegate can be accessed in generic for both onscreen and offscreen cases.

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

Change-Id: Ie21a6a7285d0f574823edf2504440749a7c02515
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
10 months ago[Autofill] Fix autofill crash issue 20/312820/2
jie [Fri, 14 Jun 2024 09:15:55 +0000 (17:15 +0800)]
[Autofill] Fix autofill crash issue

There is a check added for AutofillProfileChangeCallback,
when secret page add, new context cause the callback set again, it will crash
refer to https://chromium-review.googlesource.com/c/chromium/src/+/4464908

follow m108 logic, just remove the check of the callback to resolve crash

ToDo: Autofill client API used in tizen platform, so PersonalDataManager may not need
will remove the logic later after verify autofill feature work well.

Change-Id: I9f53f75b4293ac3fcceaabbfa152623b80141b9b
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months agofixup! [M120 Migration][WASM] Web IDL Direct access - HostBinding 25/312825/2 submit/tizen/20240614.160013
Adam Bujalski [Fri, 14 Jun 2024 07:03:22 +0000 (09:03 +0200)]
fixup! [M120 Migration][WASM] Web IDL Direct access - HostBinding

Fixing OscarP 64 bit builds.

Bug: https://cam.sprc.samsung.pl/browse/VDGAME-265
Change-Id: I35a4ed36fc0c39013c26f963de0c40be93658477
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months agofixup! [M120 Migration][WebRTC] Enable unit tests 97/312697/2
Chandan Padhi [Thu, 13 Jun 2024 06:46:14 +0000 (12:16 +0530)]
fixup! [M120 Migration][WebRTC] Enable unit tests

This commit fixes below desktop build error.

ERROR at //third_party/webrtc/webrtc.gni:98:53: Undefined identifier
  rtc_exclude_system_time = build_with_chromium && !tizen_rtc_unittests
                                                    ^------------------

Change-Id: Id458254ad1860fd039b5cb07ca576dc1c901b136
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months ago[VD]Enable browser process memory dump for tracing 95/312795/3
Lizhi Fan [Fri, 14 Jun 2024 07:49:34 +0000 (15:49 +0800)]
[VD]Enable browser process memory dump for tracing

Registers the browser process as a memory-instrumentation client, so that
data for the browser process will be available in memory dumps.

This is only for runtime having browser process,
WRT doesn't need this as memory-instrumentation client registered
in |ContentMainRunnerImpl::Run|.

Change-Id: I1f76023b57518d2db8f456d5bd78a818ffc0b3e6
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
11 months ago[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode) 61/312761/3
Yu Yang [Fri, 14 Jun 2024 03:24:36 +0000 (11:24 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)

Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior

Change-Id: Ie8458624cd4a0c48da90f3cf1ba1ec671bf771d4
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
11 months agoFix SVACE issue. 68/312768/2
Sun-woo Nam [Fri, 14 Jun 2024 04:16:39 +0000 (21:16 -0700)]
Fix SVACE issue.

The pointer returned by operator new can't be null.

Change-Id: I1189e8eb05b80a0843b6dc6f1324664fe604a077
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
11 months ago[M120 Migration][WebRTC]fix unsafe code for security check and svace issue 31/310231/5
hongyanting [Wed, 24 Apr 2024 08:15:45 +0000 (16:15 +0800)]
[M120 Migration][WebRTC]fix unsafe code for security check and svace issue

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291945/

Change-Id: Ie483554b69a0142b37fdc71fac90df2322ed89b4
Signed-off-by: hongyanting <yanting.hong@samsung.com>
11 months ago[M120][MM] Use urldemuxer for videos not supported by ffmpegdemuxer 49/311749/4
wuxiaoliang [Mon, 27 May 2024 07:09:25 +0000 (15:09 +0800)]
[M120][MM] Use urldemuxer for videos not supported by ffmpegdemuxer

The following video extensions which are not supported
by chromium ffmpegdemuxer will use urldemuxer & mm api to play

 - asf, avi, flv, mpeg, mpg, mts, m2ts
 - vob, vro, wmv, tp,   trp, ts,  mpd

Change-Id: I7d8079c1455c061f1d306c7c5f58469e7f503af7
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Print function name and enable colorful log print 68/306768/8
hongyanting [Tue, 27 Feb 2024 10:23:05 +0000 (18:23 +0800)]
[M120 Migration] Print function name and enable colorful log print

print function name:
log tag(pid): filename: function name(line number): content
print function name is helpful for debugging

print colorful log:
1.add CHROMIUM-WEBRTC log tag
2.colorful log print and print function name

Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291931/

Change-Id: Ie89957e96edf85b9246c92cc7d2b338cb5432c89
Signed-off-by: hongyanting <yanting.hong@samsung.com>
11 months ago[M120 Migration][WRTjs][VD] Try mount when tmg file path not exit 24/310024/4
liwei90727 [Fri, 19 Apr 2024 08:29:10 +0000 (16:29 +0800)]
[M120 Migration][WRTjs][VD] Try mount when tmg file path not exit

App A send umount request to ps agent -> App A' skip mount bcz
mount point exist-> App A umount successfully in ps agent -> App
A' fail to launch index.html bcz app package is umounted before.

Check mount point when access file, if mount point not exist, try
mount again.

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

Change-Id: I7f15dac7a41b942847b3e306faecfaf659d4457e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
11 months ago[WRTjs][VD] Support touch RC in at least tizen8.0 18/310318/5
Chunling Ye [Tue, 12 Mar 2024 05:32:05 +0000 (13:32 +0800)]
[WRTjs][VD] Support touch RC in at least tizen8.0

In at least tizen8.0, if app set up support touch, then in
support touch platform, call engine api to enable touch
function, otherwise disable touch.

In LFD/IWB products, app default is support touch, others
default is unsupport touch.

if app no need floating menu, need setup floating.navigation
to false. App default need show floating menu.

Refer:
https://confluence.sec.samsung.net/pages/viewpage.action?
spaceKey=SRCNJWEB&title=4.+Touch+for+Premier

Change-Id: Ic7b8c03baf5ac0095ba8cf39eccaf0171ad117c1
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
(cherry picked from commit d9c1b013b9f0a31b4bf32db7eafe6616a54341ce)
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
11 months ago[M120 Migration][V8] Introduce DLOG logging 27/312627/10 submit/tizen/20240613.160015
Robert Bycul [Wed, 15 May 2024 08:25:31 +0000 (10:25 +0200)]
[M120 Migration][V8] Introduce DLOG logging

This change is extracted from the following:

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

where the DLOG logging was introduced along with WASM modules caching.
Since the DLOG logging is actually logically independent of the WASM caching
logic, it is better to move it to a separate change. This will ease the future
porting.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1546
Change-Id: I49f22eaec4c12b3448353439f73c26a7734180d5
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration] Fix deadlock on WebAssembly baseline compilation finish 96/312696/5
Robert Bycul [Wed, 5 Jun 2024 13:46:28 +0000 (15:46 +0200)]
[M120 Migration] Fix deadlock on WebAssembly baseline compilation finish

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300070

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: Ibe944dfa2c86f3181d92dec7b7a9b5e92d309bc0
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration] [Wasm] TurboFan compilation hefty memory usage 26/312626/3
Robert Bycul [Tue, 4 Jun 2024 13:37:19 +0000 (15:37 +0200)]
[M120 Migration] [Wasm] TurboFan compilation hefty memory usage

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294454

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: If7cc5e057cc7c3cd29e4116f3d95016290ab754e
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WASM] Compile big functions sequentially 25/312625/3
Robert Bycul [Mon, 3 Jun 2024 10:20:00 +0000 (12:20 +0200)]
[M120 Migration][WASM] Compile big functions sequentially

Ported changes:

Original change:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292708

Fixups:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296434
(changes of unit tests already included in the port of V8 unit tests)

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

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I9964536fcc5f727b469cff7799331a0fab32c6ac
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration] [WASM] Increased memory usage when reloading `iframe` elements 23/312623/3
Robert Bycul [Fri, 7 Jun 2024 08:17:46 +0000 (10:17 +0200)]
[M120 Migration] [WASM] Increased memory usage when reloading `iframe` elements

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306189

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I7ec9dd37a691c74d40fc09559ef40680379ac506

11 months ago[M120 Migration] [WASM] `V8Debugger::m_cachedStackFrames` size increase 21/312621/3
Robert Bycul [Fri, 7 Jun 2024 09:58:17 +0000 (11:58 +0200)]
[M120 Migration] [WASM] `V8Debugger::m_cachedStackFrames` size increase

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306190

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I05205fa752b3f80bc7b46d3b548f541f4a527a6a

11 months ago[M120 Migration] [V8][WASM] Memory leaks during Wasm module decoding 16/312616/3
Robert Bycul [Fri, 7 Jun 2024 06:42:21 +0000 (08:42 +0200)]
[M120 Migration] [V8][WASM] Memory leaks during Wasm module decoding

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306188

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: Iaf8c905e6faea3bb8a7b07622e2aaf81d730f194

11 months ago[M120 Migration][V8] V8 unit tests added 05/312605/2
Robert Bycul [Fri, 10 May 2024 05:42:10 +0000 (07:42 +0200)]
[M120 Migration][V8] V8 unit tests added

Ported commits:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294114
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298529

The issues below are already fixed in upstream code, so porting
the regression unit tests for them.

[M120 Migration] [WASM] Liftoff generates code which overwrites register
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294235

[M120 Migration][wasm][liftoff] Fix stack merging and MergeFullStackWith
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294455

Change-Id: Ie701768bed610f7d6477110318335c1bea262b80
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC] Add webrtc-internals 07/312607/2
Adam Bujalski [Wed, 5 Apr 2023 13:37:13 +0000 (15:37 +0200)]
[M120 Migration][WebRTC] Add webrtc-internals

This patch adds webrtc-internals page, accessed through debugging
protocol, e.g. http://tv_ip:7011/webrtc-internals

Reference: https://review.tizen.org/gerrit/292714
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1549
Change-Id: I61d30631beaef969f9186221a90e464524fe5ffb

11 months agoRevert "[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)" 71/312671/2
yang yu [Thu, 13 Jun 2024 01:33:30 +0000 (01:33 +0000)]
Revert "[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)"

This reverts commit 9bec724407277c60f88f1643b3d132952f6303c6.

Change-Id: I21c4c8429c86f8add9b2099d4735dfd1cacafa81

11 months agoThe ‘Custom’ IDL settings have been removed upstream, as they’re not used by any... 99/312299/4 submit/tizen/20240612.160014
Mark Toller [Thu, 6 Jun 2024 07:57:56 +0000 (08:57 +0100)]
The ‘Custom’ IDL settings have been removed upstream, as they’re not used by any other components anymore:

https://chromium.googlesource.com/chromium/src/+/70265bc539736dc8d93d482bbbb2144b67b092cf
https://chromium.googlesource.com/chromium/src/+/0b081126415c49b8ea1f515e93e5a93ccf3e599a

These are required for HbbTV, in combination with

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

This patch re-instates this code.

Change-Id: Id3c22e096c7e209991e9ff45cb1f91847ce3a79a

11 months ago[M120 Migration][EME] EME Privacy mode support 13/312613/2
zhishun.zhou [Wed, 12 Jun 2024 06:52:12 +0000 (14:52 +0800)]
[M120 Migration][EME] EME Privacy mode support

Adding a support for server certificate to further enhance
EME security level. The details of setServerCertificate are
described in W3C EME specification:
https://www.w3.org/TR/encrypted-media/#dom-mediakeys-setservercertificate

There are the following constraints of CDM module:
* Privacy mode is set during CDM creation
* Server certificate has to be registered before creating
  the first session and generating session request

Turning privacy mode on fixes the following EME 2021 test cases:
9. setServerCertificate

Patch from:
https://review.tizen.org/gerrit/#/c/272408/

Change-Id: I5acfdec96a574384d7b078e59f5c178252e3983c
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration][MM] Avoid evicting buffers on abort/duration change 18/312318/2
zhishun.zhou [Thu, 6 Jun 2024 12:17:32 +0000 (20:17 +0800)]
[M120 Migration][MM] Avoid evicting buffers on abort/duration change

Chromium still maintains deprecated logic to remove buffers on
duration change.

MSE conformance test
- MediaElementEvents:
  Source buffer should not add/remove/update during the duration
  update callback.

MSE Conformance link:
  https://ytlr-cert.appspot.com/latest/main.html?tests=18

Patch from: https://review.tizen.org/gerrit/#/c/287556/

Change-Id: Id7d8e96b5e7de04db2108167bcbfa39cffbb1199
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months agofixup! [M120 Migration] Build libchromium-impl.so with chrome implementation 95/312295/3
Adam Bujalski [Wed, 5 Jun 2024 10:34:00 +0000 (12:34 +0200)]
fixup! [M120 Migration] Build libchromium-impl.so with chrome implementation

Fixing rpmbuild issue `warning: File listed twice:`

Change-Id: I0e75967d8b1d8899672f46bc0c0fa526a6f0a5e6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[RISCV] Add profile for tizen9.0 riscv 91/312591/4
Feng Xia [Wed, 12 Jun 2024 03:42:58 +0000 (11:42 +0800)]
[RISCV] Add profile for tizen9.0 riscv

Change-Id: I328c16ed32cd0f769a234a0619a0d823e09da0f1
Signed-off-by: Feng Xia <feng.xia@samsung.com>
11 months ago[M120 Migration][VD] Fix web_contents() is null cause coredump issue 11/312511/3
fangfengrong [Tue, 11 Jun 2024 03:28:42 +0000 (11:28 +0800)]
[M120 Migration][VD] Fix web_contents() is null cause coredump issue

Fix web_contents() is null cause coredump issue;

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

Don't CreateSelectionControllerEfl for onscreen mode
to avoid coredump code has revet in later patch,no need to merge.
https://review.tizen.org/gerrit/#/c/310661/

Change-Id: I3868646a2d81ea85c967290da90e19ddf292e61e
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months agoRemove |editable| in |FocusedNodeChanged| 55/312355/2
Hyomin Kim [Thu, 29 Jun 2023 23:31:17 +0000 (16:31 -0700)]
Remove |editable| in |FocusedNodeChanged|

The logic regarding the parameter |editable| is duplicated.
It is used to remember that the current focus is on the input element
and to reset the context after the focus is lost or changed.

There are 2 functions in it.

1. |IMContextEfl::CancelComposition|
The function consists of |ResetIMFContext| and |ConfirmComposition|.
The former one is called through |RenderWidgetHostViewAura
::FocusedNodeChanged|->|InputMethodAuraLinux::ResetContext|
->|EflInputMethodContext::Reset|->|IMContextEfl::ResetIMFContext|.
When the mouse event or touch event which makes the focus change  occurred,
|RenderWidgetHostViewEventHandler::FinishImeCompositionSession|
is called and eventually |RenderWidgetHostImpl::ImeFinishComposingText|
which is the purpose of |IMContextEfl::ConfirmComposition| is invoked.
If the focused node is changed by TAB key, the commit signal is sended
by the platform so manual cancellation isn't needed.

2. |IMContextEfl::OnFocusOut|
When the focus is updated, through |InputMethodAuraLinux
::UpdateContextFocusState|->|EflInputMethodContext::UpdateFocus|,
|EflInputMethodContext::Blur| calls the function above.

So remove the codes related to the |editable| parameter.

Change-Id: I7f8f6bdb7039fcac47c595ba38508d670641f298
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
11 months agoRevert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue" 67/312367/3
Chandan Padhi [Fri, 7 Jun 2024 11:48:22 +0000 (11:48 +0000)]
Revert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue"

This reverts commit 4729546debca78d118b22da21ad9e4725e5fcb93.

This patch is causing duplicate character entries in input fields on desktop.

Change-Id: I010962ef161d02037ec7cc09d88865613d88188d

11 months ago[XWalkExtension] Introduce runtime messgae handler 77/306977/24
DongHyun Song [Fri, 1 Mar 2024 09:52:52 +0000 (18:52 +0900)]
[XWalkExtension] Introduce runtime messgae handler

For EWK runtimes, this provides to register callbacks for XWalkExtensions'
runtime message.

On XWalkExtension based webapis, its JS side can invoke native functions
by 2 ways. One(A) is calling to the webapi native code side, the other(B)
is calling to runtime side.

(A)
 - extension.sendSyncMessage
 - extension.sendSyncMessageWithStringReply
(B)
 - extension.sendRuntimeMessage
 - extension.sendRuntimeSyncMessage

Until now, EWK runtime side has no way to get message of B type except
'XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal',

This feature will provide independent message handlers via EWK API.

i.e.)
  char* AppExit(const char* argument) {
    // TODO
    return strdup("success");
  }

ewk_context_add_xwalk_extension_message_handler(context, "tizen://exit",
                                                AppExit);

Change-Id: Ia8be62bdd9cdfa21243a172743e8cedb571df6b1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
11 months ago[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode) 41/312041/6
Yu Yang [Mon, 3 Jun 2024 06:18:43 +0000 (14:18 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)

Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior

Change-Id: I708c8c1df70f5f8d6f6e4b33387b319212f2350f
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
11 months ago[M120 Migration] Release tz_handle before clear buffer queue 00/312100/4
zhishun.zhou [Tue, 4 Jun 2024 08:06:51 +0000 (16:06 +0800)]
[M120 Migration] Release tz_handle before clear buffer queue

Issue:
  Potential tz_handle leak
Reason:
  When esplusplayer_submit_trust_zone_packet failed, if failed reason
is FULL or OUT_OF_MEMORY or NOT_PREPARED, the packet will be stored in
buffer queue; While in the release function of MediaPlayerESPlusPlayer,
it just clear the buffer queue without release the tz_handle, that could
cause tz_handle leak.
Solution:
  Release tz_handle before clear buffer queue.

Change-Id: If13917dc866bb46a5c47466f963c1c13c65c4db0
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration][VD] Change quota allocation size 21/311921/4
feifei08.liu [Thu, 30 May 2024 10:37:32 +0000 (18:37 +0800)]
[M120 Migration][VD] Change quota allocation size

1. Without unlimited privilege, set temporary quota size to 80MB

2. With unlimited privilege:
   a. For TV, temporary quota size sets to 80MB
   b. For Signage(product type is "LFD"), set kMustRemainAvailableRatio to 0.1

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

Change-Id: I6a3128e0ac56066351cd30d7248a672f7ca49963
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
11 months agoSet crypt config for EFL 19/312319/4
Chandan Padhi [Thu, 6 Jun 2024 12:49:29 +0000 (18:19 +0530)]
Set crypt config for EFL

Crypt config was not set that resulted in browser crash due to a
CHECK failure in OSCryptImpl::CreateKeyStorage.

This crash was reproduced while verifying signin on passkey demo
at https://passkeys-demo.appspot.com/.

Change-Id: I7d44b8b30537b2d668fae013e40b9834785128f1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months agofixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 72/312572/3
Michal Jurkiewicz [Tue, 11 Jun 2024 07:24:05 +0000 (09:24 +0200)]
fixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Fix build break on emulator by disabling -Werror for the following warning:

[ 4782s] ../base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h:160:1:
error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
[ 4782s]   160 | #if PA_CONFIG(HAS_MEMORY_TAGGING)
[ 4782s]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id4b0f231db6c7fb6e652983c3cea718d539a3e5c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Enable unit tests 61/312461/6
Robert Bycul [Fri, 24 Feb 2023 12:45:05 +0000 (13:45 +0100)]
[M120 Migration][WebRTC] Enable unit tests

1. Port of the following commit:
* [M108 Migration][WebRTC] Enable unit tests
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296649

2. Enabled more tests under `tizen_rtc_unittests` flag and
performed required modifications to make rtc unittests compile
correctly.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I72cfbc1892afbb72d6d2e3ad33140a7263699369
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 53/312453/2
Michal Jurkiewicz [Wed, 5 Jun 2024 14:56:54 +0000 (16:56 +0200)]
fixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

* Add missing guards
* Add missing thread boosting for audio bypass

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I6f93567c8f325131ecfd25016815f8db7630f2be

11 months ago[VD] Update gbs.conf for Tizen 9.0 Onemain 66/312466/3
Sugyum Kim [Mon, 10 Jun 2024 11:02:06 +0000 (20:02 +0900)]
[VD] Update gbs.conf for Tizen 9.0 Onemain

Update base repo, product repo

Change-Id: Ib033ccff634dc53215e10a527b7a4d4d2bc31b79
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
11 months ago[GCC] Fix gcc 14 build error 39/312439/2 accepted/tizen/unified/20240611.123540 accepted/tizen/unified/dev/20240620.010427 accepted/tizen/unified/toolchain/20240610.173154 accepted/tizen/unified/x/20240610.223727 submit/tizen/20240610.160013
Manjeet [Mon, 10 Jun 2024 06:47:48 +0000 (12:17 +0530)]
[GCC] Fix gcc 14 build error

Change-Id: I9024573810c5c968471bd14aebd95384922ca9e7
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
11 months ago[WebRTC] Fix for upstream audio unittests 78/312378/4 submit/tizen/20240609.160013
Michal Jurkiewicz [Wed, 5 Jun 2024 15:03:12 +0000 (17:03 +0200)]
[WebRTC] Fix for upstream audio unittests

Fix buildbreak during upstream audio unittests compilation

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ib7317b2e742f619813a948931b6422c2953953c0

11 months agofixup!^2 [M120 Migration] Port WebMedia optimizations for WebRTC 76/312376/3
Michal Jurkiewicz [Wed, 5 Jun 2024 13:44:16 +0000 (15:44 +0200)]
fixup!^2 [M120 Migration] Port WebMedia optimizations for WebRTC

Added missing header file change.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ice97c57b6a3968947b6f6b583c4eff13a067c203
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [WebRTC] Correct H265 upstream unittests 75/312375/1
Michal Jurkiewicz [Wed, 5 Jun 2024 13:40:34 +0000 (15:40 +0200)]
fixup! [WebRTC] Correct H265 upstream unittests

Additional fix in `H265IrapIsNotKeyframe` unittests for
build error:

static assertion failed: std::vector must have a non-const, non-volatile value_type

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Icb2ad56ed34394f99b6cc4849a739c1e4f4ac34e
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Notify media device connection state change to webbrowser 63/311363/4 submit/tizen/20240606.160013
wuxiaoliang [Fri, 10 May 2024 05:48:52 +0000 (13:48 +0800)]
[M120 Migration] Notify media device connection state change to webbrowser

webbrowser listen "device,connection,changed".
chromium will notify device change with int type.

there are so many bt_product_init/bt_product_deinit,
now refine it.

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297120/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300569/

Change-Id: I0778946fdd81eb6f04997430a19edd59e6fba716
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120][Media] Add essential log message for easy debuging 74/310874/6
peng1xiao [Thu, 9 May 2024 03:32:51 +0000 (11:32 +0800)]
[M120][Media] Add essential log message for easy debuging

1.enable app event in html
2.enable log for demuxer init and seek
3.enable cdm session log
4.trace suspend and resume
5.update player id to pipeline

Change-Id: I2c884d3bf761acf8d7375bc0cd34aad17994ff86
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
11 months ago[WebRTC] Correct H265 upstream unittests 93/312293/3
Michal Jurkiewicz [Tue, 4 Jun 2024 20:08:22 +0000 (22:08 +0200)]
[WebRTC] Correct H265 upstream unittests

Missing `cricket` namespace before `CreateVideoCodec` method
results in a buildbreak during WebRTC unittests compilation.

Added namespace to solve build issue.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I255585e828d2b0c51b3f23f66f698bb7ae794d7d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0 89/312289/2
Michal Jurkiewicz [Tue, 4 Jun 2024 15:18:51 +0000 (17:18 +0200)]
fixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0

Correct issue in `FakeVoiceMediaReceiveChannel` and Mock classes
which occurred during porting.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I515ff40d17c80253813fa33b5a8740e79054e30f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months agofixup! [M120 Migration] Port WebMedia optimizations for WebRTC 88/312288/4
Michal Jurkiewicz [Tue, 4 Jun 2024 15:58:19 +0000 (17:58 +0200)]
fixup! [M120 Migration] Port WebMedia optimizations for WebRTC

Correct MockNetworkControl and CallClient classes, which were
not updated after porting patch from M108.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Iff63ec339bbc23a93064351fed3c005abe845f64
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Updating User Agent Hints 33/312233/3
Adam Bujalski [Fri, 21 Jul 2023 16:49:02 +0000 (18:49 +0200)]
[M120 Migration] Updating User Agent Hints

Port of the following patch:
* Updating User Agent Hints
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296307

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id3b673d47017408cd3479318ee69df4795407eea
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][TTVD][WebRTC] Port of TTVD version history 44/312144/3
Michal Jurkiewicz [Sat, 20 Jan 2024 14:58:33 +0000 (15:58 +0100)]
[M120 Migration][TTVD][WebRTC] Port of TTVD version history

* [WebRTC][GS] Add versioning for tizen upstream architecture component
  Change-Id: I0d580b47816abf2ee037c1d041a731591ba68452
* [M108 Migration][Versioning] Add WebRTC for wasm_api_versioning widget
  Change-Id: I72cd0a374c56fafab9b3b2251c4d5d4a7f6f240e
* fixup! [WebRTC][GS] Add versioning for tizen upstream architecture component
  Change-Id: I237ca12b3182eaa250d98a7389ef47732510bd49
* [MM][WebRTC][GS] Use TTvd name instead of "WebRTC upstream architecture" when versioning
  Change-Id: I4f7595459c35394ffb4685704aa275acb4073fde
* fixup!^2 [M108 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI
  Change-Id: I41c5c315e6db7d37ee157084c2bd2d2a6f5518a5

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Ia283137603bde188cf68fa29e0fdd7fa330ec45f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0 42/312142/3
Michal Jurkiewicz [Fri, 31 May 2024 08:33:41 +0000 (10:33 +0200)]
[M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0

1. Port of the following patches:
* [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293264
* fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296092
* Fixing crash in xCloud application.
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296643
* [M108 Migration][WebRTC] NullSocketServer for WebRTC_Worker thread
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/297893
* [WebRTC][GS] Thread booster adjustments
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822

2. Performed modifications to `TimerBasedTickProvider` class to solve crash in
`RequestCallOnNextTick` method - CHECK in
`base::SequencedTaskRunner::GetCurrentDefault()` fires due to WebRTC threads
not having `SequencedTaskRunner`. For this purpose, additional constructor
parameter has been provided to `TimerBasedTickProvider` class specifying
task runner, on which `PostDelayedTaskAt` should be run at.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I3b506d276996cf1185dc6cdc44ead79b58607acd
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>