platform/framework/web/chromium-efl.git
10 months ago[TIZEN] Webauthn data porting 79/314179/14
utkarshlal [Mon, 8 Jul 2024 05:50:28 +0000 (11:20 +0530)]
[TIZEN] Webauthn data porting

Added class data members
Added functions for porting GA and MC data
Reworked code to use library functions
Added flags for dependencies
Added auto-close for QR after scanning
Cleanup of unneeded code

Change-Id: I5080b1631bbcf96552f9d7b77915bb9497b67fc3
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
Signed-off-by: sidpaswan <s.paswan@samsung.com>
10 months ago[NextBrowser] Adding Hybridnavigation to common resources 11/314411/1 submit/tizen/20240711.160015
shahnawaz.a [Thu, 11 Jul 2024 09:26:50 +0000 (14:56 +0530)]
[NextBrowser] Adding Hybridnavigation to common resources
1) making featured as a home page
2) Giving a padding of 100px between header and page.
3) Enabling Hybrid Navigation for Featured Page.
4 Chaning URL for a newTab  to Featured Page.

Change-Id: Ib64c835a48ff915ddb8e61ee4bc6e3354bd7affe
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
10 months ago[NextBrowser] Adding Featured page Js message callbacks 71/314271/3 submit/tizen/20240710.160015
mayur.jain [Tue, 9 Jul 2024 12:25:10 +0000 (17:55 +0530)]
[NextBrowser] Adding Featured page Js message callbacks

Adding Featured page Js to Cpp cursor move handling &
Removing unnecessary macro used.

Change-Id: Id2370db6a54ad67764916ade3d8928cc3584904d
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
10 months agoRemoved Settings page few options.
shubham.garg [Wed, 10 Jul 2024 11:15:24 +0000 (16:45 +0530)]
Removed Settings page few options.

- default browser is removed
- downloads is removed
- system is removed

10 months agofixup! [M120 Migration] Selection & Context menu controller. 12/313212/3
Satyaveer Singh [Thu, 20 Jun 2024 06:36:43 +0000 (12:06 +0530)]
fixup! [M120 Migration] Selection & Context menu controller.

Chrome-specific context menu behavior is executed for both chrome and ewk
launch. This commit ensures that it should execute only for chrome.

Change-Id: I593523d880ab795d26e348eeaae1803f77032c46
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
10 months agofixup! Revert "[M120 Migration] Enable Ecore_Imf_Context for Chrome" 60/314260/2
Chandan Padhi [Tue, 9 Jul 2024 09:46:03 +0000 (15:16 +0530)]
fixup! Revert "[M120 Migration] Enable Ecore_Imf_Context for Chrome"

RWHVAura EFL helpers are not intialized for Chrome.
This commit adds a missing null check for |efl_helper_|
to fix crash on text input in Chrome.

Change-Id: I1f61db822300f58efb975442546afceb8483d7e6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
10 months agoFix opacity css style will make video invisible 37/314237/3 submit/tizen/20240709.160014
Qiang Ji [Tue, 9 Jul 2024 06:40:21 +0000 (14:40 +0800)]
Fix opacity css style will make video invisible

opacity css style will flag a graphiclayer as stacking
context, which will create a render surface. As blend is
not disable for render pass quad, it will mix will background
of webbrowser, so render surface will covered
on video element.

test website: amazon.com

Change-Id: I9e5c7153d05c035e84c1e92c1a63e13b652e49f8
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
10 months agoRevert "[M120 Migration] Enable Ecore_Imf_Context for Chrome" 88/314188/3
hyoputer [Mon, 8 Jul 2024 07:45:11 +0000 (16:45 +0900)]
Revert "[M120 Migration] Enable Ecore_Imf_Context for Chrome"

This commit had caused malfunction in inputting text because it
stopped generating keydown/keyup events when using the input panel.
So revert it and will fix this.

This reverts commit 74501fe92d53ad2845c178c910bae822d29de94a.

Change-Id: Ia55792d4c1a1e41936f67bfd193d0d2f94baec46
Signed-off-by: hyoputer <hyoputer.kim@samsung.com>
10 months ago[VD][RISCV][PDNCF] Fixed compile conflict of ICU between RISCV and ARM 20/314220/3
huochangjun [Tue, 9 Jul 2024 03:29:08 +0000 (11:29 +0800)]
[VD][RISCV][PDNCF] Fixed compile conflict of ICU between RISCV and ARM

1. Caused by patch:https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/313160/
2. Reason : 1. New patch changed to use system ICU.
            2. ICU version on RISC-V platform is 70.1, it doesn't support any types.
            3. RISC-V platform needs to version up ICU to 74.1

Change-Id: I43ea8d5aedf04c411c652f8d6ac4c7e45b26138f
Signed-off-by: huochangjun <changjun.huo@samsung.com>
10 months ago[VD][M120 Migration] Fix some display issues 37/314137/3
zhaodan [Fri, 5 Jul 2024 11:39:40 +0000 (19:39 +0800)]
[VD][M120 Migration] Fix some display issues

Fix Private choice OOBE white blink issue
and HBBTV display issue.

Ref: https://review.tizen.org/gerrit/#/c/303846/
     https://review.tizen.org/gerrit/#/c/298914/

Change-Id: I1921ca8c0a38e38272a5da0494e6b66bebcb5f1b
Signed-off-by: zhaodan <danys.zhao@samsung.com>
10 months ago[NextBrowser] Toolbar and Menu Tree UI changes 93/312993/4 submit/tizen/20240708.160015
dhawal.badi [Tue, 18 Jun 2024 06:53:18 +0000 (12:23 +0530)]
[NextBrowser] Toolbar and Menu Tree UI changes

Change-Id: I183e634f5bd5fa19726235f659e0fcbf9ccaad94
Signed-off-by: dhawal.badi <dhawal.badi@samsung.com>
10 months agoEnable Clipboard Copy Paste 53/304453/21
Akshay Kanagali [Fri, 31 May 2024 06:50:21 +0000 (12:20 +0530)]
Enable Clipboard Copy Paste

This commit enables the copy/paste feature for different types of browsers

It also moves the common functions required for all the browser to Abstract
base class ClipboardHelperEfl in order to avoid reduntant of code.

[1], [2] and [3] impliments ClipboardHelperEfl for below modes and browsers
[1] ClipboardHelperEflEE using ecore evas for chrome browser
[2] ClipboardHelperEflWayland using elm for non-chrome browsers
[3] ClipboardHelperEflX11 for desktop build.

Change-Id: I9dd4931d052f6818cedefeeeca5a4844e9422d6e
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
10 months agoEnable SelectPicker for Onscreen Rendering Mode. 83/313283/7
Koyyani Maheswari [Fri, 21 Jun 2024 10:32:54 +0000 (16:02 +0530)]
Enable SelectPicker for Onscreen Rendering Mode.

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

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

Change-Id: I3a8379d8efb2f37600324eeaf373439768a3da07
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
10 months ago[NextBrowser] Adding HybridNavigationController 69/313969/5
mayur.jain [Wed, 3 Jul 2024 09:47:21 +0000 (15:17 +0530)]
[NextBrowser] Adding HybridNavigationController

This contains logic for KeyEvents handling from remocon
& hybrid navigation in Native UI. Currently it is taking
ecore events from InputManager.

Change-Id: I5d8fb5955c170c5dc59999b42c34e3ea1c5e2f4d
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
10 months ago[HbbTV] Fixes for preloading 47/313547/5
Thomas Daniel [Wed, 5 Jun 2024 09:28:10 +0000 (10:28 +0100)]
[HbbTV] Fixes for preloading

Use StartType::kNormal for demuxer_override_ case
Don't evict existing players for HbbTV when running a new player
Set is_preparing_ flag correctly
Defer playback starting while preloading
Handle seek while initializing correctly
Allow audio stream deactivation while preloaded
Allow duration to be retrieved while preloaded
Don't allow additional Prepare() calls while preloading
Don't notify PlaybackReady while preloading

Change-Id: I34874a97d47285b04d705085913653cf1aa41f27

10 months ago[M120] Suspend/Resume sequence 84/311984/10
xiaofang [Fri, 31 May 2024 09:38:46 +0000 (17:38 +0800)]
[M120] Suspend/Resume sequence

Four player state defined:
enum class PlayerState {
  BARRED = underlying(State::NONE),
  AWAITING = underlying(State::ACTIVE),
  PREEMPTED = underlying(State::VISIBLE),
  RUNNING = underlying(State::ACTIVE | State::VISIBLE),
};

When player created, it will be marked VISIBLE by default. Once player
can play, will be marked ACTIVE.Only ACTIVE&VISIBLE, player will be in RUNNING state.
There are three suspend scenarios in current logic, suspend_by_element,
suspend_by_capability and suspend_by_resource_conflict.suspend_by_element
 will mark as ~VISIBLE.the others will both mark as ~AVTIVE,but
suspend_by_capability is done in MediaCapabilityManager,
suspend_by_resource_conflict is done in TizenRendererImpl.
Both of suspend_by_capability and suspend_by_resource_conflict only send
suspend to render process, but not send to browser process from render.

Change-Id: I2a0487ed19186539e45a6d4f52ad8524e7494946
Signed-off-by: xiaofang <fang.xiao@samsung.com>
10 months agoFix SVACE major issue 31/314131/2
shayh [Fri, 5 Jul 2024 09:45:45 +0000 (17:45 +0800)]
Fix SVACE major issue

use tzplatform_getenv() or use secure storage instead of getenv(),
to fix SVACE issue WID: 1320840

Change-Id: I57f59e30527ee5ec3c62699a9e0d9b01ab0c3d97
Signed-off-by: shayh <yuhong.sha@samsung.com>
10 months ago[M120 Bringup] Fix issues with media/playback 46/313346/8
Leonid [Fri, 21 Jun 2024 15:25:53 +0000 (17:25 +0200)]
[M120 Bringup] Fix issues with media/playback

This patch introduces refactored use of:
> EGL_LINUX_DMA_BUF_EXT,
> EGL_NATIVE_SURFACE_TIZEN
extensions for
> https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/313210/
as the same fallback appears relevant in:
skia_output_device_offscreen_tbm.cc
shared_image_backing_efl.cc

It also includes color/padding fixes,
previously implemented in:
> https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301151/
> https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/303291/

Change-Id: I4a3413528d22ada35720d03c8ff20fa7b6c044ab
Signed-off-by: Leonid <l.sawin@samsung.com>
10 months ago[NextBrowser] Added storage manager to provide db interaction for sql models 87/313987/5 accepted/tizen/unified/x/20240708.014838 submit/tizen/20240705.160014
nehal.kumar [Wed, 3 Jul 2024 17:17:50 +0000 (22:47 +0530)]
[NextBrowser] Added storage manager to provide db interaction for sql models
Also added sql utility which prepares the db for interaction and use by sql models
Currently creating db at temporary rw folder as app data path is not available

Change-Id: I1bc8f2a2157cbfea177e26e13893553a27fb0ee9
Signed-off-by: nehal.kumar <nehal.kumar@samsung.com>
10 months ago[TIZEN] Adding passkey authentication 60/313060/15
utkarshlal [Tue, 18 Jun 2024 13:14:17 +0000 (18:44 +0530)]
[TIZEN] Adding passkey authentication

Integrated platform Webauthn functions into Tizen
Ported credential structs between Chromium and Webauthn formats
Implemented functionality for MakeCredential and GetAssertion
Provided callback function to EWK for QRcode generation and display via browser popup

Pending items:
- To fix "Technical error" message in MakeCredential flow
- To display list of passkeys on phone during GetAssertion

Change-Id: I6d26c8bb6457746dd09c5eeb4a986bfb2cc3d384
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Signed-off-by: sidpaswan <s.paswan@samsung.com>
10 months ago[VD]Increase external memory less often and limit to 300M 87/313887/3
Lizhi Fan [Wed, 3 Jul 2024 07:10:51 +0000 (15:10 +0800)]
[VD]Increase external memory less often and limit to 300M

1. Don't increase external memory limit when reset after GC
as array buffer is not swept yet.
2. Don't increase external memory limit if it's not swept
effectively. Sometimes only a few bytes released.
3. Don't increase external memory limit beyond 300M, it
means when external memory exceed 300M, MajorGC will be
triggered more often.

Change-Id: I590df8aaa208ba33f7fda6317cf27b249461b7e5
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
10 months ago[NextBrowser] Added Canvas callbacks for browser's window 34/314034/3 submit/tizen/20240704.160039
Tarun Verma [Thu, 4 Jul 2024 07:52:55 +0000 (13:22 +0530)]
[NextBrowser] Added Canvas callbacks for browser's window

Change-Id: Ibf8077d814ef024a5ba43cbbbba22c972e1c0933
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
10 months ago[NextBrowser]creation of internal featured page. 67/313867/8
shahnawaz.a [Wed, 3 Jul 2024 01:44:01 +0000 (07:14 +0530)]
[NextBrowser]creation of internal featured page.
1 New resource have been added like images for featured page
2 The search.cc is changed for featured to be home page.
3 The URL to access the featured page is chrome://featured

Change-Id: Ice4aea0d734eae11d816a2647a8712f2360575d4
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
10 months ago[M120 Migration][V8][WASM] Compilation zone stats flag introduced 83/313983/5
Robert Bycul [Wed, 5 Jun 2024 08:07:08 +0000 (10:07 +0200)]
[M120 Migration][V8][WASM] Compilation zone stats flag introduced

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

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: Ia7119051577892b34d68cf698c46cf04ec0892a3
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
10 months ago[NextBrowser] Separate rpm created for NextBrowser tpk 20/313420/4
saurabh.t3 [Tue, 18 Jun 2024 10:54:11 +0000 (16:24 +0530)]
[NextBrowser] Separate rpm created for NextBrowser tpk

Change-Id: I7a72b0be2db30de8fa8b2df3f7e549a9b75e92c1
Signed-off-by: saurabh.t3 <saurabh.t3@samsung.com>
10 months agoFix SVACE major issues 72/313972/3
shayh [Wed, 3 Jul 2024 10:24:43 +0000 (18:24 +0800)]
Fix SVACE major issues

To fix SVACE issue WID: 1318462,1318469,1318470,13185311,1319790

Change-Id: I0bd31f57a9b4d0d05b94bd2a2492719885bfccac
Signed-off-by: shayh <yuhong.sha@samsung.com>
10 months agofixup! Fix SVACE major issues 01/314001/2
jiangyuwei [Thu, 4 Jul 2024 02:24:53 +0000 (10:24 +0800)]
fixup! Fix SVACE major issues

This patch reverts two files of commit b4f2e4a4c924b2063256af8afe349291f99c89bb:
tizen_src/ewk/efl_integration/cookie_manager.cc
tizen_src/ewk/efl_integration/cookie_manager.h
to fix WebBrowser coredump issue when launched temporarily.

Change-Id: Ib5bbcc07ea01bde4962ba1c2d598ab3a4983d6d0
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
10 months ago[ROM Size] Disable test trace processor for tizen 59/313959/2
Chandan Padhi [Wed, 3 Jul 2024 08:29:08 +0000 (13:59 +0530)]
[ROM Size] Disable test trace processor for tizen

This commit disables test trace processor for tizen and removes
libtest_trace_processor.so from the final chromium-efl rpm.

Change-Id: I4091bad0f60ab502170547541d3ec4b490f1a02b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
10 months agofixup! [M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode. 82/313982/3 submit/tizen/20240703.160014
Michal Jurkiewicz [Wed, 3 Jul 2024 09:34:42 +0000 (11:34 +0200)]
fixup! [M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode.

Fix WebRTC unittests compilation

Change-Id: Icdee8aec8b3950694c65f891c47fbea3aeb30309

10 months ago[WRTjs][Service] Add protection for no libchromium-impl.so issue 43/313143/7
Chunling Ye [Wed, 19 Jun 2024 09:12:50 +0000 (17:12 +0800)]
[WRTjs][Service] Add protection for no libchromium-impl.so issue

When forked wrt-service process, try to dlopen libchromium-impl.so,
if found no so file, do mount chromium-efl.img  by wrt-service self.

Change-Id: I68a3b1d557e8ca0e228cb0db13638f787a49abd6
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
10 months ago[NextBrowser] Added support of mouse events support for NextBrowser modules 37/313837/4
Tarun Verma [Tue, 2 Jul 2024 10:28:26 +0000 (15:58 +0530)]
[NextBrowser] Added support of mouse events support for NextBrowser modules

Improved CallBackfilter added extra parameters.

Change-Id: I078b2a723485f27e2f2230ff55b4a5a6f23c2aad
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
10 months ago[VD]Update log for system memory low 92/313692/2
Lizhi Fan [Mon, 1 Jul 2024 05:22:56 +0000 (13:22 +0800)]
[VD]Update log for system memory low

Only print log when system memory low warning received.

Change-Id: Ia5d067718e98e466aa159640c6d0ab9f6291200c
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
10 months ago[WebRTC] Not caching certificate stats if one cert is null 65/313765/3
Adam Bujalski [Fri, 28 Jun 2024 13:57:04 +0000 (15:57 +0200)]
[WebRTC] Not caching certificate stats if one cert is null

It may happen that `RTCPeerConnection: getStats()` method was called
before connection with peer was fully established. In that case
certificate for remote peer was `null` at that time. However due to
caching stats, this value hasn't been updated. Leading to reading stale
data.

This lead to spurious failures of Web TCT test "RTCTransportStats's
remoteCertificateId" - `RTCPeerConnection-mandatory-getStats.https_55`

This patch fixed this issue by not caching stat results when one of the
certificates is null.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I873ea70719aaf91dc7db404401ffe657d3293266

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