platform/framework/web/chromium-efl.git
7 weeks agoFixup![M120 Migration][VD] Fix some focus issues for offscreen mode 33/308833/5
fang fengrong [Tue, 2 Apr 2024 00:28:42 +0000 (08:28 +0800)]
Fixup![M120 Migration][VD] Fix some focus issues for offscreen mode

Keeps same with M94, register focusin/focusout for content_image_elm_host;
when content_image_elm_host focusin/focusout, sync the focus to content_image.

Change-Id: I4447858706b21a5721e166dcba68e4a746c40a69
Signed-off-by: fang fengrong <fr.fang@samsung.com>
7 weeks ago[M120 Migration] Support signal "tooltip,text,unset", "tooltip,text,set" 01/308901/3
fangfengrong [Tue, 2 Apr 2024 11:15:17 +0000 (19:15 +0800)]
[M120 Migration] Support signal "tooltip,text,unset", "tooltip,text,set"

When mouse move over some HTML element,
we will notify WebBrowser about the tooltip information.

When mouse move over HTML element,
we will get related information form EventHandle.

Extract the tooltip string. Send tooltip set
notification when tooltip is not empty.
Otherwise, send tooltip unset notification.

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

Change-Id: I8d40ce93583036a05238b85d483dcc2d3fe045c9
Signed-off-by: fangfengrong <fr.fang@samsung.com>
7 weeks ago[M120 Migration][NUI][Rendering] Support ecore_evas sw backend 15/308815/10 submit/tizen/20240410.160015
Akshay Kanagali [Mon, 13 Mar 2023 15:29:17 +0000 (08:29 -0700)]
[M120 Migration][NUI][Rendering] Support ecore_evas sw backend

To support the SW backend, modified to perform  GL related initialization
operation only in the HW backend.

It also resolves the build errors after TBM is enabled.

References :
https://review.tizen.org/gerrit/306447/
https://review.tizen.org/gerrit/295785/

Change-Id: I3f18a7a0f4f71654227dbad7a505154955da2694
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
7 weeks ago[M120 Migration][VD] Support custom context menu 12/309312/3
jiangyuwei [Mon, 8 Apr 2024 10:42:45 +0000 (18:42 +0800)]
[M120 Migration][VD] Support custom context menu

When a user long click on the link in webpage, context menu should popup.

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

Change-Id: Id307f33fdcc3bbda45c2c0feec1bdff3adcde14c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 weeks ago[WRTjs][VD] Introduce in-process VideoSplashScreen 44/308844/5 submit/tizen/20240409.160014
DongHyun Song [Fri, 10 Nov 2023 00:28:31 +0000 (09:28 +0900)]
[WRTjs][VD] Introduce in-process VideoSplashScreen

From Tizen 5.5 VideoSplashScreen has been introduced, which is
running on amd process as amd-extension.

Recently, amd process had some performance issues due to video
playing, so we had decided to move VSS feature to WRT side.

This patch MUST be released with AppFW team's changes, wich disable
VSS feature on their side.

Change-Id: I0d564941628c883d644d1a89e0a46a0d06eb45e2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
7 weeks ago[M120 Migration][WebRTC] Merge fixup patches 51/309251/3
peng.yin [Mon, 8 Apr 2024 01:20:13 +0000 (09:20 +0800)]
[M120 Migration][WebRTC] Merge fixup patches

fixup!fixup![M108 Aura Migration][MM][WebRtc] New implementation for local stream renderer
https://review.tizen.org/gerrit/#/c/293279/

Fixup! [M108 Migration] Support camera to canvas feature
https://review.tizen.org/gerrit/#/c/292855/

Optimize video hole frame updates
https://review.tizen.org/gerrit/#/c/291925/

fixup! [VD][MM] Get H264 max_res from RS on M108
https://review.tizen.org/gerrit/#/c/301521/

[MM] Do not perform operation by buffering state during in low latency mode.
https://review.tizen.org/gerrit/#/c/301932/

Change-Id: I4046fb2ebee17c9305f1d7c38e21841398bce2b4
Signed-off-by: peng.yin <peng8.yin@samsung.com>
7 weeks ago[M120 Migration] Add error check when get system info 94/309294/2
jiangyuwei [Mon, 8 Apr 2024 08:34:14 +0000 (16:34 +0800)]
[M120 Migration] Add error check when get system info

Add error check when get system info.

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

Change-Id: I8fdf2e49049ee3c05802b63dc6dfe9443170704b
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 weeks ago[M120 Migration][WebRTC] Tbm mapping buffer support in webrtc video sink 18/309218/2
peng.yin [Tue, 6 Jun 2023 06:47:24 +0000 (14:47 +0800)]
[M120 Migration][WebRTC] Tbm mapping buffer support in webrtc video sink

video frame with PIXEL_FORMAT_TBM_INTER_PROCESS_BUFFER format is not
correctly handled in webrtc video sink pipe, this format is same as
NV12 actually, so add same logic as NV12 format to handle it.

Change-Id: Id54be9723f86910c397aea8ecc9bfece25070fe0
Signed-off-by: peng.yin <peng8.yin@samsung.com>
7 weeks ago[M120 Migration][NaCl][PPFwk]Use GetWaylandWindowId to get window id 38/308538/2
jinbei09 [Wed, 27 Mar 2024 06:54:32 +0000 (14:54 +0800)]
[M120 Migration][NaCl][PPFwk]Use GetWaylandWindowId to get window id

For chromium aura, Previously the 'GetWaylandWindowId' api can't return window
id normally, so use ecore_evas_gl_x11_window_get instead.
This will lead to the app can not get the window id correctly.
For latest chromium aura, 'GetWaylandWindowId' can return window id normally,
so use it to fix the issue

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

Change-Id: Iac8cf838da27e55dc11710cd79b8583ef48891cb
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
7 weeks agofixup! [NUI] NUI implementation for |SkiaRenderer| 64/309064/6
Akshay Kanagali [Thu, 4 Apr 2024 07:51:23 +0000 (13:21 +0530)]
fixup! [NUI] NUI implementation for |SkiaRenderer|

Replacing gl_image_egl with scoped_egl_image.

Change-Id: Iaa7f75b1704d9d156db00f68e82d092c7c156867
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
7 weeks ago[M120 Migration] Disable badge service 72/309272/2
wangjing [Mon, 8 Apr 2024 06:28:13 +0000 (14:28 +0800)]
[M120 Migration] Disable badge service

As badge is not enable on TV, so we need to disable it.
Or it will cause js error

ref:
https://review.tizen.org/gerrit/#/c/276311/

Change-Id: Ic87ce222c90d33206ccfef335f5e8e10469d1557
Signed-off-by: wangjing <jing124.wang@samsung.com>
7 weeks agoFix for emulator build error 15/309215/3 accepted/tizen/unified/20240409.135605 accepted/tizen/unified/20240409.155907
wangjing [Sun, 7 Apr 2024 02:26:26 +0000 (10:26 +0800)]
Fix for emulator build error

need to modify header file

fix patch: https://review.tizen.org/gerrit/#/c/308930/

Change-Id: I22f1f88b86a68059b1ef1b490b8862a77f413ea7
Signed-off-by: wangjing <jing124.wang@samsung.com>
7 weeks ago[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64 20/309220/2 submit/tizen/20240408.160022
zhaodan [Sun, 7 Apr 2024 10:14:30 +0000 (18:14 +0800)]
[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64

Issue:
gfx::AcceleratedWidget was defined as uint32_t while using OZone,
so when cast Window pointer to gfx::AcceleratedWidget on 64bit build,
the address will lose higher bits and become invalid.
Then when EGL APIs accessing the window pointer,
the process will crash.

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

Change-Id: I2a843f63bae185122a02a75d198cdd929ee23247
Signed-off-by: zhaodan <danys.zhao@samsung.com>
7 weeks ago[M120 Migration][MM][WebRTC] Base implementation for webrtc video hole stream 17/309217/2
peng.yin [Thu, 13 Oct 2022 05:58:23 +0000 (13:58 +0800)]
[M120 Migration][MM][WebRTC] Base implementation for webrtc video hole stream

migrate the TizenEsPlusPlayerRenderer class from M108 who roles same
as MmVideodecoder before, but it creates a self owned EsPlusPlayer
by mojo renderer, and update the latest geometry change info to
EsPlusPlayer.

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

Change-Id: I0743eb1202dfa261501a9fdf12b2d5d73c34fa39
Signed-off-by: peng.yin <peng8.yin@samsung.com>
7 weeks ago[M120 Migration][VD][Accessibility] Add smart callbacks for spatial navigation 16/309216/3
jiangyuwei [Sun, 7 Apr 2024 06:04:59 +0000 (14:04 +0800)]
[M120 Migration][VD][Accessibility] Add smart callbacks for spatial navigation

This patch is for changing focus from web view in Tizen TV to browser
when cannot move focus any more by press arrow keys in spatial navigation.

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

Change-Id: I3c7d860b9f42e6f863c0174ce918490b6fcf0202
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 weeks ago[M120 Migration] Add guard code to avoid crash during webview clean 19/309219/2
jiangyuwei [Sun, 7 Apr 2024 06:46:19 +0000 (14:46 +0800)]
[M120 Migration] Add guard code to avoid crash during webview clean

In low memory case, browser will clean webview and create new one,
driver will release and cause autofill crash.

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

Change-Id: Iedd4a8a2a7005fc472ee00bb4e26599c8507e642
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 weeks ago[XWalkExtension] Fix dangling issue of GetMetadataValue 31/308931/4 submit/tizen/20240407.160014
DongHyun Song [Wed, 3 Apr 2024 00:54:38 +0000 (09:54 +0900)]
[XWalkExtension] Fix dangling issue of GetMetadataValue

It cannot return local std::string's c_str() value as a return
value. It can be a dangling pointer.

Change-Id: I6e00b594e267433b17f56998886fd9344c9d0a80
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
8 weeks agoFixing COVERITY Issue 25/309125/4 submit/tizen/20240405.160015
saurabh-2 [Fri, 5 Apr 2024 04:53:41 +0000 (10:23 +0530)]
Fixing COVERITY Issue

This patch fixes the COVERITY issues of following types:

AUTO_CAUSES_COPY

Change-Id: Ie6a7814070590a64fd03f2005ccec6aa9f39fd3f
Signed-off-by: saurabh-2 <saurabh.2@samsung.com>
8 weeks agoRevert "[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products" 79/309079/1 submit/tizen/20240404.160015
DongHyun Song [Thu, 4 Apr 2024 09:34:43 +0000 (09:34 +0000)]
Revert "[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products"

merged by mistake

This reverts commit 406a40ddf1570440ccc836ad4862941eb9265864.

Change-Id: Id72e75f0c9bb6b32b49800fea9f0a2f02ea74136

8 weeks ago[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products 78/308778/3
zhaosy [Mon, 25 Mar 2024 02:52:30 +0000 (10:52 +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.

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

Change-Id: I9de89e1a3aed79a0c1d91ada401f53e4b64a6aed
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit ba2b872240f3148c4f4d00fe7849b1538aac7750)

8 weeks ago[M120 Migration][HOTFIX][EMULATOR] Fix for output surface creation failure 41/308941/3
uzair [Wed, 3 Apr 2024 05:12:41 +0000 (10:42 +0530)]
[M120 Migration][HOTFIX][EMULATOR] Fix for output surface creation failure

The emulator platform DDK api glGetInternalformativ is returning
incorrect GL_SAMPLES count which results in black screen. Ideally
it needs to checked as to why emulator DDK returns GL_SAMPLES as 0
whereas all other profiles DDK return correct GL_SAMPLES count.

Referece:
https://review.tizen.org/gerrit/c/290611

Change-Id: I1e1c5e6fe2a0c438f60a22c307cd23394dbbdd60
Signed-off-by: uzair <uzair.jaleel@samsung.com>
8 weeks agoFix for building with Tizen X Repo 72/308972/2
Aleksander Świniarski [Mon, 18 Mar 2024 08:23:31 +0000 (09:23 +0100)]
Fix for building with Tizen X Repo

Currently for building with Tizen X repo we are using directory of form
out.tz_v9.0* to store object files, which is the same format of
directory, as when creating with standard repositories. Due to this
object files from these builds get mixed in the same directory.

This patch fixes this by use of conditional in .spec file. When the
Tizen X is detected, the directory of form out.tz_X* will be used instead

Change-Id: Ia57797b5e1d8cfb865ecc72887877abd8d0c9a7b
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
8 weeks ago[M120 Migration][Emulator32] Add definition in emulator32 40/308940/4
uzair [Wed, 3 Apr 2024 05:08:53 +0000 (10:38 +0530)]
[M120 Migration][Emulator32] Add definition in emulator32

1. When repository is "emulator32", tizen_emulator_support is true.
2. Define TIZEN_EMULATOR_SUPPORT.
3. Also adds support for macro BUIDFLAG(IS_TIZEN_EMULATOR)

Reference Patch:
https://review.tizen.org/gerrit/#/c/273194

Change-Id: I7c8717b5f694d2444d3505745b5e353a4c0ec359
Signed-off-by: uzair <uzair.jaleel@samsung.com>
8 weeks ago[M120 Migration] Possible fix for crash during shutdown insideSelectionControllerEfl... 12/308812/4
Manjeet [Mon, 1 Apr 2024 10:26:36 +0000 (15:56 +0530)]
[M120 Migration] Possible fix for crash during shutdown insideSelectionControllerEfl::CancelContextMenu

In pre-aura, WebContentViewEfl was owned by RWHVEfl, so the order of destruction
was guaranteed. But in post-aura, WCVAHelper is owned by WCVA, so during shutdown,
sometimes due to destruction sync issue, WCVAHelper may not be a valid pointer
in SelectionControllerEfl (which is a member of RWHVHelper). So instead of using
WCVAHelper, use WebContentsEflDelegate directly to show and cancel context menu in
SelectionControllerEfl class.

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

Change-Id: Ic01aa40000567e8605af47a46163462e3196e57e

8 weeks agoFixing SVACE Issues 96/308896/5
Nikhil Shingne [Tue, 2 Apr 2024 10:35:41 +0000 (16:05 +0530)]
Fixing SVACE Issues

This patch fixes the following type of issues:
1) DEREF_OF_NULL
2) missed return statement
3) unnecessary performance loss while passing by value
4) uninitialized data
5) string object was destroyed
6) class member not initialize

Change-Id: I64d15890d3a5cd9f16ae676c460e8713ed9759e2
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
8 weeks agoFix emulator build error 30/308930/2 submit/tizen/20240403.160016
wangjing [Wed, 3 Apr 2024 01:23:41 +0000 (09:23 +0800)]
Fix emulator build error

Fix patch: https://review.tizen.org/gerrit/308656

Change-Id: I78c464bda942f8ee3be96ccad8554ab6e651e279
Signed-off-by: wangjing <jing124.wang@samsung.com>
8 weeks ago[M120 Migration][VD] Support "XF86KeySweetTV" and "XF86HotelSolution" key 20/308820/3
fangfengrong [Mon, 1 Apr 2024 11:23:46 +0000 (19:23 +0800)]
[M120 Migration][VD] Support "XF86KeySweetTV" and "XF86HotelSolution" key

Support "XF86KeySweetTV" key:
"XF86KeySweetTV": {
            keyName: "XF86KeySweetTV",
            keyCode: 10605
}

Support "XF86HotelSolution" key:
"XF86HotelSolution": {
            keyName: "XF86HotelSolution",
            keyCode: 10489
}

Reference:
https://review.tizen.org/gerrit/#/c/302556/
https://review.tizen.org/gerrit/#/c/297512/

Change-Id: I7cdce44514b074d64b973abc77ece0a94eac8d1f
Signed-off-by: fangfengrong <fr.fang@samsung.com>
8 weeks ago[M120 Migration][VD][AX] Improve navigation without TAB key in browser 39/308839/3
jiangyuwei [Tue, 2 Apr 2024 01:18:05 +0000 (09:18 +0800)]
[M120 Migration][VD][AX] Improve navigation without TAB key in browser

Because some element will consume all arrow keys and not use it to navigation,
focus could be trapped in these elements. To solve this issue, for composite
widget convert the arrow keys which direction is perpendicular to object
orientation to tab key; and check the actual operation after author consuming
arrow key to decide if reset the prevent state to trigger spatial navigation.

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

Change-Id: I654c428e0d1f5cddb30fedc30ed10a0074c4f962
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
8 weeks agoFixing SVACE Issue 33/308633/4
saurabh-2 [Thu, 28 Mar 2024 08:29:01 +0000 (13:59 +0530)]
Fixing SVACE Issue

This change fixes the NO_CAST.INTEGER_OVERFLOW issue.

Change-Id: Iff85661e1d2fdedc02bd83b0792a6aa7bab41372
Signed-off-by: saurabh-2 <saurabh.2@samsung.com>
8 weeks agoFixing SVACE Issue 32/308632/4
saurabh-2 [Thu, 28 Mar 2024 08:22:15 +0000 (13:52 +0530)]
Fixing SVACE Issue

This change fixes the NO_CAST.INTEGER_OVERFLOW issue.

reference: https://review.tizen.org/gerrit/303295/

Change-Id: I07976844bf6be44fc35a996e3cbe5fa39234ac1f
Signed-off-by: saurabh-2 <saurabh.2@samsung.com>
8 weeks ago[M120 Migration][VD] Support EWK Scroll API for TV WebBrowser 57/308857/2
wangjing [Tue, 2 Apr 2024 03:42:00 +0000 (11:42 +0800)]
[M120 Migration][VD] Support EWK Scroll API for TV WebBrowser

TV browser team requires below EWK API:

ewk_settings_uses_scrollbar_thumb_focus_notifications_set()
"scrollbar,thumb,focus,changed"

This api is for enhancement of scroll usability from 16' browser:
focus to scrollbar's thumb area -> browser get callback
-> browser set scroll mode (after callback, when get 4way key
input scroll function will do)

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

Change-Id: I954b179ad36107118c131ff1a6a850d84ec09343
Signed-off-by: wangjing <jing124.wang@samsung.com>
8 weeks ago[M120 Migration][NaCl][PPFWK]Remove unused directory for pepper plugin 83/308583/2
jinbei09 [Mon, 26 Feb 2024 07:09:09 +0000 (15:09 +0800)]
[M120 Migration][NaCl][PPFWK]Remove unused directory for pepper plugin

Ported from M108:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290686/

Change-Id: I6bc8e6ba7412c2e57a773fcd646edf48ea1ef6c1
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
8 weeks agofixup! [M120 Migration][NaCl][PPFWK] Upgradable pepper plugin requirement 00/308800/2 submit/tizen/20240402.160013
jinbei09 [Mon, 1 Apr 2024 07:41:44 +0000 (15:41 +0800)]
fixup! [M120 Migration][NaCl][PPFWK] Upgradable pepper plugin requirement

Fix the issue of not being able to read json files correctly

Change-Id: I4b94d7780de21a76d8db14b623aa93941f819910
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
8 weeks agoFix errors thrown due to platform libxml2 version upgrade from 2.11.5 -> 2.12.5 04/308804/7
Gajendra N [Mon, 1 Apr 2024 08:40:35 +0000 (14:10 +0530)]
Fix errors thrown due to platform libxml2 version upgrade from 2.11.5 -> 2.12.5

libxml 2.10.5 :
  typedef void (*xmlStructuredErrorFunc) (void *userData, xmlError *error);

libxml 2.12.5 :
  typedef void (*xmlStructuredErrorFunc) (void *userData, const xmlError *error);

Due to update in above func ptr signature, faced below error on blink side.

Error:
  [ 9063s] ../third_party/blink/renderer/core/xml/parser/xml_document_parser_scope.h:41:3:
    note: candidate constructor not viable: no known conversion from 'void (void *, xmlError *)' (aka 'void (void *, _xmlError *)')
      to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const _xmlError *)') for 3rd argument

Commit [1] enabled third_party/libxml, as QB build was throwing above error.
But due to unexpected crash on TERMS webview app, [1] is now partially reverted to
use system libxml2, and additional changes are done on Blink side to handle above error.

[1] 98565b6bd0df2aaa35f21f30f0bd81ed718b2cf5

Change-Id: I963a42fb3fd1f16d41aca5d85e38f18b626a9cbc
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
8 weeks ago[M120 Migration][WRTjs][VD] Change mouse feature about floating menu 41/308741/2
Chunling Ye [Fri, 29 Mar 2024 09:52:07 +0000 (17:52 +0800)]
[M120 Migration][WRTjs][VD] Change mouse feature about floating menu

If app not support mouse and set up floating menu false, not show
anything in system default support mouse products.

If app support mouse and set up floatign menu false, call win system
api to only not show floating menu.

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

Change-Id: Id162fd41c61322c1d664dd4b74d57b7fc5bc241d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
8 weeks ago[M120 Migration][VD] Fix url crash in RequestCertificateConfirm 87/308787/2
jingjieli [Mon, 1 Apr 2024 05:50:35 +0000 (13:50 +0800)]
[M120 Migration][VD] Fix url crash in RequestCertificateConfirm

The url in RequestCertificateConfirm is get from SSLErrorHandler
in SSLManager::OnCertErrorInternal, and SSLErrorHandler will be
released in certificate error callback.
That means after EWebViewCallbacks::RequestCertificateConfirm,
url can not be used. So copy it before free.

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

Change-Id: I4de8a4aeb70b3525f83f92808e1fa2db07f31af9
Signed-off-by: jingjieli <jingjie.li@samsung.com>
8 weeks ago[M120 Migration] Add willdraw logic for web app 56/308656/3
wangjing [Thu, 28 Mar 2024 10:14:52 +0000 (18:14 +0800)]
[M120 Migration] Add willdraw logic for web app

Use willdraw to commit wl_buffer to efl while rotation is done.

Add willdraw logic for off screen, only when rotation change, to
triggle the call back

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

Change-Id: If32c4c9d030a7b7a9a1a2fa6f180d6af2081d1d3
Signed-off-by: wangjing <jing124.wang@samsung.com>
8 weeks ago[M120 Migration][HBBTV] Set hbbtv-carousel as origin and Create local_storage 96/308596/5 submit/tizen/20240401.160015
fangfengrong [Wed, 27 Mar 2024 03:19:30 +0000 (11:19 +0800)]
[M120 Migration][HBBTV] Set hbbtv-carousel as origin and Create local_storage

This patch implements the below HbbTV specification change. The needs
to be a mechanism that will allow for the HbbTV engine to be able to
set the origin at page load time. It must *ONLY* set the origin and leave
the URL set to the "dvb://xxx.xxx.xxx.xxx/" part. All other components
not derived from the origin must stay the same.

This code will read the isolate embedders data and if it contains a
"hbbtv-carousel" url reply with that as the origin. The management of the
source data is managed by the HbbTV engine and it retains ownership of
the data buffer.

"6.3.2 Origin
 - For resources loaded via HTTP and HTTPS, the origin shall be as
   defined in clause 5.3 of the HTML5 Recommendation [54]. An HbbTV
   application shall not be considered a "privacy-sensitive" context
   for the purposes of clause 7.3 of RFC 6454 [25] and an Origin header
   shall be included in HTTP requests made on behalf of an HbbTV®
   application, and during the process of launching an HbbTV® application.
 - For resources loaded via DSM-CC object carousel, the origin shall be
   a URI of the form:
    "hbbtv-carousel" ":" "//" organisation_id ":" carousel_id where
    organisation_id is the organisation id associated with the
    currently-running broadcast related application, and carousel_id is
    the ID of the carousel from which the resource was loaded, both
    encoded in decimal with no leading zeros."

This leads to the resource url is different with the origin url.
Local Storage area is assigned according to the resource url.
Now assign it by "hbbtv-carousel" url to make two different HbbTV
applications whose linked with same window.location.origin
have common Local Storage.

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

Change-Id: Ic711c505912e5ff309d87e386f1e4c5fc55f6841
Signed-off-by: fangfengrong <fr.fang@samsung.com>
8 weeks ago[Plugin Hole] Fix plugin hole layer render issue 82/308482/2
Lizhi Fan [Tue, 26 Mar 2024 08:44:15 +0000 (16:44 +0800)]
[Plugin Hole] Fix plugin hole layer render issue

In M108 the glrender change to skiarender, need use the correct
skia blend mode for hole layer.

Change-Id: I8f42322bf82185c447f1e934a24c3e7ce2cdc87c
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
2 months ago[M120 Migration][VD] Modify samesite default value 65/308665/3
jiangyuwei [Thu, 28 Mar 2024 11:36:50 +0000 (19:36 +0800)]
[M120 Migration][VD] Modify samesite default value

M94 modified the default value of samesite to Lax,
some applications not follow the latest samesite spec.
Revert the upstream patches for modify samesite default
value firstly, then request applications to modify it.

Revert upstream patches:
https://chromium-review.googlesource.com/c/chromium/src/+/3059260
https://chromium-review.googlesource.com/c/chromium/src/+/3046782

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

Change-Id: Ief0323f22b9034cafd5ae7ad23ab12d8487e4a12
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
2 months ago[M120 Migration][VD] Use Arrow Scroll for WebBrowser 52/308552/3 submit/tizen/20240331.160015
wangjing [Wed, 27 Mar 2024 09:21:59 +0000 (17:21 +0800)]
[M120 Migration][VD] Use Arrow Scroll for WebBrowser

TV WebBrowser has a feature, use remote controller to do arrow scroll:
+ enter Key, ^ up key, v down key, > right key, < left key
         ^
         ^
       <<+>>
         v
         v
When the enter key is pressed, WebBrowser will be set to Direction Scroll Mode
if use arrow scroll feature is enabled and the web page is scrollable. And then
user can press up/down/left/right key on remote controller to scroll the web
page on different direction.

By default, TV WebBrowser capture key events and transfer
enter/up/down/left/right key events to mouse left button down/move events to
simulate the cursor's mouse down/move behaviors.

Add ewk_settings_uses_arrow_scroll_set / ewk_settings_uses_arrow_scroll_get
api to enable/disable this feature in web engine.

WebBrowser uses "run,arrow,scroll" smart callback to set the mode.

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

Change-Id: If15be0f144566f86efb3be812819c0a1cab4afb4
Signed-off-by: wangjing <jing124.wang@samsung.com>
2 months ago[M120 Migration] Fix SVACE issue 40/308740/2 submit/tizen/20240329.160015
Nikhil Shingne [Fri, 29 Mar 2024 09:43:13 +0000 (15:13 +0530)]
[M120 Migration] Fix SVACE issue

This fixes SVACE issue WID:57175412 Missing break at the end of case.

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

Change-Id: I3d095bf2a65a1332f67cc4ca513ceb477f7e1e11
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
2 months ago[M120 Migration] Fixing SVACE Issues 12/308712/4
Nikhil Shingne [Fri, 29 Mar 2024 06:07:05 +0000 (11:37 +0530)]
[M120 Migration] Fixing SVACE Issues

This patch fixes the DEREF_OF_NULL issue

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

Change-Id: I3c918d115107408cbebdae6db3b630cfaa8a4517
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
2 months ago[WRTjs][VD][PPFWK] Set window ID for share 85/308585/6
DongHyun Song [Thu, 28 Mar 2024 01:30:03 +0000 (10:30 +0900)]
[WRTjs][VD][PPFWK] Set window ID for share

WRT already get the wayland resource ID before SetWindowId.
So, EwkExtensionSystemDelegate::SetWindowId() don't need to work
same thing.
Getting wayland resource ID sometimes takes much time about 50~100ms
due to IPC with wayland server.

Change-Id: I9f6d2bc5faa1c82d3b1d84a4d90ea76f6ef08be8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 months ago[M120 Migration][HBBTV] Implement getStartDate interface 74/308674/4
zhishun.zhou [Thu, 28 Mar 2024 13:14:51 +0000 (21:14 +0800)]
[M120 Migration][HBBTV] Implement getStartDate interface

Support JS interface getStartDate(), that is used by HbbTV certification
for HTML5 video DASH tests.

Patch from:
https://review.tizen.org/gerrit/#/c/292999
https://review.tizen.org/gerrit/#/c/300457
https://review.tizen.org/gerrit/#/c/300758
https://review.tizen.org/gerrit/#/c/301571
https://review.tizen.org/gerrit/#/c/301776
https://review.tizen.org/gerrit/#/c/302497

Change-Id: Ic494eb1d8fac06a03c2004f53a02b0875b18e28b
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months ago[M120 Migration][VD] Remove OnParentViewResize in destruction. 05/308705/1 accepted/tizen/unified/20240329.230603 accepted/tizen/unified/x/20240401.013242 accepted/tizen/unified/x/20240401.142252
wangjing [Fri, 29 Mar 2024 05:27:24 +0000 (13:27 +0800)]
[M120 Migration][VD] Remove OnParentViewResize in destruction.

Remove OnParentViewResize in destrunction to avoid invalid
callback was called which will cause evas_gl error.

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

Change-Id: Ic0b8a426c557d645488971f0437bec548813d24f
Signed-off-by: wangjing <jing124.wang@samsung.com>
2 months agoThis patch combine three patch which is related to "--gcov" flag. 76/308676/2
Manjeet [Thu, 28 Mar 2024 14:30:00 +0000 (20:00 +0530)]
This patch combine three patch which is related to "--gcov" flag.

First patch provides an option to enable gcov for Tizen target and
change to build with gcc when given "--gcov" option.

In second patch we change "gcov" option value for SR QB
Refer to SR Tizen Build macro in [0].
The value of the variable should be "1" to enable gcov.

In third patch we change "gcov" option value in spec file
Change the value for SR QB

References:
https://review.tizen.org/gerrit/290776
https://review.tizen.org/gerrit/292688
https://review.tizen.org/gerrit/293899

Change-Id: Iccc9042fb4c4a373bdd1777b77e1b97d95651d03

2 months agofixup! [M108 Migration][API] Implement ewk_view_session_timeout_set internal API 55/308655/4
sidpaswan [Thu, 28 Mar 2024 10:05:35 +0000 (15:35 +0530)]
fixup! [M108 Migration][API] Implement ewk_view_session_timeout_set internal API

The crash observed was due introduction of CHECK failure in
To<LocalDOMWindow>(GetExecutionContext()) . The code has been
modified accordingly to bypass this check fail and also added
nullptr condition check for the same.

Change-Id: Id01d38092bb9d1badd9828286cb870403039fb9f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
2 months ago[M120 Migration][VD] Implement InterceptRequestCancelCallback 21/308521/2
fang fengrong [Wed, 27 Mar 2024 03:14:36 +0000 (11:14 +0800)]
[M120 Migration][VD] Implement InterceptRequestCancelCallback

1. Implement ewk_context_intercept_request_cancel_callback_set
2. Use scoped_refptr to manager lifecycle of _Ewk_Intercept_Request

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

Change-Id: I8b28f6059723a4bb8d78f6b789f2ced4ec900ba4
Signed-off-by: fang fengrong <fr.fang@samsung.com>
2 months agofixup! [M120 Migration] Build libchromium-impl.so with chrome implementation 71/308571/3
Chandan Padhi [Wed, 27 Mar 2024 14:14:47 +0000 (19:44 +0530)]
fixup! [M120 Migration] Build libchromium-impl.so with chrome implementation

This commit restores !build_chrome check that got removed in the parent
patch to fix desktop chrome build errors.

Change-Id: I474d226698695cd0a5b5e6d3193b114236b87e77
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 months ago[M120 Migration]URL of _Ewk_Error set wrong 49/308249/3 submit/tizen/20240328.160015
fang fengrong [Tue, 19 Mar 2024 08:50:47 +0000 (16:50 +0800)]
[M120 Migration]URL of _Ewk_Error set wrong

The url should be set as the third parameter of _Ewk_Error constructor.

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

Change-Id: Ic0ebe2a005083749afc4e28defd6d51e2cc7e59d
Signed-off-by: fang fengrong <fr.fang@samsung.com>
2 months ago[WRTjs][VD] Refactors to reduce IS_TIZEN_TV flag 17/308517/4
DongHyun Song [Wed, 27 Mar 2024 02:00:32 +0000 (11:00 +0900)]
[WRTjs][VD] Refactors to reduce IS_TIZEN_TV flag

Seperates WRTBrowserContextTV class to reduce IS_TIZEN_TV flag

Change-Id: I5a45a309541bebe7f6ce84e3d04066c3dc844ea6
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 months ago[M120 Migration][SVACE] Check stream before using 54/308554/3
zhishun.zhou [Wed, 27 Mar 2024 10:04:40 +0000 (18:04 +0800)]
[M120 Migration][SVACE] Check stream before using

Several issues reported crash as null check missing
Add stream check before using

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

Change-Id: I83328ff8bc530b15cd43aaa41ac477c553132bec
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months ago[M120 Migration][NaCl][PPFwk] Enable VD Trusted Plugins functionality 93/308293/3
jinbei09 [Mon, 18 Mar 2024 13:12:15 +0000 (21:12 +0800)]
[M120 Migration][NaCl][PPFwk] Enable VD Trusted Plugins functionality

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

Change-Id: Idd760f65428cade6f2efa9df96dd8e15871fe795
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
2 months ago[M120 Migration][VD][Accessibility] TV customization of accessibility 15/308415/4
jiangyuwei [Mon, 25 Mar 2024 07:13:55 +0000 (15:13 +0800)]
[M120 Migration][VD][Accessibility] TV customization of accessibility

1. TTS does not output for blur and focus on the same node

2. Ignore uncheck event for radio button

3. Do not emit children-changed::remove when subtree will be deleted

4. Avoid description and name completely same

5. Set focus ring color to blue on tizen TV

6. Show focus ring on tv browser

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

Change-Id: I183f4702cd43744f8f4bc7fb12a40bcdb74f2b7a
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
2 months ago[M120 Migration][VD] Add schemes for Tizen TV product 16/308516/2
fangfengrong [Wed, 27 Mar 2024 00:55:10 +0000 (08:55 +0800)]
[M120 Migration][VD] Add schemes for Tizen TV product

Fix hbbtv schemes don't call in IsURLHandledByNetworkService

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

Change-Id: I8e65d60c46e8d585642047661580147bf9e178eb
Signed-off-by: fangfengrong <fr.fang@samsung.com>
2 months ago[M120 Migration][MM] Ensure player is destroyed before IEMEDrmBridge 99/308499/3
zhishun.zhou [Tue, 26 Mar 2024 09:04:50 +0000 (17:04 +0800)]
[M120 Migration][MM] Ensure player is destroyed before IEMEDrmBridge

Issue:
when app use EME, chromium pass encrytped frame and key handle to MM,
and then MM decrypt frames.
When WebMediaPlayerImpl is destroyed, PipelineController::Stop will
destroy player by mojom IPC in browser process.
But IEMEDrmBridge is destroyed in render process.
If IEMEDrmBridge is destroyed before player, MM still use key handle to
decrypt, then it will crash.

Solution:
Use a sync IPC to ensure player is destroyed before IEMEDrmBridge

Patches from:
https://review.tizen.org/gerrit/#/c/299374/
https://review.tizen.org/gerrit/#/c/300392/
https://review.tizen.org/gerrit/#/c/302624/

Change-Id: I20b77e1c53d3dca685aaf0f355b3b8a149ccc056
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months ago[M120 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types 81/308481/2
fang fengrong [Tue, 26 Mar 2024 08:37:29 +0000 (16:37 +0800)]
[M120 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types

remove EWK_BRINGUP
add fixup code

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

Change-Id: Iedd44b169d45a2063d385649d7266c5947cfa689
Signed-off-by: fang fengrong <fr.fang@samsung.com>
2 months ago[M120 Migration] Implement rotation for Aura 62/308462/3 submit/tizen/20240327.160014
Jing Wang [Tue, 26 Mar 2024 03:13:14 +0000 (11:13 +0800)]
[M120 Migration] Implement rotation for Aura

Pass rotation information to make rotate working.

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

Change-Id: Ia2576c8521a7fc78330ac6630c6d6f9dcc3e1382
Signed-off-by: Jing Wang <jing124.wang@samsung.com>
2 months ago[M120 Migration] Introduces network loading API 76/308476/3
jiangyuwei [Tue, 26 Mar 2024 08:04:31 +0000 (16:04 +0800)]
[M120 Migration] Introduces network loading API

1. ewk_view_resume_network_loading
2. ewk_view_suspend_network_loading
3. Fix send mojo call issue on window.open case

The api called when webbrowser launched.

Reference:
 - https://review.tizen.org/gerrit/291318/
 - https://review.tizen.org/gerrit/297667/

Change-Id: I474c919975efbe0301d82acd1ce73cca9a3c797c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
2 months agoRemove EWK_BRINGUPS for M120 #3 78/307378/4
v-saha [Thu, 7 Mar 2024 11:40:40 +0000 (17:10 +0530)]
Remove EWK_BRINGUPS for M120 #3

This commit removes some EWK_BRINGUPs added during M120 upversion.

Change-Id: I5bbbf3a01b60563bb1a9fde662cf302824b39c47
Signed-off-by: v-saha <v.saha@samsung.com>
2 months agoFix autofill related crash/freeze issues 42/308342/4
Chandan Padhi [Thu, 21 Mar 2024 15:09:49 +0000 (20:39 +0530)]
Fix autofill related crash/freeze issues

Some of the websites using autofill such as pinterest.com, linkedin.com,
instagram.com, etc. crash/freeze at launch or on login.

As per the changes in upstream chromium at [1], empty form url will
result in CHECK failure. |url| in autofill::FormData was empty in M120
chromium-efl resulting in crash/freeze issues.

This commit sets the |url| for FormData to avoid CHECK failure.

[1] https://chromium-review.googlesource.com/4955825

Change-Id: Ib4582effbd001c52611b89f8206b7f2b256e6cfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 months ago[M120 Migration] Enable input picker for chrome 26/307826/6
Akshay Kanagali [Thu, 29 Feb 2024 07:44:09 +0000 (13:14 +0530)]
[M120 Migration] Enable input picker for chrome

1) Color Picker
2) Select Picker
3) Date Picker

This patch introduces runtime flag --use-internal-popup-menu
to switch between internal and external popup implementation
as per Browser preference.

Reference: https://review.tizen.org/gerrit/303101/
           https://review.tizen.org/gerrit/304039/
           https://review.tizen.org/gerrit/306960/

Change-Id: I2ae42054c90d9f33d46c479fd3ee8f5d36dc2667
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
2 months ago[M120 Migration][NaCl][PPFWK] Change plugin process name 72/308472/2
jinbei09 [Tue, 26 Mar 2024 07:23:06 +0000 (15:23 +0800)]
[M120 Migration][NaCl][PPFWK] Change plugin process name

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

Change-Id: I59ba9d24bcc42c721fa35ff05c5f204d3d1e4f47
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
2 months agofixup! Support gcc build for chromium-efl. 93/308193/3
venu.musham [Tue, 19 Mar 2024 08:38:50 +0000 (14:08 +0530)]
fixup! Support gcc build for chromium-efl.

Fix build warnings related to gcc build.

Change-Id: I00faab2082bd08db7c6a6769e98a262cb4cbbb33
Signed-off-by: venu.musham <venu.musham@samsung.com>
2 months ago[MM] Report BufferingState based on the actual buffering status. 07/308407/2
Sun-woo Nam [Fri, 8 Mar 2024 04:44:15 +0000 (20:44 -0800)]
[MM] Report BufferingState based on the actual buffering status.

Report BufferingState based on actual espp buffering status.
If it can play when buffered timestamp is 500ms greater than current timestamp
then report BUFFERING_HAVE_ENOUGH.
If current timestamp is greater than buffered timestamp or buffer is flushed
then report BUFFERING_HAVE_NOTHING.
Reporting BufferingState affects setting WebMediaPlayer::ReadyState.

Change-Id: Ice1a8a42a576d62b8b1e837847e5853dcd5156de
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
2 months agofixup! [M120 Migration] Selection & Context menu controller 43/307443/5
Manjeet [Fri, 8 Mar 2024 08:37:37 +0000 (14:07 +0530)]
fixup! [M120 Migration] Selection & Context menu controller

This patch avoids creation of additional menu runner from
views/directory, which is not needed for our browser and webapps,
since we have our own context menu.

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

Change-Id: Ied1282196c73fe6815af9184c3d4fcbffe643e47
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months ago[M120 Migration][XWalkExtension] Support IME in xwalk exension 65/308365/2 submit/tizen/20240326.160017
jinbei09 [Wed, 28 Feb 2024 09:48:13 +0000 (17:48 +0800)]
[M120 Migration][XWalkExtension] Support IME in xwalk exension

Due to the reason that pepper plugin will be converted to xwalk plugin
Samsung extended IME PPAPI can't be used. Need to provide IME function in
xwalk plugin.
Call Sequence:
(WRT)
sendRuntimeMessage(js) ->
WRTXWalkExtensionBrowserTV::HandleRuntimeMessageInternal ->
SetIMERecommendedWords/SetIMERecommendedWordsType

(HBBTV)
sendRuntimeMessage(js) ->
XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal ->
SetIMERecommendedWords/SetIMERecommendedWordsType

Support SetIMERecommendedWords and SetIMERecommendedWordsType

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

Change-Id: I3323c4f4b1800b651d941291930ce2ef65820805
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
(cherry picked from commit f567edbefd181c35e2452d9f14b8534b8882c477)

2 months ago[M120 Migration] Add new interface to forward message from mmplayer to hbbtv 36/308436/2
zhishun.zhou [Mon, 25 Mar 2024 12:24:07 +0000 (20:24 +0800)]
[M120 Migration] Add new interface to forward message from mmplayer to hbbtv

Support EWK notify interface:
  DECLARE_EWK_VIEW_CALLBACK(EVENTData, "update,event,data", void*);

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

Change-Id: I7359fd40029e1788fcca0a1c6aaccf0602744d12
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months agoFixup! [M120 Migration][MPEG-H][Hbbtv][MSE] Add proper demuxing for MPEG-H codec 08/308408/3
wuxiaoliang [Tue, 19 Mar 2024 07:14:29 +0000 (15:14 +0800)]
Fixup! [M120 Migration][MPEG-H][Hbbtv][MSE] Add proper demuxing for MPEG-H codec

patch 290424 is merged in tizen.beta, side data get method is changed,
and it just comment it for build.
now add the right method to fill side data.

Change-Id: I55e6036c9d227fdce0aa56cd5873bb6c9e515a8b
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
2 months ago[M120 Migration] Support HDR10+ property 68/308268/4
wuxiaoliang [Mon, 18 Mar 2024 08:24:57 +0000 (16:24 +0800)]
[M120 Migration] Support HDR10+ property

upstream remove side_data_size and add struct DecoderBufferSideData in this patch:
https://chromium-review.googlesource.com/c/chromium/src/+/4757645

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

Change-Id: I0abc0b4fdd7d708582eb9215710ceb51ea194a2d
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
2 months ago[M120 Migration] Add mouseout event 48/308248/3
fangfengrong [Fri, 15 Mar 2024 11:53:11 +0000 (19:53 +0800)]
[M120 Migration] Add mouseout event

On webbrowser internal page (featured, most-visited, Bookmarks, watch later),
when move mouse out of the webpage, the Blue Highlight remains in webpage.

It caused by no mouse out event being delivered to js.

So, keep same with M94, when receive the mouse out event callback from EFL,
create a standard mouse out event and deliver it to js.
refer:
https://review.tizen.org/gerrit/#/c/297166

Change-Id: Id27837f957b633b594a15def0e185c6138502ca4
Signed-off-by: fangfengrong <fr.fang@samsung.com>
2 months agoFixup![Gamepad]fix coredump when gamepad disconnect. 13/308413/2
Yu Yang [Thu, 21 Mar 2024 05:50:58 +0000 (13:50 +0800)]
Fixup![Gamepad]fix coredump when gamepad disconnect.

Gamepad connect/disconnect callback is invoked in mainthread,
and gamepad read is invoked in polling thread.
when gamepad disconnect,
OCIGamepadItem will be accessed in mainthread and polling thread,
mainthread destoring OCIGamepadItem while polling thread is still use it,
that could make crash.
solution:
Moving all handle of OCIGamepadItem to polling thread to avoid issue.

Change-Id: I3bfda2112ee78b9cf7a16ed2e92d091182a73bba
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
2 months agofixup! Enable autofill for desktop 21/308421/2 submit/tizen/20240325.160016
Chandan Padhi [Mon, 25 Mar 2024 07:48:34 +0000 (13:18 +0530)]
fixup! Enable autofill for desktop

Some of the changes got missed in the parent commit.

Change-Id: I58662590dff6a27dcf361031078b1c68b5f6187c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 months ago[M120 Migration][VD]add new log tag for http request and response log 56/308356/2
jingjieli [Fri, 22 Mar 2024 03:37:24 +0000 (11:37 +0800)]
[M120 Migration][VD]add new log tag for http request and response log

Log Tag, "CHROMIUM_NETWORK" is added to separate a http network log
from the log being printed with Log Tag, "CHROMIUM". It is to prevent
lots of log from being printed with Log Tag, "CHROMIUM"

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

Change-Id: I59a2f2d106be723ffc8c3165035f0dabd857baca
Signed-off-by: jingjieli <jingjie.li@samsung.com>
2 months ago[M120 Migration][VD] Add debug log for create new window process. 83/308383/2
feifei08.liu [Fri, 22 Mar 2024 10:45:49 +0000 (18:45 +0800)]
[M120 Migration][VD] Add debug log for create new window process.

Add some debug logs in window create process.
Sometimes window.open()/target="_blank" will
create a new window in app. Currently wrt not
support this situation. Add some logs for
locating similar issue in furture.

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

Change-Id: I15dba40f38522b42d5cda9eea0ecf406da111c1c
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
2 months ago[M120 Migration][WRTjs][VD] Use ps-agent mount for appzone enabled model 06/308406/5
DongHyun Song [Mon, 25 Mar 2024 00:41:40 +0000 (09:41 +0900)]
[M120 Migration][WRTjs][VD] Use ps-agent mount for appzone enabled model

direct mount's mount_namespace is changed when appzone container
is enabled.
Then, chromium initilization can be failed since mount point's
internal path cannot be accessible.

So, for the enterprise models, it will disable direct mount

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

Change-Id: I100c872832197578108232020bfe21627e6fe992
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
2 months ago[M120 Migration][WRTjs] Support NavigationPolicy on decide Navigation 73/307673/6
liwei90727 [Tue, 12 Mar 2024 06:38:36 +0000 (14:38 +0800)]
[M120 Migration][WRTjs] Support NavigationPolicy on decide Navigation

From M108, OnDecideNavigationPolicy() doesn't have logic for open media,
only logic related with NavigationPolicy.

Reference Patch
https://review.tizen.org/gerrit/271794/
https://review.tizen.org/gerrit/230348/

Change-Id: Id51431ea975a7625061f89a1589a9893bdd3a716
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
2 months ago[M120 Migration][VD][AX] Custom the focus event when setFocus to webview 61/308261/2
jiangyuwei [Tue, 19 Mar 2024 05:33:48 +0000 (13:33 +0800)]
[M120 Migration][VD][AX] Custom the focus event when setFocus to webview

Accessibility needs to be informed when system focus has moved
into the web area again even if focus did not change within WebCore;
And if there is no focus element, try move down to find one.

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

Change-Id: I2cc752397b14562e9beaca3ca107d73137750b02
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
2 months ago[M120 Migration][MM] Supporting ATMOS decoding & checking ATMOS decoding capability 29/308329/5
peng1xiao [Thu, 21 Mar 2024 09:31:08 +0000 (17:31 +0800)]
[M120 Migration][MM] Supporting ATMOS decoding & checking ATMOS decoding capability

- HDMI CEC API is deprecated.
- Audio controller API can check soundBar/TV/receiver's capability.

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

Change-Id: Ibf3813fe5f795fb472eebe2e3a6978951556c84c
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
2 months agofixup! [M120 Migration] Languages pak optimization 47/308347/2
Manjeet [Thu, 21 Mar 2024 15:58:09 +0000 (21:28 +0530)]
fixup! [M120 Migration] Languages pak optimization

This patch fixes the AssertionError[1] which occurs
while desktop build.

[1] undefined Grit variable found: is_tizen

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

Change-Id: I18eda849a0f4a0f5712d082d5f42ad6c85b0d125
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months agoUse third party libxml 84/308384/3 accepted/tizen/unified/20240325.141256 accepted/tizen/unified/x/20240325.120558 submit/tizen/20240322.160024
Chandan Padhi [Fri, 22 Mar 2024 11:51:30 +0000 (17:21 +0530)]
Use third party libxml

System libxml update results in build errors in QB.

Change-Id: I039ec4bd18a6842f8608b9e48d3bef73d2311f20
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 months agofixup! [M120 Migration] Add new api for webbrowser to get media device list 57/308357/2
zhishun.zhou [Fri, 22 Mar 2024 03:54:39 +0000 (11:54 +0800)]
fixup! [M120 Migration] Add new api for webbrowser to get media device list

Fix link error when build with "--build-chrome":
  ld.lld: error: undefined symbol: content::IsWebBrowser()
  ld.lld: error: undefined symbol: switches::kTizenAppId

Change-Id: Id100dd5deaa7bc1c0f8123c0b66b7db75e90ac19
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months ago[M120 Migration] Build libchromium-impl.so with chrome implementation 91/307791/11 accepted/tizen/unified/20240322.174254 submit/tizen/20240321.160014
Rohit Kumar [Wed, 20 Mar 2024 09:18:20 +0000 (14:48 +0530)]
[M120 Migration] Build libchromium-impl.so with chrome implementation

This patch builds libchromium-impl.so inlcude chrome implementation and
chrome_tizen as chrome main executable when |--build-chrome| option is
given.
Plus, gbs root and out directory are seperated.

Reference: https://review.tizen.org/gerrit/303499
   https://review.tizen.org/gerrit/306836
           https://review.tizen.org/gerrit/305200

Change-Id: Ie7718fa71ff361932e07eddb2651fcc7a4a3a6c2
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
2 months agofixup! Fix for Geolocation webTCT failures 69/308269/3
sidpaswan [Wed, 20 Mar 2024 13:43:20 +0000 (19:13 +0530)]
fixup! Fix for Geolocation webTCT failures

This patch set |position->accuracy| directly instead of
doing it through |position_ptr->get_position()->accuracy|

Change-Id: Id1db11d8f7f08b47339928a66a2aeac2822158d3
Signed-off-by: sidpaswan <s.paswan@samsung.com>
2 months agofixup! [M120 Migration][HBBTV] Merge track and subtitle related patches 91/308291/1
zhishun.zhou [Thu, 21 Mar 2024 03:48:44 +0000 (11:48 +0800)]
fixup! [M120 Migration][HBBTV] Merge track and subtitle related patches

Add missing files of inband_cue.h, inband_cue.cpp and inband_cue.idl

Change-Id: I0f767db3a50528ca9bff5605d310640fd9ef79b4
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months ago[M120 Migration][HBBTV] Merge track and subtitle related patches 59/308259/3
zhishun.zhou [Fri, 15 Mar 2024 11:10:37 +0000 (19:10 +0800)]
[M120 Migration][HBBTV] Merge track and subtitle related patches

1. Support subtitle notification feature:
   ewk interface:
     ewk_view_media_current_time_get
     ewk_settings_media_subtitle_notification_set
     ewk_settings_media_subtitle_notification_get
   ewk view callback:
     SubtitlePlay, SubtitlePause, SubtitleStop,
     SubtitleResume, SubtitleSeekStart,
     SubtitleSeekComplete, SubtitleNotifyData
2. Support track and subtitle interfaces
   ewk interface:
     ewk_media_set_subtitle_lang
   ewk view callback:
     FirstTimestamp,
     PESData

Patches from:
https://review.tizen.org/gerrit/#/c/292656/
https://review.tizen.org/gerrit/#/c/293447/
https://review.tizen.org/gerrit/#/c/293815/
https://review.tizen.org/gerrit/#/c/294812/
https://review.tizen.org/gerrit/#/c/300412/
https://review.tizen.org/gerrit/#/c/296871/
https://review.tizen.org/gerrit/#/c/301281/

Change-Id: Idd2374d50006c95ebcfa2d197df991376fda1acc
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
2 months agoFix for Geolocation webTCT failures 99/308199/10 accepted/tizen/unified/20240321.142342 accepted/tizen/unified/20240321.155942 submit/tizen/20240320.160012
sidpaswan [Tue, 19 Mar 2024 12:08:24 +0000 (17:38 +0530)]
Fix for Geolocation webTCT failures

In m120 with the addition of GeopositionResult class the Geoposition
object are now referenced via the GeopositionResult. This added layer
separates position and error occured instances from Geoposition object.
This patch implements this change for the geolocation calls.

Change-Id: I75e7e2a27e2793f60b6b93e13c4aea231cf8ead7
Signed-off-by: sidpaswan <s.paswan@samsung.com>
2 months ago[M120 Migration][VD] Increase buffer size of cmd line for child process 52/308252/1
jie [Mon, 18 Mar 2024 06:42:36 +0000 (14:42 +0800)]
[M120 Migration][VD] Increase buffer size of cmd line for child process

On TV product, kdbus connecting was failed because saved size of command
line in kernel and actual size were different. So we need to increase
buffer size of command line when zygote process is executed by execvp().
This patch appends dummy argument once calling execvp().

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

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

2 months agoRevert "[M120 Migration] Introduce network loading API" 47/308247/1
jiang yuwei [Wed, 20 Mar 2024 06:20:15 +0000 (06:20 +0000)]
Revert "[M120 Migration] Introduce network loading API"

This reverts commit 6ecd8f3596f465b794faaa7e7f8737dd7c8403b4.

Change-Id: I4f1e243b96469dbe0a5d33ddc32ea2c29110ad1a
(cherry picked from commit 21b3f98a4a1fbd0c3b468831163c639e9a6424a3)

2 months ago[PDNCF] Python 3.12 compatibility 69/308169/3 accepted/tizen/unified/20240320.151957
yh106.jung [Tue, 19 Mar 2024 03:39:56 +0000 (20:39 -0700)]
[PDNCF] Python 3.12 compatibility

This patch chery-picks upstream patches for Python 3.12 comaptibility
issue[1].

References:
https://chromium-review.googlesource.com/c/chromium/src/+/4976171 /
https://chromium-review.googlesource.com/c/chromium/src/+/4983816 /
https://chromium-review.googlesource.com/c/chromium/src/+/4988601 /
https://chromium-review.googlesource.com/c/chromium/src/+/5094673 /
https://chromium-review.googlesource.com/c/catapult/+/4979965 /
https://chromium-review.googlesource.com/c/catapult/+/5092950 /
https://chromium-review.googlesource.com/c/catapult/+/5092511 /

[1] https://issues.chromium.org/issues/40283283

Change-Id: Ic5d1ec7417c8db946201883329beb67ac474679b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
2 months agoUpdate code documentation for enum in EWK headers 96/308096/3
yh106.jung [Mon, 18 Mar 2024 03:24:11 +0000 (20:24 -0700)]
Update code documentation for enum in EWK headers

This patch updates the code documentation for enum in EWK headers
according to the rules below.

- enum name is unnecessary
- description begins with '/**<' and the first character is capitalized

Change-Id: I84e4a2e09dac42ceb74defe8e1d0ece37f16c38c
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
2 months ago[M120 Migration] Languages pak optimization. 75/307275/3
Manjeet [Wed, 6 Mar 2024 12:53:39 +0000 (18:23 +0530)]
[M120 Migration] Languages pak optimization.

Removed unwanted part file and messages strings to decrease
the size of the pak files. With the patch, the size of the
pak files in /usr/lib/chromium-efl/locales/ is decreased
from 9.6 to 9.0 MB.

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

Change-Id: I3d6d07bc452b73e2c19f675b6127baf25f452de9
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months ago[M120 Migration] Enable Scroll offset API 33/307733/2
Manjeet [Tue, 12 Mar 2024 17:51:56 +0000 (23:21 +0530)]
[M120 Migration] Enable Scroll offset API

Remove EWK_BRINGUP to make ewk_view_scroll_pos_get work.

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

Change-Id: Ia343bc64d4e5992124a54d9f77472d138060f84e
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months agoEnable autofill for desktop 70/308070/2
Chandan Padhi [Fri, 15 Mar 2024 11:53:39 +0000 (17:23 +0530)]
Enable autofill for desktop

This commit enables autofill for desktop build as well to debug related
issues on desktop itself.

Change-Id: I079669d01d99f3f72602ac7e9aacf0c08e53441c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
2 months ago[M120 Migration] Call the ctor of base class 53/307953/3
Manjeet [Thu, 14 Mar 2024 13:59:44 +0000 (19:29 +0530)]
[M120 Migration] Call the ctor of base class
in MediaPlayerRendererWebContentsObserver()

This patch calls the ctor of WebContentsObserver in
MediaPlayerRendererWebContentsObserver() to observe WebContents and
receive WebContentsDestroyed() call.

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

Change-Id: I58b7eef76b02a00cd11b0fbfa82a7a89b68f9cee
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months agofixup! [M120 Migration][WRTjs][VD] Fix camera permission denied issue 52/307952/3
Manjeet [Thu, 14 Mar 2024 13:19:12 +0000 (18:49 +0530)]
fixup! [M120 Migration][WRTjs][VD] Fix camera permission denied issue

Make permission manager commmon to all profile.

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

Change-Id: I82d7749f3645a17cb316176ff6504185c82f941d
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months ago[M120 Migration] Use make_unique for ScreenshotCapturedCallback creation 50/307950/4
Manjeet [Thu, 14 Mar 2024 12:39:35 +0000 (18:09 +0530)]
[M120 Migration] Use make_unique for ScreenshotCapturedCallback creation

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

Change-Id: I0125af6be8ee19800b7e0e7546cc34213654dfbe
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months ago[M120 Migration]Show the context menu immediately when there is no 49/307949/3
Manjeet [Thu, 14 Mar 2024 12:12:55 +0000 (17:42 +0530)]
[M120 Migration]Show the context menu immediately when there is no
selection controller.

This patch shows the context menu immediately when there is no selection
controller.

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

Change-Id: I30e1bd26462883d5a5ced7c372a6fb524bfcc332
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
2 months ago[M120 Migration] Fix coverity issue 33/307933/2
Manjeet [Thu, 14 Mar 2024 10:32:13 +0000 (16:02 +0530)]
[M120 Migration] Fix coverity issue

This patch combine two patches.
First patch will fix coverity issue for CID 1677057.
Second patch will fix couple of coverity issues for [WRTJS].

https://review.tizen.org/gerrit/291078/
https://review.tizen.org/gerrit/290957/

Change-Id: I7b7ee36f33afdac473f4533c2131c591a2fe69ba
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>