platform/framework/web/chromium-efl.git
12 months ago[M120 Migration][VD] support touch 53/310753/3
fangfengrong [Wed, 8 May 2024 00:54:56 +0000 (08:54 +0800)]
[M120 Migration][VD] support touch

1. [VD] support touch & mouse & multi-touch event for RPI4 and LFD
2. [VD] Enable touch with FMS for UWE
3. Tizen Platform supports up to 20 multi-touch
4. Add a new FMS to enable touch for Projector
   FMS key:"com.samsung/featureconf/touch_detection.ir_touch_detection_support".

refer:
https://review.tizen.org/gerrit/#/c/291444/
https://review.tizen.org/gerrit/#/c/305464

Change-Id: Ie02e9228666055addeb43fdce4dbb9bb4722ac44
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[WRTjs][VD]Additional WebAPI for focus and window stack adjustment 56/310756/5
YONGMAN SON [Wed, 8 May 2024 01:08:32 +0000 (10:08 +0900)]
[WRTjs][VD]Additional WebAPI for focus and window stack adjustment

Make it possible to enable/disable focus through webapi.
Adding a webapi for adjusting Window stack mode.

This is used for special scenarios in video calling app.

Change-Id: Ie342dd168d30a0b3c67db3ce6c37e5d6922b1426
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
12 months ago[M120 Migration][MM] Check for texture and Webgl to render video frame on canvas 79/310779/3 accepted/tizen/unified/20240509.124621 accepted/tizen/unified/toolchain/20240513.061324 accepted/tizen/unified/x/20240510.061424
Suhaspoornachandra [Wed, 8 May 2024 05:27:23 +0000 (10:57 +0530)]
[M120 Migration][MM] Check for texture and Webgl to render video frame on canvas

1) The video frame decoded by WebCodec can be rendered to canvas.
In Canvas2D rendering, it is failed with GL errors because
the frame in tbm format doesn't have a texture.
It needs to generate the image from video frame.

2) When video hole is off, video use texImge2D method to
paint video content to canvas, need to create TBM texture.

References:
https://review.tizen.org/gerrit/292745
https://review.tizen.org/gerrit/295618

Change-Id: Ia65371ec3460a59f9161127b5a788ea055ffcf42
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
12 months ago[M120 Migration][WebMedia] Support 5K resolution video playback 04/310704/3
zhishun.zhou [Tue, 7 May 2024 05:45:24 +0000 (13:45 +0800)]
[M120 Migration][WebMedia] Support 5K resolution video playback

Support 5K resolution for Smart Monitor (S90PC)
 - S90PC : HEVC, AV1 - 5120x2880 (5K, 16:9)

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

Change-Id: I4c32db00c3e2d708d4e488c3c8f4f0bee0419ba4
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[VD][RISCV] Add TIZEN_TV_RISCV64 flag to support riscv feature 85/310685/4 submit/tizen/20240508.160020
jie [Mon, 6 May 2024 11:07:15 +0000 (19:07 +0800)]
[VD][RISCV] Add TIZEN_TV_RISCV64 flag to support riscv feature

 1. Add riscv feature flag TIZEN_TV_RISCV64.
 2. Dissable NSS_InitReadWrite_SanityCheck api when riscv64 building.
    Becasue the nss version is different in riscv repo.
    There is not NSS_InitReadWrite_SanityCheck api.
 3. Only Tizen TV support vd feature for RISC-V.

Change-Id: I6a14f260c2536286b7880fd4e402acd2d3fc5c17
Signed-off-by: huochangjun <changjun.huo@samsung.com>
12 months agoBuild fixes in Tizen-X profile. 45/310545/6
venu.musham [Tue, 30 Apr 2024 13:14:03 +0000 (18:44 +0530)]
Build fixes in Tizen-X profile.

Fixes to aarch64 Tizen-X profile.

Change-Id: I9e3f466efd2989f7aa259ff89ac027585b2008d3
Signed-off-by: venu.musham <venu.musham@samsung.com>
12 months ago[PDNCF] Revert "Make XML input callbacks in Blink more robust to unexpected situations." 22/310722/2
Gajendra N [Tue, 7 May 2024 08:13:15 +0000 (13:43 +0530)]
[PDNCF] Revert "Make XML input callbacks in Blink more robust to unexpected situations."

Revert upstream change added for failsafe check for case blink custom
input fields.

upstream url: https://chromium-review.googlesource.com/c/chromium/src/+/4691203

Change-Id: I581c75505e7797377ac23b27071e7fa4e28a2d93
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
12 months ago[M120 Migration][RBS][VD] Support ewk_settings_ime_handle_key_event_enabled_set for RBS 69/310669/3
fang fengrong [Mon, 6 May 2024 07:35:06 +0000 (15:35 +0800)]
[M120 Migration][RBS][VD] Support ewk_settings_ime_handle_key_event_enabled_set for RBS

It's the Knox-browser's requirement for RBS:
RBS needs to use the virtual desktop's IME instead of the TV IME
to process the input.

So provide an api: api ewk_settings_ime_handle_key_event_enabled_set
for knox-browser to disable use TV IME to handle key event.

Default is enable use IME to handle key event.

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

Change-Id: Ia0bfc54c38697da091a3e3df54584d53173aebda
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months agoRevert "fixup! "Fix errors thrown due to platform libxml2 version upgrade from 2... 12/310712/2
Gajendra N [Tue, 7 May 2024 06:14:51 +0000 (11:44 +0530)]
Revert "fixup! "Fix errors thrown due to platform libxml2 version upgrade from 2.11.5 -> 2.12.5""

Causes TERMS app to crash, hence reverting the fixup.

This reverts commit f1be3ae3a7e405a2c7c5b629a5e14b851cc7ad79.

Change-Id: I9242f25c076bf48f18eadd2a475dde54e2def69b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
12 months ago[M120 Migration][VD][AX] Remove redundant limitation of GetRole 71/310671/4
jie [Sun, 28 Apr 2024 03:05:42 +0000 (11:05 +0800)]
[M120 Migration][VD][AX] Remove redundant limitation of GetRole

To fix Meaningless words are read out with checkbox,
when role="", set AtkRole to ATK_ROLE_INVALID.

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

Change-Id: Ia8d622496144923ee1de5278af109046a4f3dbcc
Signed-off-by: jie <jie137.zhang@samsung.com>
(cherry picked from commit a8c31b1181b8c719d93dcd682a6e0b15adbceecb)

12 months ago[M120 Migration][VD] Modify IME "Done/Search/Go" key name as "Enter" for webbrowser 65/310665/3
fangfengrong [Mon, 6 May 2024 05:15:59 +0000 (13:15 +0800)]
[M120 Migration][VD] Modify IME "Done/Search/Go" key name as "Enter" for webbrowser

The "Done/Search/Go" key on IME panel, keyname is "Select";
it's not same with the "Enter" key on Physical Keyboard Key,
which keyname is "Enter".

As some website on webbrowser may use the key name,
but can not identify the "Select" key name;
so,modify IME "Done/Search/Go" key name,replace "Enter" with "Select".

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

Change-Id: Ifc4ac44f69c6d60edcf049da8fcda800576d4e04
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months agoImplement |EflScreen::GetCursorScreenPoint| 79/310579/3
Hyomin Kim [Tue, 2 Apr 2024 02:06:42 +0000 (19:06 -0700)]
Implement |EflScreen::GetCursorScreenPoint|

The address bar suggestion omnibox refers to
the location of the pointer with the function above.
Before the patch, shadowing didn't work by
moving the pointer over it.

So implement it to enable it.

Change-Id: I97f857d8429a6390d5420a1442d80fe22c381aaf

12 months agoFix: WebInspector video stream crash 12/310412/3
Leonid [Fri, 26 Apr 2024 15:34:56 +0000 (17:34 +0200)]
Fix: WebInspector video stream crash

WebInspector caused a segfault due to not checking
 for raster_context_provider == nullptr

Note: fallback for no TIZEN_TBM_SUPPORT was used

Change-Id: I1c9d701ded01f471d588984e52adffc4a1d6dbbf
Signed-off-by: Leonid <l.sawin@samsung.com>
12 months agoFix: multiple warnings under cc/* 71/309971/4
Leonid [Thu, 18 Apr 2024 12:23:35 +0000 (14:23 +0200)]
Fix: multiple warnings under cc/*

Mostly resolved unreachable code and
 undefined behavior issues via NOTREACHED

This is one of a few minor patches aimed at reducing
 build times and improving code quality

Change-Id: Ie4617947abdfecede475ec7fe9d0fd974d149a29
Signed-off-by: Leonid <l.sawin@samsung.com>
12 months ago[M120 Migration] Limit the length and scheme of pageurl in favicon DB 68/310668/2
jiangyuwei [Mon, 6 May 2024 06:00:37 +0000 (14:00 +0800)]
[M120 Migration] Limit the length and scheme of pageurl in favicon DB

The length of pageurl in favicon DB <= 1024.
The scheme of pageurl in favicon DB exclude data scheme.

References:
 - https://review.tizen.org/gerrit/304020/

Change-Id: I8d65da6df6836e19658213d3bb944192e955ce44
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration]V8 memory related 10/310510/2
zhaodan [Tue, 30 Apr 2024 05:54:47 +0000 (13:54 +0800)]
[M120 Migration]V8 memory related

1: To avoid the crash of webengine side.
2: V8 max heap memory size tuning.
3: Add a check for the size of js array.

Ref:
https://review.tizen.org/gerrit/#/c/291550/
https://review.tizen.org/gerrit/#/c/291218/
https://review.tizen.org/gerrit/#/c/291216/

Change-Id: Iee3052bf9235d8a516b9d0173fa38346144042c4
Signed-off-by: zhaodan <danys.zhao@samsung.com>
12 months ago[M120 Migration] [EFL] Fix wrong screen position issue 76/310676/5 submit/tizen/20240507.160016
wangjing [Mon, 6 May 2024 08:54:52 +0000 (16:54 +0800)]
[M120 Migration] [EFL] Fix wrong screen position issue

1. screen position is same with the client position on mouse event.
Should set the root location which is delivered in EFL event as the screen
position.
And set the location which is root location minus the TopControlsHeight(
the y position of the native view) as client position.

2. mouse_wheel can't scroll when mouse position below the screen.
When WebBrowser use ewk_view_feed_mouse_wheel API to edge scroll,
need adjust mouse position inside the webview.

Refer:
https://review.tizen.org/gerrit/296171/
https://review.tizen.org/gerrit/297033/

Change-Id: Ic159d3b0619c407f36db0f6966ecad715a33ee16
Signed-off-by: wangjing <jing124.wang@samsung.com>
12 months ago[M120 Migration][VD] Ignore "huart" port message notified by system kernel 63/310663/2
jingjieli [Mon, 6 May 2024 03:24:02 +0000 (11:24 +0800)]
[M120 Migration][VD] Ignore "huart" port message notified by system kernel

NetLink sends RTM_NEWADDR message for "huart" port,
this causes WebEngine close all unfinished requests.
HyperUART is used for logging system device for SDB,
user APP should skip its events.

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

Change-Id: I2f6b19bb73acedbd3e04436b7f5f0ec2edf5a853
Signed-off-by: jingjieli <jingjie.li@samsung.com>
12 months ago[M120 Migration] To update evas object of position when webview is moved 66/310666/3
fang fengrong [Mon, 6 May 2024 05:26:55 +0000 (13:26 +0800)]
[M120 Migration] To update evas object of position when webview is moved

Need to update the position info for view of Ewk_View_Smart_Data.

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

Change-Id: I08c01e1aef0c38f3e261f15c565367ce61018464
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Support app setting customized recommended words 67/310667/3
fang fengrong [Mon, 6 May 2024 05:44:20 +0000 (13:44 +0800)]
[M120 Migration][VD] Support app setting customized recommended words

Implement PepperExtensionSystemHost::SetIMERecommendedWordsType
which enable/disable allow app to set auto words.
Implement PepperExtensionSystemHost::SetIMERecommendedWords
which receive recommended words from app. Then recommended words
are passed to IME.

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

Change-Id: I9c7a93c76d3605edf6b8b4c1a5d97d53067f6a7a
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[WRTjs][VD] Update po file 92/310692/2
zhaosy [Tue, 7 May 2024 01:04:56 +0000 (09:04 +0800)]
[WRTjs][VD] Update po file

po is updated in Trams, so update the latest po file

Change-Id: I2f165d96617e8ef556a21b161c47c6dfaaf848a8
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
12 months ago[M120 Migration] fix H264 cannot support 4K60fps issue. 23/310523/3 submit/tizen/20240506.160016
zhishun.zhou [Tue, 30 Apr 2024 08:31:12 +0000 (16:31 +0800)]
[M120 Migration] fix H264 cannot support 4K60fps issue.

On lowend target the maximum capacity of H264 is 4K 30fps, while the
default max framerate value is media::kMaxFramerate [60], that will
cause fail for H264 4k video. Let's set the framerate from
ri_get_max_resolution.

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

Change-Id: Iaa6c41befa86c9f53a0530a53e1c59970271e263
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][VD][MM] Get H264 max_res from RS on M108 09/310509/3
zhishun.zhou [Tue, 30 Apr 2024 06:04:28 +0000 (14:04 +0800)]
[M120 Migration][VD][MM] Get H264 max_res from RS on M108

Issue: H264 4K video shows black on M108.
Reason: WebMedia limits H264 max_res to FHD, which will decoded by 2K decoder.
        But 2K decoder cannot support 4K stream.
Solution: Get h264 max_res from RS from M108. For previous version, keep
        limitation of FHD for H264.
Patch from: https://review.tizen.org/gerrit/#/c/300936/

Change-Id: If70f33fefc9681b0c9643d38db449d55db449bd1
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][VD] Introduce --allow-universal-access-from-files runtime toggle 62/310662/2
jiangyuwei [Mon, 6 May 2024 02:40:11 +0000 (10:40 +0800)]
[M120 Migration][VD] Introduce --allow-universal-access-from-files runtime toggle

To enable cross origin XHR currently WRT launches chromium with
--disable-web-security flag, which allows all types of the documents
access every other documents.
This patch introduces --allow-universal-access-from-files which
allows to grant universal access only to local documents, the same
as it is currently implemented in WebKit-EFL.

References:
 - https://review.tizen.org/gerrit/291139/

Change-Id: Id206a7a8224732bc1d80e4447a74e09b5edd4264
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Refactor CookieManager 60/310660/2
jiangyuwei [Mon, 6 May 2024 00:54:32 +0000 (08:54 +0800)]
[M120 Migration] Refactor CookieManager

1.Implement CookieManager functions via network::mojom::CookieManager
2.Delete cookies on UI thread
3.Remove UrlRequestContextGetter related code
4.Fix code style issue

References:
 - https://review.tizen.org/gerrit/293007/

Change-Id: I48b29381be4343f103ec99e86bcbe38cb4fb776b
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Support Pointer Lock API for WRT 27/310527/4
fang fengrong [Tue, 30 Apr 2024 09:08:51 +0000 (17:08 +0800)]
[M120 Migration][VD] Support Pointer Lock API for WRT

1:The Pointer Lock API is WASM team's requirement for WebApp from tizen 5.5.

  Now We support the Pointer Lock API as below:
  1. Element.requestPointerLock()
  2. Document.exitPointerLock()
  3. Document: pointerlockchange
  4. Document.onpointerlockchange
  5. Document: pointerlockerrors
  6. Document.onpointerlockerror
  7. Document.pointerLockElement
  Refer:https://www.w3.org/TR/pointerlock/

refer:
https://review.tizen.org/gerrit/#/c/293093
https://review.tizen.org/gerrit/#/c/301993/
https://review.tizen.org/gerrit/#/c/302015
https://review.tizen.org/gerrit/#/c/303532

Change-Id: I3a44d90854c895215ba30656d6e613551e207d49
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Provide ewk_settings_drag_drop_enabled_set api 24/310524/3
fang fengrong [Tue, 30 Apr 2024 08:25:12 +0000 (16:25 +0800)]
[M120 Migration][VD] Provide ewk_settings_drag_drop_enabled_set api

The patch is for the requirement:
Provide ewk setting api for text/image selection and using
mouse drag and drop.

1.Provide ewk_settings_drag_drop_enabled_set api for app,
to set enable drag and drop true or false;
2.Check the dragDropEnabled value before handle mouse drag,
When app set enable drag and drop, mouse drag can handle.

Default is enable drag and drop.

References:
https://review.tizen.org/gerrit/#/c/296642

Change-Id: I2d6effdc2893a5f64c538d6c6eeaeb3cdf94020a
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Fix cookie can't be stored when process exit 19/310519/2
jiangyuwei [Tue, 30 Apr 2024 07:52:22 +0000 (15:52 +0800)]
[M120 Migration][VD] Fix cookie can't be stored when process exit

When process exit and launch again, cookie can't be load.

Change the way to get cookie path when network service enable.

In addition, flush local storage database and SQLite database to
commit all pending operations before process terminated.

References:
 - https://review.tizen.org/gerrit/300148/

Change-Id: I0997f05885a5772ada815fe6db6a71d5bc48ece7
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months agofixup! "Fix errors thrown due to platform libxml2 version upgrade from 2.11.5 ->... 29/310629/3 submit/tizen/20240503.160016
Gajendra N [Fri, 3 May 2024 03:40:10 +0000 (09:10 +0530)]
fixup! "Fix errors thrown due to platform libxml2 version upgrade from 2.11.5 -> 2.12.5"

Original commit which enables system's libxml, causes crash on Xfinity and eManual app launch.
Enabling third_party/libxml and commit [1] combinedly fixes crash on TERMS, eManual
and Xfinity apps.

[1] 97af58e5047f29c097e63d926ffafa2246e6de3e

Change-Id: I36eafaf828ad295c84756ade5f637234adcc6ddc
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
12 months agoFixup![M120 Migration][VD] Support cursor for TV product 56/310456/2
fang fengrong [Mon, 29 Apr 2024 10:15:40 +0000 (18:15 +0800)]
Fixup![M120 Migration][VD] Support cursor for TV product

add the "kWebPNRPointer" on the end of the enum CursorType.

Change-Id: I47164f01e0acd0d412b03240dacad5924a831819
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Supporting app custom UI for <select> tag 91/310491/2
fang fengrong [Thu, 25 Apr 2024 03:05:41 +0000 (11:05 +0800)]
[M120 Migration][VD] Supporting app custom UI for <select> tag

For <select> tag, the default UI is PC-like UI.
App can use custom UI instead of default UI.
The patch provide api and callback to app to create the UI by
themselves.

migrated from:
https://review.tizen.org/gerrit/#/c/290868

Change-Id: Ie2c3aa517d8c975f877d47b093735f7af73a4032
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[Chrome] Fix for crash on "Add to Chrome" in chrome web store 05/310605/2
Chandan Padhi [Thu, 2 May 2024 12:35:36 +0000 (18:05 +0530)]
[Chrome] Fix for crash on "Add to Chrome" in chrome web store

There's a browser crash when we click "Add to Chrome" for installing
extensions from chrome web store.

ActivationClient for some reason seems to be null for Chrome EL.
Adding a null check for it to fix this crash until we figure out
why it is null in the first place.

This commit also fixes a similar crash when we select the Print
option from context menu.

Change-Id: I68144ed9bc4c15adb2037f0538804d72f2d6828a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months agoAdd |should_show_after_init| in widget's params 32/310432/21
hyoputer [Mon, 29 Apr 2024 02:28:41 +0000 (11:28 +0900)]
Add |should_show_after_init| in widget's params

Add the parameter above to limit the part of
the patches [0] which affect Chrome to WRT and web apps.
This could prevent unexpected side effects such as
crashing when JS popup boxes [1] appear.

This patch is based on the patch [2].

[0]
fd9524e406896591489cbaf0d5c3608c98fdf002
38d9f1c827a067bfa3c04d01a73c61e425d51e58
251376038bd874752c4a9e3b5bf6bff912c63a08
b4e6d11ee5aae17c542d1943a14255a76415fcef

[1]
https://www.w3schools.com/js/js_popup.asp

[2]
9f5b5463761e55304ce82e47d4de16798aa1189f

Change-Id: If1803a5cccae56287fc5200407787b5481574dab

12 months agoDesktop build related fixes. 86/309686/4 submit/tizen/20240502.160016
venu.musham [Mon, 15 Apr 2024 10:31:44 +0000 (16:01 +0530)]
Desktop build related fixes.

fixes related to offscreen desktop build.

Change-Id: If03cd47fa5c233bd291d4fbd14680ef73000565b
Signed-off-by: venu.musham <venu.musham@samsung.com>
12 months ago[Chrome] Add stub implementation of SelectFileDialog for EFL 44/310544/3
Chandan Padhi [Tue, 30 Apr 2024 12:12:00 +0000 (17:42 +0530)]
[Chrome] Add stub implementation of SelectFileDialog for EFL

This commit adds a stub select file dialog to avoid crashes with
file select/chooser in Bookmarks, Extensions, Downloads, etc.

ui::SelectFileDialog::Create() always returned null as SelectFileDialog
implementation was missing for EFL that resulted in these crashes.

This commit also reverts [1] as the 'return' was added in SelectFileDialog
that was already invalid/garbage.

[1] 77ae934d32474ca1e5138aa751288ec687779923

Change-Id: Iee6cf97cf9b04781715ab42e5e6673e8536ee41d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months ago[M120 Migration] Change png image use zopfli encoding. 92/310492/2
zhaodan [Tue, 30 Apr 2024 03:23:20 +0000 (11:23 +0800)]
[M120 Migration] Change png image use zopfli encoding.

Now we have to apply new png images(zopfli png)
since it's good archiving efficiency(30%)
(VD don't have enough Flash Memory space)

This patch is migrated from:
https://review.tizen.org/gerrit/#/c/272540/

Change-Id: Ibe7fbd815ab826c9497e1132f8bc79b30ed23705
Signed-off-by: zhaodan <danys.zhao@samsung.com>
12 months ago[Chrome] Fix for crash during scroll 75/310575/1
Chandan Padhi [Thu, 2 May 2024 05:37:59 +0000 (11:07 +0530)]
[Chrome] Fix for crash during scroll

WebContentsViewAuraHelperEfl is not instantiated for Chrome
that results in crash while dereferencing |wcva_helper()|.

This commit adds null checks for |wcva_helper()| in
RWHVAuraCommonHelperEfl.

Change-Id: Ie596acd81654eb9e9fc1610bc48fa4d888293c2b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months ago[M120 Migration] Modify |GetSnapshot| function to support NUI 13/309613/4 submit/tizen/20240501.160015
Akshay Kanagali [Fri, 12 Apr 2024 13:14:00 +0000 (18:44 +0530)]
[M120 Migration] Modify |GetSnapshot| function to support NUI

This patch is Post Aura adaptation of
https://review.tizen.org/gerrit/c/272396

With this patch we are Redrawing and invoking
CompositorObserverEfl::NotifySwap() and setting tbm_surface_h
whenever EWebView::GetSnapshotAsync() is invoked.

References :
https://review.tizen.org/gerrit/300310/
https://review.tizen.org/gerrit/300951/

Change-Id: I3296833710cd2d933aef6a8b319383fa58b4b9fd
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
12 months ago[M120 Migration][WebRTC] Enable H264 codec 43/310543/2 accepted/tizen/unified/20240502.105905 accepted/tizen/unified/toolchain/20240505.131437 accepted/tizen/unified/x/20240503.091136
Suhaspoornachandra [Tue, 30 Apr 2024 11:32:28 +0000 (17:02 +0530)]
[M120 Migration][WebRTC] Enable H264 codec

This patch enables H264 for WebRTC,
ffmpeg_branding to "Chrome" is already set in previous patches

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

Change-Id: Iefefb07e844cd1251f9fe1c5ceff78f2d287a76e
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
12 months ago[M120 Migration][VD] Forbid store video/audio to DiskCache on TV 55/310455/2
jiangyuwei [Mon, 29 Apr 2024 09:48:40 +0000 (17:48 +0800)]
[M120 Migration][VD] Forbid store video/audio to DiskCache on TV

Diskcache size is limited on TV, and the size of video/audio
is too large.
So forbid store to diskcache when mime_type is audio/video.

References:
 - https://review.tizen.org/gerrit/300615/

Change-Id: I2efc1589591693b00695c03088f4e6d7b0a3136e
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Implement proxy feature for EWK and WRT 29/310429/4 submit/tizen/20240430.160017
jiangyuwei [Mon, 29 Apr 2024 02:13:43 +0000 (10:13 +0800)]
[M120 Migration] Implement proxy feature for EWK and WRT

For wrt's implementation this year, although WRTBrowserContext
does not have a ProxyConfigMonitor member, we can still accessto the
singleton browser::ProxyConfigMonitor by using a newly created object.

Enable proxy feature in WRT.

References:
 - https://review.tizen.org/gerrit/#/c/296338/

Change-Id: Id5519f5a8c3f9a0e79c4a491985228f3f2cbf911
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][WRTjs][Launching Performance] Fast path for 'ready-to-show' 60/310460/11 accepted/tizen/unified/20240502.044713
YongGeol Jung [Wed, 7 Feb 2024 05:09:01 +0000 (21:09 -0800)]
[M120 Migration][WRTjs][Launching Performance] Fast path for 'ready-to-show'

Currently |DidFirstVisuallyNonEmptyPaint| is processed in the main thread of
renderer process. Therefore, if the main thread is busy due to JS function call
or other reasons, |DidFirstVisuallyNonEmptyPaint| could be delivered late. It
causes launching performance degradation.

In fact, from the browser process's point of view, it can be determined that
"ready-to-show" can be called if the non-empty layout frame has been delivered.

In order to improve the launching performance, fast path is added to process
this condition.

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

Change-Id: I30f81a62298c1b92d21e143fe2e57f5157794b61
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
12 months agofixup! Support gcc build for chromium-efl. 67/310467/6
Nikhil Shingne [Mon, 29 Apr 2024 13:29:04 +0000 (18:59 +0530)]
fixup! Support gcc build for chromium-efl.

Fix initialization of struct constructor.
The use of the same name for parameters and members within the copy
constructor led to unexpected behavior resulting in NativeTCT failures
on x64. This patch fixes the same.

Change-Id: Ib874271b3020330befdf263c1be459f5927c287b
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
12 months ago[M120 Migration][MM] Enable the video hole feature for the chrome browser. 68/310468/3
venu.musham [Mon, 29 Apr 2024 13:45:29 +0000 (19:15 +0530)]
[M120 Migration][MM] Enable the video hole feature for the chrome browser.

Enable the video hole flag in webpreference for the chrome browser.

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

Change-Id: I84d8a80390340ac7ca02cf8a8bac32b17f2c7f5b
Signed-off-by: venu.musham <venu.musham@samsung.com>
12 months ago[M120 Migration][VD] TV customization of Disk Cache 51/310451/4
jiangyuwei [Mon, 29 Apr 2024 08:40:48 +0000 (16:40 +0800)]
[M120 Migration][VD] TV customization of Disk Cache

1.Accept disk-cache-size from command line
2.SetNetworkCacheEnable API
3.Modify the disk cache storage path
4.Implement the disk cache when Network service is enabled
5.Change cache type from CACHE_BACKEND_SIMPLE to
CACHE_BACKEND_BLOCKFILE
6.Add check in NetworkContext::SetCacheMode to avoid crash

References:
 - https://review.tizen.org/gerrit/291930/
 - https://review.tizen.org/gerrit/293927/

Change-Id: I000498d698d6ba87784fb899b88f82bbba061146
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[ASAN] Fix for linker errors with ASAN build 23/310423/2
Manjeet [Sun, 28 Apr 2024 16:17:55 +0000 (21:47 +0530)]
[ASAN] Fix for linker errors with ASAN build

This patch fixes linker errors[1]

[1]undefined reference to
   'ui::TestClipboard::CreateForCurrentThread()',
   'ui::test::EnableTestConfigForPlatformWindows()'
   'audio::InputIPC::OnMediaStateChanged()'
   'ui::CreteOzoneUIControlsTestHelperEfl()'

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

Change-Id: I34b04827544d4da9a5956ccb5a71a2379e89e8c0

12 months agobackport of V8 commit to fix random SIGILL on riscv 11/310411/4
Daniil Ruban [Fri, 26 Apr 2024 14:34:24 +0000 (16:34 +0200)]
backport of V8 commit to fix random SIGILL on riscv

Backport V8 06d8a985d8180221c7c5a227b49c6d8b8c938c53 commit:

Commit fixes randomly SIGILL on riscv.
Mostly this SIGILL happens on Jetstream V2 HashSet-WASM test (3/4 times)

> From 06d8a985d8180221c7c5a227b49c6d8b8c938c53 ?Mon Sep 17 00:00:00 2001
> From: Lu Yahan <yahan@iscas.ac.cn>
> Date: Fri, 27 Oct 2023 19:05:19 +0800
> Subject: [PATCH] [wasm][riscv] Add platform-specific support
>                                        for the wasm-to-js wrapper
> Port commit
93bb287c2fef9c52760940895e82759f780ec93f
>
> Also add check_nanbox argument to control WriteMem<Float32> in simulator.
> FSW/C_FSWSP should not be checked and converted.
>
> Bug: v8:14035
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4974898

Change-Id: Iedae4d6ec044ff02d9ca8f50b2892480ca92f926
Signed-off-by: Daniil Ruban <intx82@gmail.com>
12 months ago[WRTjs][VD] Remove still mode of VSS 84/309584/2 submit/tizen/20240429.160024
zhaosy [Fri, 12 Apr 2024 08:29:57 +0000 (16:29 +0800)]
[WRTjs][VD] Remove still mode of VSS

In this case, VSS is flicker even app is terminated:
  1) Launch VSS app
  2) While video is playing, terminate app
  3) Launch other app, VSS still is flicker

Checked with MMPlayer team, it's related still mode.
So remove still mode of VSS

Change-Id: I221f4447c02fe3040b11e5f7b6cffbc684c2617e
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
12 months ago[M120 Migration][VD] Support select picker 54/310354/3
fangfengrong [Thu, 25 Apr 2024 06:48:17 +0000 (14:48 +0800)]
[M120 Migration][VD] Support select picker

1.[VD] Support select picker
Refer:
 https://review.tizen.org/gerrit/#/c/289188

Change-Id: I0f09af3e8a594043f6191d9fe0d618dd59effc32
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WebRTC] Use SW decoder for camera preview before ESPP renderer is... 79/310079/4
peng.yin [Mon, 22 Apr 2024 06:38:43 +0000 (14:38 +0800)]
[M120 Migration][WebRTC] Use SW decoder for camera preview before ESPP renderer is ready

stripped from:
[M108 Migration][WebRTC][Camera] Port Video Encoders
https://review.tizen.org/gerrit/#/c/292709/

Change-Id: I676596c3a95fa3a856a4ad5871ad0523271c61e3
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months ago[M120 Migration][WebRTC] Add missing code for video capture pipeline 25/310025/4
peng.yin [Fri, 19 Apr 2024 09:28:39 +0000 (17:28 +0800)]
[M120 Migration][WebRTC] Add missing code for video capture pipeline

add the missing code in M108 patch:
https://review.tizen.org/gerrit/#/c/297097/
TizenEsplusplayerRenderer instance shall not be
released without it, which will causes the camera preview
abnormal behaviour.

Change-Id: I0131e985391b6028314cc2b6dc1c2214a7a0d63b
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months agoRevert "[M120 Migration][VD] TV customization of Disk Cache" 41/310441/2
Yanqing Lu [Mon, 29 Apr 2024 05:31:40 +0000 (05:31 +0000)]
Revert "[M120 Migration][VD] TV customization of Disk Cache"

This reverts commit 82770df9f8c51ae6aa83cbed6b1907b337160193.

Change-Id: Ic34e36f9c835c238885d00fc255f21065bac20a6

12 months ago[M120 Migration][VD] fix up window.open do not use override user agent 20/310420/2
jiangyuwei [Sun, 28 Apr 2024 01:14:14 +0000 (09:14 +0800)]
[M120 Migration][VD] fix up window.open do not use override user agent

In case of window.open, sometimes RenderFrameImpl::userAgentOverride
would still return empty even
render_view_->renderer_preferences_.user_agent_override
was set by ewk_view_user_agent_set API,
which cause the new opened window use default user agent
rather than overridden user agent set by user.

Force use render_view_->renderer_preferences_.user_agent_override
as default in RenderFrameImpl::userAgentOverride to fix it up.

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

Change-Id: I7f08900897a9c38b27cdd006c4d549dc6dbba863
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] TV customization of Disk Cache 22/310422/3 submit/tizen/20240428.160019
jiangyuwei [Sun, 28 Apr 2024 05:36:33 +0000 (13:36 +0800)]
[M120 Migration][VD] TV customization of Disk Cache

1.Accept disk-cache-size from command line
2.SetNetworkCacheEnable API
3.Modify the disk cache storage path
4.Implement the disk cache when Network service is enabled
5.Change cache type from CACHE_BACKEND_SIMPLE to
CACHE_BACKEND_BLOCKFILE

References:
 - https://review.tizen.org/gerrit/291930/

Change-Id: If9b6b9a57cdccb601edf958cb3fb6a7cb191e2f2
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months agoFixup! [M120 Migration][MM] Framerate calculation 69/310269/2
wuxiaoliang [Wed, 24 Apr 2024 06:33:07 +0000 (14:33 +0800)]
Fixup! [M120 Migration][MM] Framerate calculation

remove 11045689
keep the same logic with upstream to call init_cb.

Change-Id: Ic36e25253073552b3f3efcb3d00ff63b61e0f002
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months ago[M120 Migration] Fix smartthings plugin webview flush issue 87/310387/5
shayh [Fri, 26 Apr 2024 09:30:02 +0000 (17:30 +0800)]
[M120 Migration] Fix smartthings plugin webview flush issue

WebView contents sometimes not update correctly
the offscreen mode, need to flush and submit all
GPU commands even it is the texture layer.

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

Change-Id: I9cdc31e5ef1c96a4ffebe63f35a9618a8547526d
Signed-off-by: shayh <yuhong.sha@samsung.com>
12 months ago[M120 Migration]][WebRTC] Show fps log of more than 2 video layers. 26/310226/5
hongyanting [Wed, 24 Apr 2024 07:43:49 +0000 (15:43 +0800)]
[M120 Migration]][WebRTC] Show fps log of more than 2 video layers.

Until now, only 1 video has fps log output for debugging.
Services such as Google Duo play up to 4 videos simultaneously.
And add a log for drawable content rect change.

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

Change-Id: Ib705ee13b3c5677a2ba8257998a631fb06425671
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migration][WebRTC] Set facing mode for video capture devices 83/309783/6
hongyanting [Wed, 17 Apr 2024 01:47:11 +0000 (09:47 +0800)]
[M120 Migration][WebRTC] Set facing mode for video capture devices

M108 patch is:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291325/

In current patch, move the implementation to camera_device_tizen.cc

Change-Id: I1df4a10af417dff512408c9ad0acac2aa28dc8d2
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migration][WebRTC] Enable SCTP data channel of webrtc 05/310205/4
hongyanting [Wed, 24 Apr 2024 05:58:14 +0000 (13:58 +0800)]
[M120 Migration][WebRTC] Enable SCTP data channel of webrtc

SCTP is necessary for google duo group talk,
otherwise it will cause peerconnection create failed

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

Change-Id: I9f5191441fa961c3525c6b9dfdb3bbe2518ce67c
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migratio][VD] Disable COOP. 68/309468/2
jiangyuwei [Thu, 11 Apr 2024 06:11:21 +0000 (14:11 +0800)]
[M120 Migratio][VD] Disable COOP.

Some website used COOP standard, it will caused to create new renderview for security.
But for this situation, tizen evas object logic for focus cannot adopt it.
So disable this feature in old platform for stability.
And the new customization plan to supported in new platform.

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

Change-Id: Ic2a3d1570b8b8296a1795a69514228631276101c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Scroll related patch 91/310291/5
wangjing [Thu, 25 Apr 2024 03:38:14 +0000 (11:38 +0800)]
[M120 Migration] Scroll related patch

1. [LFD]Support some gesture for native scrollbar
The VD native scrollbar can not show when use gesture event,
so support some events when make gesture on scrollbar.
2. Add some touch log.
Ref: https://review.tizen.org/gerrit/#/c/293301/

3. Fix edge scroll focus issue
Edge scroll use MouseWheelEvent to scroll,
dispatch all MouseWheelEvent even focus out of webview.
Ref: https://review.tizen.org/gerrit/#/c/298747/

Change-Id: Ib733fb8de5d992f8926e69af64862f63a1a51a64
Signed-off-by: wangjing <jing124.wang@samsung.com>
12 months ago[M120 Migration][VD] Disable "Done" key when inputed text not meet password minlength. 81/310281/3 submit/tizen/20240426.160039
fang fengrong [Thu, 25 Apr 2024 02:02:39 +0000 (10:02 +0800)]
[M120 Migration][VD] Disable "Done" key when inputed text not meet password minlength.

For password input type,when input text:
1. not meet the min length, disable Done key;
2. meet the min length set, enable Done key.

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

Change-Id: Ia10d98deb5e721e19a6feafffe948faa05c4a8a0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Add logs to check http cache 73/310273/4
feifei08.liu [Thu, 25 Apr 2024 01:18:40 +0000 (09:18 +0800)]
[M120 Migration][VD] Add logs to check http cache

Add some logs to check whether use http cache when url request.

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

Change-Id: Ia5cbe4bc488dd51806c693e6d49d24bb41e03efa
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
12 months ago[M120 Migration][VD] Support cursor for TV product 71/310271/3
fang fengrong [Wed, 24 Apr 2024 06:45:17 +0000 (14:45 +0800)]
[M120 Migration][VD] Support cursor for TV product

1. Support cursor for TV product
2. Support custom cursor
3. Support EWK_API of set cursor for WebBrowser
4. Add SetCursorByClient check before sending update cursor event
5. On VD, don't set cursor client, the cursor all handled through EFL;
   So no need generate mouse event for without cursor client case.

refer:
https://review.tizen.org/gerrit/#/c/291968
https://review.tizen.org/gerrit/#/c/300418

Change-Id: I3a6f4046db2ce4309fcc185ac45d9983b525b79f
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months agoUpdate gbs repository for Tizen 9.0 TV. 76/310176/3
venu.musham [Tue, 23 Apr 2024 12:06:01 +0000 (17:36 +0530)]
Update gbs repository for Tizen 9.0 TV.

Update base and product repository to support Tizen 9.0
product gbs build.

Change-Id: I80b60c71c7c6fd68ffb8fae3e058957f2e41b81e
Signed-off-by: venu.musham <venu.musham@samsung.com>
12 months ago[M120 Migration][VD] Support multiple players on Webapp 14/309614/3 submit/tizen/20240425.160016
zhishun.zhou [Fri, 12 Apr 2024 09:44:03 +0000 (17:44 +0800)]
[M120 Migration][VD] Support multiple players on Webapp

1. Add swtich to enable multiple players feature [merged in other patch]
2. Define player count according chipset RSC
   - OscarP supports 4 players
   - PontusM/others support 2 players
3. Support audio focus switch in MediaPlayerESPlusPlayerTV

Patches from:
https://review.tizen.org/gerrit/#/c/297872
https://review.tizen.org/gerrit/#/c/300191/
https://review.tizen.org/gerrit/#/c/300239/
https://review.tizen.org/gerrit/#/c/300625/
https://review.tizen.org/gerrit/#/c/300872/
https://review.tizen.org/gerrit/#/c/301240/

Change-Id: I0daa9093f86066e7ee03555a377eece0dc492ca4
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration] Fix confusion of ActiveDomObject from different webpages 27/310127/2
jiangyuwei [Tue, 23 Apr 2024 03:11:05 +0000 (11:11 +0800)]
[M120 Migration] Fix confusion of ActiveDomObject from different webpages

When All webpages are  running in single efl webprocess ,
all pages will be  managed by global ordinaryPages manager.

ScopedPageLoadDeferrer Will reference ordinaryPages manager when
one webpage load deferred object.

The mechanism will cause that the non-active webpages also resume
the own ActiveDomObject .

we avoid that the non-active webpages also resume
the ActiveDomObject when the current webpage load deferred object

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

Change-Id: I0560bb97e5e2df4866b4525e1babf00ffa6bbd6d
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Add defensive code for NSSDB crash 63/310163/2
jiangyuwei [Tue, 23 Apr 2024 08:53:28 +0000 (16:53 +0800)]
[M120 Migration][VD] Add defensive code for NSSDB crash

1.If NSSDB is broken, "SEC_ERROR_PKCS11_GENERAL_ERROR" error occurs
in NSSDB Init step.
There is no recovery logic if NSSDB Init fails in chromium-efl.
Add a defensive code to remove the broken NSSDB and try again.

2.Call "NSS_InitReadWrite_SanityCheck" instead of
"NSS_InitReadWrite" for integrity_check
There was no recovery logic of nssdb in nss library. Even if chromium
check the return value of NSS_InitReadWrite, It was not able to
fully covered the corruption of key.db.  So We added integrity_check
in nss library with new interface. (NSS_InitReadWrite_SanityCheck)

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

Change-Id: If7897501521962424cce9b37b03a0f97c371bd71
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Fix read-to-show was not received in some specail app 25/310125/6 submit/tizen/20240424.160016
wangjing [Tue, 23 Apr 2024 02:45:45 +0000 (10:45 +0800)]
[M120 Migration] Fix read-to-show was not received in some specail app

EmitReadyToShow based on two condition
flag1. did_first_non_empty_layout_ // document parsing done
flag2 has_updates                 // layout update
For some simple webview and contain js script, flag1 maybe divide into two frames
[ScheduleEndIfDelayed, DeferredPumpTokenizerIfPossible were called in two frames],
and we got a special case
frame1 flag1 false flag2 true
frame2 flag1 true  flag2 false
did_first_non_empty_layout_ is IS_EFL added feature,
so if this flag is true, we need to update a frame
so we need to set flag2 to true for frame2, then wrt can get EmitReadyToShow callback correct.

Ref:
https://review.tizen.org/gerrit/#/c/300609/

Change-Id: I8fd9caba013e7907617c5ff9e861a74056088824
Signed-off-by: wangjing <jing124.wang@samsung.com>
12 months ago[M120 Migration][VD] Fix Context Menu fail to show issue 10/310110/3
jiangyuwei [Tue, 23 Apr 2024 01:29:03 +0000 (09:29 +0800)]
[M120 Migration][VD] Fix Context Menu fail to show issue

Focused element will be cleared in key up, if click too fast after
move focus, there will be no focused element in long press
in this case, can not get correct element to show context menu

So need to show context menu with mouse location.

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

Change-Id: Ia6478e106fa8d937336a6145685b07bbbbab769e
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][MM] optimize GC policy 18/308518/2
wuxiaoliang [Wed, 13 Mar 2024 10:17:02 +0000 (18:17 +0800)]
[M120 Migration][MM] optimize GC policy

if buffered data is more than 20s, it will not append data to chunkdemuxer.

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

Change-Id: I5ea0af0924195aaf8399eb800c6677a7fe26895f
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months agoM120 TBM Bringup 18/308718/12 accepted/tizen/unified/20240425.114130 accepted/tizen/unified/toolchain/20240427.045655 accepted/tizen/unified/x/20240426.050414 submit/tizen/20240423.160018
Suhaspoornachandra [Tue, 19 Mar 2024 05:10:33 +0000 (10:40 +0530)]
M120 TBM Bringup

This patch adds TBM surface support, by replacing deprecated
CreateTizenImageCHROMIUM with CreateSharedImage. It also has fix for
SVACE and coverity issues.

References:
https://review.tizen.org/gerrit/286841
https://review.tizen.org/gerrit/290994
https://review.tizen.org/gerrit/292743

Change-Id: Id3c335f8b9a6f37de9e94abe56b3d80a5bed96cd
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
12 months agoFix: remote-allow-origins by default 97/309097/5
Leonid [Thu, 4 Apr 2024 14:20:29 +0000 (16:20 +0200)]
Fix: remote-allow-origins by default

To be used in conjunction with '-i' flag
Fixes the issue with WebSocket returning 403

Change-Id: I3bb68b5b2863e40653e1a5a8b2a201c3f745f244
Signed-off-by: Leonid <l.sawin@samsung.com>
12 months ago[M120 Migration] Supprt Copy and Paste for multi control 65/310065/6
jiangyuwei [Mon, 22 Apr 2024 02:49:11 +0000 (10:49 +0800)]
[M120 Migration] Supprt Copy and Paste for multi control

1. [M108 Migratio][VD] Support copy & paste text/html
https://review.tizen.org/gerrit/289717/

2. Fix html type cannot pasted.
https://review.tizen.org/gerrit/298523/

3. Add to refresh the clipboard when mouse in.
https://review.tizen.org/gerrit/300789/

4. [VD] Fix copy text and paste to contenteditable area fail issue
https://review.tizen.org/gerrit/306627/

5. [M94 Migration] change clipboard CnP order for html contents
https://review.tizen.org/gerrit/267249/

Change-Id: I0da01d3e69f427452f3425debbe2a8ec0dd0d763
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Implemention of ewk_context_icon_database_delete_all for favicon DB 74/310074/2
jiangyuwei [Mon, 22 Apr 2024 05:50:31 +0000 (13:50 +0800)]
[M120 Migration] Implemention of ewk_context_icon_database_delete_all for favicon DB

Implement ewk_context_icon_database_delete_all api to clear favicon DB.

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

Change-Id: Ief75a66eb835350ac9b03f7807ce88a2e2b32047
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[Coverage] Patch for UnitTest coverage 02/309202/25 submit/tizen/20240422.160016
Koyyani Maheswari [Tue, 11 Apr 2023 09:34:12 +0000 (15:04 +0530)]
[Coverage] Patch for UnitTest coverage

Improve line and function coverage percentages.

Coverage result with the patch-
Lines    : 83.0%
Functions: 83.8%

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

Change-Id: I7f6b8e19053c40e3088301b4d1f67a352e45c96b
Signed-off-by: nishitha <n.saravanan@samsung.com>
12 months ago[WRTjs] Prevent the type of wl2 window from being set to none 04/309904/3
SangYong Park [Thu, 18 Apr 2024 05:59:10 +0000 (14:59 +0900)]
[WRTjs] Prevent the type of wl2 window from being set to none

the type of wl2 window was set to none when EflWindow was created for
splash screen. and EflWindow was not displayed in screen.
so, skip to setting and unnecessary codes.
and, add native window observer for basic splash screen.
(basic splash screen is created after native window.)

Change-Id: I6cf7e89b3ac0122addd36c295fc185dbeaeb1eb8
Signed-off-by: SangYong Park <sy302.park@samsung.com>
12 months ago[M120 Migration] Supprt Drag and Drop for multi control 14/310014/5
jiangyuwei [Fri, 19 Apr 2024 06:15:19 +0000 (14:15 +0800)]
[M120 Migration] Supprt Drag and Drop for multi control

1. Revert "[M108 Migration][VD] Disable the DND(Drag & Drop) feature on TV"
https://review.tizen.org/gerrit/294555/

2. Set correct y-coordinates in DnD
https://review.tizen.org/gerrit/294762/

3. Fix text DnD not working issue
https://review.tizen.org/gerrit/295452/

4. Support DnD for multi control
https://review.tizen.org/gerrit/299319/

5. Set action as DragOperationEvery
https://review.tizen.org/gerrit/299414/

6. Support Drag and Drop for url and image type:
https://review.tizen.org/gerrit/300698/

7. Fix Mouse Position Issue in MiniView
https://review.tizen.org/gerrit/299719/

Change-Id: I57c3a1fc53ca44b3bcb72767efb069f604ce5054
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[MM] change long time print format 32/308932/3
wuxiaoliang [Wed, 3 Apr 2024 01:30:25 +0000 (09:30 +0800)]
[MM] change long time print format

for live stream, time is very long and print format is like this:
media_time=1.71203e+09
we can't check the detailed time.

Now change it to print the complete time string like this:
1712047883.526666 s

Change-Id: Ia123b28beb81c0d3ea8f00804fa3a1930916a58a
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months ago[M120 Migration] Add |ewk_view_ime_window_set| to support IME for NUI 49/309749/6 submit/tizen/20240419.160015
Akshay Kanagali [Tue, 16 Apr 2024 07:14:00 +0000 (12:44 +0530)]
[M120 Migration] Add |ewk_view_ime_window_set| to support IME for NUI

IME requires window object to attach and NUI application has its
own window. To show IME properly, NUI application's window need
to be set by |ewk_view_ime_window_set|.

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

Change-Id: I96c5996d7642fc4bfcde0ffbb333f0985799cd16
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
12 months ago[M120 Migration] Enable tizen_emulator_support for emulator aarch64 04/310004/3
uzair [Fri, 19 Apr 2024 05:24:22 +0000 (10:54 +0530)]
[M120 Migration] Enable tizen_emulator_support for emulator aarch64

Below change fixes app launch issue by enabling tizen_emulator_support
flag for aarch64 emulators.

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

Change-Id: I0bbd07049fc9de66b0ec81d070d68d8fc823f241
Signed-off-by: uzair <uzair.jaleel@samsung.com>
12 months ago[M120 Migration] Fix show IME 55/309755/3
fang fengrong [Tue, 16 Apr 2024 08:10:25 +0000 (16:10 +0800)]
[M120 Migration] Fix show IME

1. [VD] Do not show IME if click is prevented or
scrollbar
Do not 'ShowVirtualKeyboard' when mouse up event occurs
if the previous mouse down event is 'preventDefault'
by JavaScript.

Bug: DF170215-01023

Check if it is mouse click on the scrollbar before
|ShowVirtualKeyboard|.
No need to show VirtualKeyboard if click on the scrollbar.

2. [HBBTV] Trigger auto show IME when webview focus in

The patch is for fixing hbbtv can not auto show IME issue.

Current, only element been set focus can tigger show IME autolly,
but show IME autolly also need based on webview been focused.
If element been focused first, and webview been focused later,
then can not show IME.

So here, add another trigger to show IME autolly.

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

Change-Id: I025fa50f075f3d816467e7b7550e6c3002271d5d
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WEBRTC] Fix messenger app preview fail issue 12/309912/4
xliang.wu [Mon, 16 May 2022 08:36:05 +0000 (04:36 -0400)]
[M120 Migration][WEBRTC] Fix messenger app preview fail issue

There are many RenderFrameImpl show and hidden.
(RenderFrameImpl count is not definitely and show/hidden sequence is not definitely)
different RenderFrameImpl use the same WebVideoCaptureImplManager.
when RenderFrameImpl::WasHidden/WasShown was called, it trigger WebVideoCaptureImplManager::SuspendDevices.

the init value of is_suspending_all_ = false.
before device connect, some RenderFrameImpl WasHidden was called.
when device connect and video element created,is_suspending_all_ = true and don't trigger startpreview.
So we should keep the initial state if video element not created and device not connected yet.

refer to:
https://review.tizen.org/gerrit/#/c/293673/

Change-Id: Id73edda952d4399e538660aec95ad1289b211f78
Signed-off-by: xliang.wu <xliang.wu@samsung.com>
12 months ago[M120 Migration] Fixup! [WebRTC] Add TizenEsPlusPlayerRendererManager Implementation 11/309911/3
zhishun.zhou [Tue, 24 Oct 2023 03:53:48 +0000 (11:53 +0800)]
[M120 Migration] Fixup! [WebRTC] Add TizenEsPlusPlayerRendererManager Implementation

When stop capture, a EOS frame deliver through MediaStreamVideoTrack.
Because EOS frame has no timestamp and empty size, use it to create black
frame or compute framerate could cause crash.

refer to:
https://review.tizen.org/gerrit/#/c/300405/

Change-Id: I7d2fc3bf96e3c9ea663309d8f78d96e821d0105c
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][NUI] Add internal mouse event API for NUI. 92/309692/3
Akshay Kanagali [Mon, 15 Apr 2024 09:14:00 +0000 (14:44 +0530)]
[M120 Migration][NUI] Add internal mouse event API for NUI.

1. ewk_view_feed_mouse_down
2. ewk_view_feed_mouse_up
3. ewk_view_feed_mouse_move
4. ewk_view_feed_mouse_wheel
5. ewk_view_feed_mouse_out

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

Change-Id: I87ffb054777aab42d78038c058548e5f68263551
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
12 months agoRevert "[M120 Migration]Fix for crash during chrome exit" 03/309903/5 accepted/tizen/unified/x/20240419.090344 submit/tizen/20240418.160016
Rohit Kumar [Thu, 18 Apr 2024 05:28:29 +0000 (10:58 +0530)]
Revert "[M120 Migration]Fix for crash during chrome exit"

Original commit 5067b78 disabled Crypto related code which was causing crash
in M108. On M120, the block of code is needed as os_crypto_linux_impl.cc
is compiled, hence reverting the original commit to fix the chrome
hang/crash issue after launch.

Change-Id: If2a554fe3de96c3705e162694194bbc226f9e921
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
12 months agoriscv64: build: update header path 51/307851/3
Dongkyun Son [Thu, 14 Mar 2024 01:06:59 +0000 (10:06 +0900)]
riscv64: build: update header path

Fix fatal error: asm-arm/ptrace.h: No such file or directory

Change-Id: Ifd4d85e9bb6c88763a804bd3f505ba1678e90e73
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
12 months ago[M120 Migration][VD] Disable User-Agent Client Hints 81/309781/2
jiangyuwei [Wed, 17 Apr 2024 01:25:35 +0000 (09:25 +0800)]
[M120 Migration][VD] Disable User-Agent Client Hints

User-Agent Client Hints API is not a W3C Standard
nor is it on the W3C Standard Track.

To notify the server that
this feature is not supportedfor Tizen TV profile,
disable it through RuntimeEnabledFeatures.

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

Change-Id: I964cb040c0372355bf980a8a03eeb612ffe9b4d8
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Edge effect only use in touch device 92/309792/2
jiangyuwei [Wed, 17 Apr 2024 02:33:58 +0000 (10:33 +0800)]
[M120 Migration][VD] Edge effect only use in touch device

There are some issues with mouse event for the feature
- shallow do not dismiss after mouse release
so we just disable this feature for mouse

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

Change-Id: I9704d40dbc8a7ba64c55ac1d1a8cb249ff9f3e26
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Provide ewk_settings_ime_panel_enabled_set api 06/309706/3
fangfengrong [Tue, 16 Apr 2024 02:18:39 +0000 (10:18 +0800)]
[M120 Migration] Provide ewk_settings_ime_panel_enabled_set api

1. Provide ewk_settings_ime_panel_enabled_set api to
   set if enable ime panel with true or false;
2. Check the IMEPanelEnabled value before show ime panel,
   the value is false, then don't show ime panel.

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

Change-Id: Ie1764c9d326a96e964fa87d9a83eb4c8e8ecc635
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WebRTC] Fix build error after Tbm feature enabled 27/309827/3 submit/tizen/20240417.160015
peng.yin [Mon, 15 Apr 2024 02:33:10 +0000 (10:33 +0800)]
[M120 Migration][WebRTC] Fix build error after Tbm feature enabled

fix build error after Tbm macro enable, and add some type dependencies
from the `[WebRTC] Make VideoCalls work in multiprocess architecture`
patch set.

Change-Id: If80246597a2e63be171fa0b528360e546f0bf856
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months agofixup! [M120 Migration][WebRTC] Merge fixup patches 14/309814/2
Suhaspoornachandra [Wed, 17 Apr 2024 04:34:26 +0000 (10:04 +0530)]
fixup! [M120 Migration][WebRTC] Merge fixup patches

Enabling TIZEN_TBM_SUPPORT will cause build error, uploading fixup to
resolve the errors.

Change-Id: I39852f6fc40ce72c1dc46a452e3819d5cca8904f
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
12 months ago[M120 Migration] [WRTjs][VD] set screen solution for ultra width screen products 30/309530/2
zhaosy [Mon, 8 Apr 2024 02:13:21 +0000 (10:13 +0800)]
[M120 Migration] [WRTjs][VD] set screen solution for ultra width screen products

For ultra width screen products(21:9 or 32:9), if app has
"base_screen_resolution" metadata, when app is launched,
window system will change window to 2580*1080 or 3840*1080.
But view is not updated, so app still is displayed as 1920*1080.

So when app is launched, set screen solution again.

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

Change-Id: I477751d76e7eefc4547473b465341ae6129cb370
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
(cherry picked from commit eada7d7929f6d8a1e0fd9d0bac1d92b9078a4715)

12 months agofixup! [M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64 62/309762/2
Chandan Padhi [Tue, 16 Apr 2024 10:08:27 +0000 (15:38 +0530)]
fixup! [M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64

This commit fixes desktop build errors introduced with the parent patch.

Change-Id: Ie00ce390482df1404529ffa0c85f4ebf05dee334
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months ago[M120 Migration][VD] Fix UDP socket crash issue 00/309700/2
jiangyuwei [Tue, 16 Apr 2024 01:35:05 +0000 (09:35 +0800)]
[M120 Migration][VD] Fix UDP socket crash issue

Socket closes abnormally.In order to fix UDP
crash issue when closing the socket.

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

Change-Id: Idff9407fc21a7ec54c69556742139b26e6aab8b5
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Update default user agent in VersionInfo 66/309666/2
jiangyuwei [Mon, 15 Apr 2024 06:44:32 +0000 (14:44 +0800)]
[M120 Migration][VD] Update default user agent in VersionInfo

Some scenario still use the default UA instead of user setting.
Modify default UA by customized setting to fix UA issue.

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

Change-Id: I85bdf3434a7b65798f24d256d7e21126e178de12
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][WebRTC] Get camera rotation from camera instance 82/309682/2
hongyanting [Mon, 15 Apr 2024 09:34:25 +0000 (17:34 +0800)]
[M120 Migration][WebRTC] Get camera rotation from camera instance

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

CameraFW has supplied a new interface that could be used to
get camera rotation information in preview callback.
new interface name: camera_attr_get_preview_frame_rotation

refer to:
http://wiki.vd.sec.samsung.net/display/23POG/Camera+FW

Change-Id: I905c9e9a2bff2a834e69da379a80402345aa50dd
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[Gamepad]Revert accessory filter for chrome browser 80/309680/3
Yu Yang [Mon, 15 Apr 2024 08:57:15 +0000 (16:57 +0800)]
[Gamepad]Revert accessory filter for chrome browser

Revert this patch which used to fix build error of chrome-browser:
  https://review.tizen.org/gerrit/#/c/308101/
because tizen_src/ewk/efl_integration folder is added as DEPS by
chrome-browser build in this patch:
  https://review.tizen.org/gerrit/#/c/307791/
there's no build error now we need not do any change for gamepad files.

Change-Id: I4dc55deaf4de18e006ee34722a01fd5c384cd340
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
12 months ago[M120 Migration]Handle settings in WebPreferences instead of WebPreferencesEfl 62/309662/4 submit/tizen/20240416.160016
fang fengrong [Mon, 15 Apr 2024 05:53:22 +0000 (13:53 +0800)]
[M120 Migration]Handle settings in WebPreferences instead of WebPreferencesEfl

This change removes EWK_BRINGUP macro related to updating web preferences.
Also handled settings in WebPreferences instead of
WebPreferencesEfl wherever possible.
Reference:
https://review.tizen.org/gerrit/#/c/291901

Change-Id: I2e3da91eee08320e9cee9f3323400864377413ff
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Change default policy of certificate error 61/309661/2
jiangyuwei [Mon, 15 Apr 2024 05:52:42 +0000 (13:52 +0800)]
[M120 Migration][VD] Change default policy of certificate error

When open the same website which has certificate error repeatedly,
except the first time, the website will not be blocked, and browser will not receive
certificate error notification again.
The cause is:
1. Blink has a map which remember user's decision when a website is once visited.
   blink will lookup the map firstly for next visiting.
2. By default chromium-efl allows page to be opened with certificate compromise.
When web-browser doesn't decide the decision, "Allow" is used by default, and
"Allow" is stored to the map.
Solution:
Change the default policy, don't allow page to be opened if has certificate error.

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

Change-Id: I4d18399202b07bec5b21f5aad8da2d2106534678
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>