platform/framework/web/chromium-efl.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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)

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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)

7 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)

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 months ago[M120 Migration]Enabling some functions for OnScreen rendering mode 36/307836/6
Manjeet [Wed, 13 Mar 2024 12:30:27 +0000 (18:00 +0530)]
[M120 Migration]Enabling some functions for OnScreen rendering mode

Moving the following functions to common helper

MoveCaret
SetScaledContentSize
ConvertPointInViewPix
SetCustomViewportSize

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

Change-Id: Ie964d79ef9eb83ac64817f1e6a623a3c0cc67971
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months ago[M120 Migration][WRTJS] Fix JS modal popup failure 13/307713/5
Agnel C J Kurian [Tue, 12 Mar 2024 10:40:35 +0000 (16:10 +0530)]
[M120 Migration][WRTJS] Fix JS modal popup failure

In onscreen rendering mode, we send |window_| as evas to popup
instead of |view_| which tries to go higher up the hierarchy
resulting in null object. This change fixes that as per the
object received.

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

Change-Id: I03bf4d2d4554bb4b9945621d2920ed1feea3a26d
Signed-off-by: Agnel C J Kurian <agnel.kurian@partner.samsung.com>
7 months ago[M120 Migration] Fix vulnerability CVE issues 15/307515/6
nishitha [Mon, 11 Mar 2024 11:49:08 +0000 (17:19 +0530)]
[M120 Migration] Fix vulnerability CVE issues
[1] CVE-2016-9909 and CVE-2016-9910
[2] CVE-2013-7018
[3] CVE-2013-7009
[4] CVE-2020-35538
[5] CVE-2013-7012

References:
[1] https://review.tizen.org/gerrit/299094
[2] https://review.tizen.org/gerrit/299793
[3] https://review.tizen.org/gerrit/299790
[4] https://review.tizen.org/gerrit/299819
[5] https://review.tizen.org/gerrit/299801

Change-Id: I7e9d4121ad4b3d79322305add284ef6e9b6ed5e4
Signed-off-by: nishitha <n.saravanan@samsung.com>
7 months ago[WRTjs] Refactor popup 85/307885/6
zhaosy [Wed, 13 Mar 2024 06:02:23 +0000 (14:02 +0800)]
[WRTjs] Refactor popup

Separate tv feature from common popup

Change-Id: I689617cc36d4acf8bafe611a49f87c769063433e
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
7 months ago[M120 Migration][MM][WebRTC] Add encoded video capture type support 96/307996/2
peng.yin [Fri, 15 Mar 2024 01:21:47 +0000 (09:21 +0800)]
[M120 Migration][MM][WebRTC] Add encoded video capture type support

strip the encoded video capture type code from this patch:
https://review.tizen.org/gerrit/#/c/291285/

Change-Id: I188926e392a4eaa6e09eb1d01ee019f6eb464fc1
Signed-off-by: peng.yin <peng8.yin@samsung.com>
7 months ago[M120 Migration][Gamepad]Add gamepad event latency Test code 08/307408/5
Yu Yang [Fri, 8 Mar 2024 05:37:07 +0000 (13:37 +0800)]
[M120 Migration][Gamepad]Add gamepad event latency Test code

Merge patch from Tizen8.0:
https://review.tizen.org/gerrit/#/c/304615/
Dump gamepad event timestamp of browser and render side.

Change-Id: I8e75224297edbcddb5e1a9b8794f265676679dfb
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
7 months ago[Fixup]Fix accessory build error of "--build-chrome" 01/308101/1
Yu Yang [Mon, 18 Mar 2024 05:15:48 +0000 (13:15 +0800)]
[Fixup]Fix accessory build error of "--build-chrome"

Temporary disable accessory for --build-chrome,
will consider to move related code to tizen_src/chromium_imp folder

Change-Id: Ifc7096a9b0c110e42de0ccd74604c59bd40d94da
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
7 months ago[M120 Migration] Implement ewk_view_is_video_playing api 35/307835/4
yangzhiwen [Wed, 13 Mar 2024 12:22:15 +0000 (20:22 +0800)]
[M120 Migration] Implement ewk_view_is_video_playing api

The api used to set video to auto fullscreen on timeout
during idle situation(Timeout of 120sec or 2 hours).

If video is found to be in playing state, then video
is turned into fullscreen.

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

Change-Id: I644ec19401648a3efeba23b6802cca2cd16d31a8
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
7 months agoFix build on unified-X platform 33/307833/2 accepted/tizen/unified/20240315.155154 accepted/tizen/unified/x/20240315.081636 submit/tizen/20240314.160014
Daniil Ruban [Wed, 13 Mar 2024 11:57:27 +0000 (12:57 +0100)]
Fix build on unified-X platform

- Disable v8_enable_static_roots according to 'https://groups.google.com/g/v8-reviews/c/GIhTcy8qMe4?pli=1'
- Fix minor changes with std::move and lvalues in v8/src/base
- Move -fconcepts flag to 'cflags_cc' instead of 'cflags'

Change-Id: Ib82c8333750d86a0ccc3a01f95c13c9d5d4d5a2d
Signed-off-by: Daniil Ruban <intx82@gmail.com>
7 months ago[M120 Migration][VD] Add DemuxerUrl based stream support 71/307771/5
zhishun.zhou [Tue, 12 Mar 2024 12:23:01 +0000 (20:23 +0800)]
[M120 Migration][VD] Add DemuxerUrl based stream support

Issue: DASH stream playback failed.
Reason: DASH Stream(except HBBTV case) use espp on M108.
        But DASH is not supported by ffmepgdemuxer.
Solution: Same as previous tizen version.
        DASH stream and HLS Stream use capi-player.

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

Change-Id: I4f33ccc4dead4db7c14d99af751090e5e15af888
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
7 months agoFix: warnings in media/capture/filters 88/307088/2
Leonid [Mon, 4 Mar 2024 14:53:57 +0000 (15:53 +0100)]
Fix: warnings in media/capture/filters

Minor patch to speed-up compilation times and
 avoid potential undefined behaviors

Change-Id: I25834d8ea711df6f1d094deee39dd3e4c8faef48
Signed-off-by: Leonid <l.sawin@samsung.com>
7 months agoFix: SEGFAULT in UBROWSER_GUI_LEVEL_ALL 59/306859/3
Leonid [Wed, 28 Feb 2024 10:15:12 +0000 (11:15 +0100)]
Fix: SEGFAULT in UBROWSER_GUI_LEVEL_ALL

Rebasing previous change 300649 from tizen.riscv

Change-Id: I1a451fb87da5e45b9ffa3537cfce4f1eaa37dd66
Signed-off-by: Leonid <l.sawin@samsung.com>
7 months agoFix: crash on tumblr.com, navigating to any link on the page 65/306865/2
Leonid [Wed, 28 Feb 2024 10:32:42 +0000 (11:32 +0100)]
Fix: crash on tumblr.com, navigating to any link on the page

Rebasing previous change 301429

Change-Id: I7ded331469a505794b5796d8c09acce12a4b31d7
Signed-off-by: Leonid <l.sawin@samsung.com>
7 months ago[M120 Migration] Fix Coverity Potential Defects 22/307522/5
Manjeet [Mon, 11 Mar 2024 17:00:34 +0000 (22:30 +0530)]
[M120 Migration] Fix Coverity Potential Defects

The following patch fixes below coverity defects.

Warning Group Ids = 1660602, 1079960, 1080164,
1080413, 1080440, 1080471, 1081102, 1081228,
1081511, 1082036, 1083035, 1083228, 1629438,
1637057, 1660550, 1660602

Reference:
https://review.tizen.org/gerrit/294087
https://review.tizen.org/gerrit/294660
https://review.tizen.org/gerrit/293808

Change-Id: I8196bc6f8508ec235109949cf3f52f91e5459e4a
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months ago[M120 Migration] Remove hardcoded path of /opt/usr/apps inside bash 21/307521/3
Manjeet [Mon, 11 Mar 2024 16:40:17 +0000 (22:10 +0530)]
[M120 Migration] Remove hardcoded path of /opt/usr/apps inside bash
script tests_run

Currently tizen_src/ewk/tests_run script hardcodes path '/opt/usr/apps'.
Instead use tzplatform-get tool to get value of TZ_SYS_RW_APP which
returns the required path.

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

Change-Id: Ice8fd487063bab7e7de55ea77b998b1f10bcb238
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months ago[M120 Migration] Disable Trap Handler for 64-bit emulator 19/307519/3
Manjeet [Mon, 11 Mar 2024 15:41:23 +0000 (21:11 +0530)]
[M120 Migration] Disable Trap Handler for 64-bit emulator

The basic webapp crashes on 64-bit emulator for Tizen8.0 . The crash is
related to trap handler. This patch disables it.

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

Change-Id: If6d9d618998d0ff311443334e7d2c7bcd3a40a92
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months ago[M120 Migration] Support GLES 3.0 05/306605/7
utkarshlal [Fri, 23 Feb 2024 05:39:20 +0000 (11:09 +0530)]
[M120 Migration] Support GLES 3.0

Enabled GLES3.0 support for m120 Tizen profile.

Support is disabled for desktop profile.
In case of desktop build, 2.x version context is created.

Reference patch: https://review.tizen.org/gerrit/c/285983

Change-Id: I17d8a4b441c3e37811452e1e2f913719fb33dff3
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
7 months ago[M120 Migration] Implement hasEventListeners for Web Voice Touch 54/307754/2
jiangyuwei [Wed, 13 Mar 2024 00:51:49 +0000 (08:51 +0800)]
[M120 Migration] Implement hasEventListeners for Web Voice Touch

In order to support more elements in Web Voice Touch,
WebBrowser request new JS API for getting event listeners
attached to html element. So implemented the JS API:
bool hasEventListeners(const String eventType)

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

Change-Id: I077701f36eaf12f25161fda8b513127fa177533f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 months agoFix build warning in third party modules 02/307702/6
DongHyun Song [Tue, 12 Mar 2024 08:59:20 +0000 (17:59 +0900)]
Fix build warning in third party modules

Fix build warnings related to Tizen features in third party modules

Change-Id: I7a830f11889acf9d4cc675aabd18e9a0c439f535
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
7 months ago[M120 Migration][VD] Optimize debugging in log 61/307761/4
yangzhiwen [Wed, 13 Mar 2024 01:35:25 +0000 (09:35 +0800)]
[M120 Migration][VD] Optimize debugging in log

Add player id in logs.

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

Change-Id: Ib05a00ca6b1d147e8418b081f4b70aa6a9c7dfa0
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
7 months ago[M120 Migration][VD] Support usb keyboard special keys Wildcard Character 82/307482/3
fang fengrong [Mon, 11 Mar 2024 03:09:43 +0000 (11:09 +0800)]
[M120 Migration][VD] Support usb keyboard special keys Wildcard Character

Some website("office 365") need use the keycode to distinguish the keys.
But now the special keys haven't added on the map, the keycode is 0,
website can not distinguish the specail keys,
cause the keys which after these specail keys been lost when change line.

Add the usb keyboard keys "~!@#$%^&*()_+`-={}|[]\:";'<>?,./" on the
windows_key_codeFromEflKey  map.

Also covert " " to "space" key for avoid page scroll.

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

Change-Id: I5077b1238e0efaa929842ac6708df15bc2a0efe0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
7 months agoAdd support to build using Tizen-X repo 30/307730/3
Aleksander Świniarski [Tue, 12 Mar 2024 13:31:40 +0000 (14:31 +0100)]
Add support to build using Tizen-X repo

Commit introduces ability to build the chromium-efl on riscv64, x86_64, i586 and armv7l
architecture, using Tizen-X repos

* Added scripts of format tizen_src/build/build_x_{arch}.sh to quickly run builds for
specific architerctures using Tizen-X repository

* Added Tizen-X repo and profile to gbs.conf.in in form of tz_X*

* Added if switch in common.sh. When the platform is defined as base-X we are assigning
profile as tz_X

Change-Id: I92e80ce5efe353d849a5e0ff747f782ed91f7d9b
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
7 months agofixup! [M120 Migration] Notify media device state to webbrowser 94/307794/2
zhishun.zhou [Wed, 13 Mar 2024 06:23:51 +0000 (14:23 +0800)]
fixup! [M120 Migration] Notify media device state to webbrowser

Fix build error with flag "--build-chrome":
gen/media/mojo/mojom/audio_input_stream.mojom.h:151:16: note: unimplemented pure virtual method 'OnMediaStateChanged' in 'CapturedAudioInput'
[  340s]   151 |   virtual void OnMediaStateChanged(uint32_t previous, uint32_t current) = 0;

Change-Id: I2dcf7941f1f40e3ccd230a73bff10c030b1b3850
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
7 months ago[M120 Migration][MM] Framerate calculation 55/307755/3
wuxiaoliang [Tue, 12 Mar 2024 05:35:46 +0000 (13:35 +0800)]
[M120 Migration][MM] Framerate calculation

Migrated from:

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

Change-Id: Ib627bb501bcc64895ab93189c35507598106ac5b
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
7 months ago[M120 Migration][VD] Fix some focus issues for offscreen mode 05/307505/3
fang fengrong [Mon, 11 Mar 2024 09:21:44 +0000 (17:21 +0800)]
[M120 Migration][VD] Fix some focus issues for offscreen mode

1.focus can't move to webview with arrow key.
  In WebBrowser, create two or more tab pages. When switch to another tab,
  the arrow key can't move to web-page. because focus isnot sync to efl window.
2.The webview focus should been controled by app through ewk_view_set focus api,
  chromium should not set default focus.
3.on hbbtv, press any key no response, because of webview on focus out status.
4.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.
5.Add some log for debug.

refer:
https://review.tizen.org/gerrit/#/c/297117/
https://review.tizen.org/gerrit/#/c/297301/

Change-Id: Ia2677e488c26ced5a81ae5973fc91e7789877cf2
Signed-off-by: fang fengrong <fr.fang@samsung.com>
7 months ago[M120 Migration][VD] Fix window lost focus after dialog close 30/307530/3
fangfengrong [Tue, 12 Mar 2024 00:40:21 +0000 (08:40 +0800)]
[M120 Migration][VD] Fix window lost focus after dialog close

Here an issue:
When dialog show and hide, app only receive the window.blur event,
without the window.focus event.

when dialog show, chromium set Process blocked(IsIgnoringInputEvents is true);
when dialog hide, chromium reset Process block(IsIgnoringInputEvents is false);
Once app set focus before Process block reset, the focus will been blocked.

OnWindowFocused Function, only IgnoringInputEvents for gained_focus case,
don't IgnoringInputEvents for lost_focus case, it cause the blur event
been delivered to app, but the focus event don't.

Whenever dialog show, chromium ignores the input event to avoid dismissing dialog.
While app might forcefully set focus on webview even if dialog are being shown.
So don't check IgnoringInputEvents both for gained_focus and lost_focus.

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

Change-Id: Ia998518560b7816129518a51c779d728168d8190
Signed-off-by: fangfengrong <fr.fang@samsung.com>
7 months agoFeat: runtime profile override with getenv 85/306785/3
Leonid [Tue, 27 Feb 2024 12:05:39 +0000 (13:05 +0100)]
Feat: runtime profile override with getenv

Rebasing previous change 301607 from tizen.riscv

Change-Id: I411fa84ced46e5220c59e7b43e3bd7a840044dde
Signed-off-by: Leonid <l.sawin@samsung.com>
7 months ago[M120 Migration][MM] Handle live stream duration and currenttime 83/307683/3
zhishun.zhou [Tue, 12 Mar 2024 07:39:02 +0000 (15:39 +0800)]
[M120 Migration][MM] Handle live stream duration and currenttime

1. Because player_get_duration return a 0 duration value for live streams,
   special handling procedures are needed:
     For HLS stream, use player_get_adaptive_streaming_info;
     For Dash stream, use player_get_dash_info.
2. For live stream cases, in PlaybackCompleteCb, emit a ended event to media
   element to mark live playback completed.

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

Change-Id: Ib307ddf121b974785cf1dc9923d2f741cd715b1f
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
7 months ago[M120 Migration][VD] Remove accessing oom_score_adj in zygote process 97/307497/3
jiangyuwei [Mon, 11 Mar 2024 07:40:22 +0000 (15:40 +0800)]
[M120 Migration][VD] Remove accessing oom_score_adj in zygote process

To solve smack error, prevent to access /proc/pid/oom_score_adj in zygote process.
Moreover, even if we write oom_score_adj, kernel have denied it from Tizen2.4 platform.
So it is better to remove accessing it.

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

Change-Id: Ia22e5f2f8a85585c9a17a172089df9f527be34aa
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
7 months ago[M120 Migration][WRTjs][Service] Separate service app datas from WRTServiceManager 80/307480/2 accepted/tizen/unified/20240315.032948 submit/tizen/20240312.160013
Chunling Ye [Mon, 4 Mar 2024 10:05:13 +0000 (18:05 +0800)]
[M120 Migration][WRTjs][Service] Separate service app datas from WRTServiceManager

If many service apps been launched in same time, some abnormal
crash happen for multithread visit map safe issue.

To avoid this issue, now separate service app data maps from
WRTServiceManager.

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

Change-Id: I9aa04dfe1cc301f8ed1154e01e8604d4bceed42d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
7 months ago[M120 Migration][MM][HBBTV] Support Parental rating feature 35/307435/10
yangzhiwen [Fri, 8 Mar 2024 08:03:45 +0000 (16:03 +0800)]
[M120 Migration][MM][HBBTV] Support Parental rating feature

1.implement ewk api ewk_media_set_parental_rating_result.
2.implement ewk callback api "on,parentalrating,info".

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

Change-Id: If9727683890cddcdb8bfdabbd098d46eb773b4e7
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
7 months ago[M120 Migration][HBBTV] Forcing v8 context initialization if no <script> 29/307429/2
zhaodan [Fri, 8 Mar 2024 07:17:45 +0000 (15:17 +0800)]
[M120 Migration][HBBTV] Forcing v8 context initialization if no <script>

In some hbbtv test cases, there is no <script>. hbbtv v8 extension
could not be called. This patch forces v8 context initialization at
loading time.

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

Change-Id: Ifd81763460399ce86c6bf72e79d8868aa31837f6
Signed-off-by: zhaodan <danys.zhao@samsung.com>
7 months ago[M120 Migration]Fix IMContextEfl crash issue during app exit 90/307390/3
fangfengrong [Fri, 8 Mar 2024 03:46:16 +0000 (11:46 +0800)]
[M120 Migration]Fix IMContextEfl crash issue during app exit

During App exit, the RWHVAuraCommonHelperEfl destruction before the
IMContextEfl, after RWHVAuraCommonHelperEfl destruction, the rwh_helper_
of IMContextEfl been a wild pointers, once IMContextEfl use the rwh_helper_
wild pointers, it will cause crash.

On RWHVAuraCommonHelperEfl destruction, set the rwh_helper_ of IMContextEfl
to null to avoid crash.

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

Change-Id: Ife433c18d98ff0d4b39f310fafed89d03ee410ab
Signed-off-by: fangfengrong <fr.fang@samsung.com>
7 months ago[M120 Migration][HBBTV][MM] Support Preloading feature 30/307430/5
zhishun.zhou [Fri, 8 Mar 2024 07:37:34 +0000 (15:37 +0800)]
[M120 Migration][HBBTV][MM] Support Preloading feature

Add preload feature for Ligada ADINS tcs.
Which need high performance during video switch.

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

Change-Id: I7c64ff3b89be4b349f343a33f1fdf414f853e4d6
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
7 months agofixup! Support gcc build for chromium-efl. 11/307511/3
Chandan Padhi [Mon, 11 Mar 2024 10:17:21 +0000 (15:47 +0530)]
fixup! Support gcc build for chromium-efl.

This commit fixes desktop build error.

Change-Id: Id0bf427503103b0a1bba73186ee00aa0aee130f6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
7 months agoFix problem with missing target.txt for x86_64 build 18/307518/2
Aleksander Świniarski [Mon, 11 Mar 2024 14:30:56 +0000 (15:30 +0100)]
Fix problem with missing target.txt for x86_64 build

Commit fixes patch apparent in the x86_64 build. In
style_format.py we are trying to obtain the target from the
target.txt. For the x86_64 target.txt it is not created to
use statically linked nodejs.

Now in the style_format.py we will assume default target as
tizen. If we will found the target.txt file, then we will
read the target from it.

Change-Id: I48a99c3368e71b0c35f0846cb0f74ad2a11fee67
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
7 months agoSupport gcc build for aarch64. 96/307496/2
venu.musham [Mon, 11 Mar 2024 07:29:31 +0000 (12:59 +0530)]
Support gcc build for aarch64.

This commit provides fixes to aarch64 arm build to support
gcc build.

Change-Id: I2d51c36a4de12cebf831e76afdcc3134f57cdfb7
Signed-off-by: venu.musham <venu.musham@samsung.com>
7 months ago[M120 Migration] Skip flushAndSubmit sync call on gpu side for webgl 43/307143/8 submit/tizen/20240311.160013
uzair [Mon, 17 Apr 2023 03:00:14 +0000 (08:30 +0530)]
[M120 Migration] Skip flushAndSubmit sync call on gpu side for webgl

This commit enables flushAndSubmit sync call in gpu process for
all types of content excluding canvas and video which helps fixing
blackcsreen issues observed during alexa testing.

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

Change-Id: Id473d14e22bf8089e0017906e7b806ec215af595
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
7 months agoRemove unneeded lib dependency. 87/307487/2
YongGeol Jung [Tue, 5 Mar 2024 06:48:04 +0000 (22:48 -0800)]
Remove unneeded lib dependency.

|boost_system| library is not used in chromium and related dependency from
|wgt-manifest-handlers| is also removed.

Change-Id: I6feab2e921c816c8b588c7a0d6fc8c4d03b0c29b
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
7 months ago[M120 Migration] Fix build warning 51/307451/2
Manjeet [Fri, 8 Mar 2024 10:11:49 +0000 (15:41 +0530)]
[M120 Migration] Fix build warning

The following patch fixes a compilation warning [1] that
occurs during tv build.

[1] "warning: comparison of integers of different
signs: 'int' and 'unsigned int'"

The upper limit of unsigned int and int are different, so in
extreme cases where value of a variable falls in between the
upper limit of int and unsigned int, leads to an infinite loop.

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

Change-Id: I7921ffb6a949b7f9c522889e35c9cd9d48268b26
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months ago[M120 Migration] Remove EWK_BRINGUP from ContextMenuControllerEfl. 80/307280/2
Manjeet [Wed, 6 Mar 2024 19:13:13 +0000 (00:43 +0530)]
[M120 Migration] Remove EWK_BRINGUP from ContextMenuControllerEfl.

DownloadUrlParameters::set_referrer() was split into set_referrer() and
set_referrer_policy() by upstream.
So, this patch updates the code accordingly.

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

Change-Id: Ie665d9f1b971d5da2a89a2487efbec93970051cb
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months agoFix RiscV support - Rendering issue for armv7l 65/307465/2
Aleksander Świniarski [Fri, 8 Mar 2024 11:07:37 +0000 (12:07 +0100)]
Fix RiscV support - Rendering issue for armv7l

Commit fixes change introduced in RiscV support for M120.

On armv7l (built with ./tizen_src/build/build_standard_armv7l) the
lack of specialized template of SerializedSizeSimple() for size_t
caused rendering issue and usage of illegal instruction when
running chromium-efl for armv7l.

Specialization was originally commented out due to compliation error caused
by gcc bug that does not allow declaration of specialized template
outside of the namespace.

Now the specialization is introduced in template where it will
return appropriate value depending on the type of typename T

Change-Id: If713bd0c0d6c1a0ed91cc2f627c314a20471ceb7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
7 months agoFix build x86_64 and i586 76/307376/4
Daniil Ruban [Thu, 7 Mar 2024 12:06:05 +0000 (13:06 +0100)]
Fix build x86_64 and i586

* Removes constexpr in `v8/src/codegen/x64/assembler-x64.h` and `v8/src/wasm/baseline/x64/liftoff-assembler-x64-inl.h`

Change-Id: I5d50bdf03f544d25d111df83a99dfb10fb362d8d

7 months agofixup! [HOTFIX] Web app is crashing during exit 28/307428/3
uzair [Fri, 8 Mar 2024 07:34:46 +0000 (13:04 +0530)]
fixup! [HOTFIX] Web app is crashing during exit

Below change converts CHECK to DCHECK at required places
to fix random crashes in web apps on TV.

Change-Id: I2020d2b86eade133c4382fc85b0b65ca726d4450
Signed-off-by: uzair <uzair.jaleel@samsung.com>
7 months ago[M120 Migration][Canvas2D] Canvas performance. 74/306874/8
Manjeet [Wed, 28 Feb 2024 14:06:53 +0000 (19:36 +0530)]
[M120 Migration][Canvas2D] Canvas performance.

This commit combines below commits,
4174fa41750  Enable MSAA sample count for Canvas2D.
a3077ed5b97  Disable periodic flush for canvas.

Performance(TV):
Ubrowser CanvasMark
Before:24.3
After:25.6

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

Change-Id: Iea7060760bad7122dd5d5c8b948c96d5da8e73c5
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
7 months agoSupport gcc build for chromium-efl. 46/307146/9
venu.musham [Tue, 5 Mar 2024 09:30:52 +0000 (15:00 +0530)]
Support gcc build for chromium-efl.

Chromium no longer supports gcc build after enabling clang.
This commit supports gcc build.

$<build command> --gcc

Change-Id: Id5ef9fb5a112184ff9a57db9c63892e80eed26b8
Signed-off-by: venu.musham <venu.musham@samsung.com>
7 months agoFix node problems 73/307373/2
Daniil Ruban [Wed, 6 Mar 2024 05:39:33 +0000 (06:39 +0100)]
Fix node problems

* Rebuild node.js 16.13.2 into static binary to avoid dll-hell
* Fix behavior with missing target.txt
* x86_64 will use node from `third_party/node/linux/node-linux-x64/bin/node`
* other architectures will use `third_party/node/tizen/node`

Change-Id: I9f0c8c03ef4953e0b35c018749ca82c934bc687c
Signed-off-by: Daniil Ruban <intx82@gmail.com>
7 months ago[M120 Aura Migration][NaCl][Nacl Fwk] Remove unnecessary nacl toolchain directory 88/307188/3
wurc [Wed, 6 Mar 2024 02:03:19 +0000 (10:03 +0800)]
[M120 Aura Migration][NaCl][Nacl Fwk] Remove unnecessary nacl toolchain directory

Ported patch from M108 Aura:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/289156

Change-Id: Ia64ea69a13c4bd663ec56edf0bb89ac6195f5eba
Signed-off-by: wurc <rongchun.wu@samsung.com>
7 months ago[MM] Use the timer to decide operations according to buffering status. 07/307307/3
Sun-woo Nam [Thu, 7 Mar 2024 02:19:34 +0000 (18:19 -0800)]
[MM] Use the timer to decide operations according to buffering status.

Previously, PerformOperationForData was called in ReadBuffer which reads
a buffer from the demuxer. However, ReadBuffer may not be called depending on
the buffering status.
When actually determining an operation, it judges based on the current position
so there are cases that it does not work as intended.
Therefore, call the function periodically using a timer.

This fixes the patch below.
https://review.tizen.org/gerrit/#/c/305478/

Change-Id: I5c4ee665d52b02c609bef8a380d1aa05e5dfb577
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
7 months agoFix window.open() not working in webapp on RPi4 65/307165/5
sidpaswan [Tue, 5 Mar 2024 13:34:56 +0000 (19:04 +0530)]
Fix window.open() not working in webapp on RPi4

The view was not updating when Show() was called whenever
new window is launched. This patch fixes this issue by updating
the view everytime Show() is called and new view is shared back
to be overwritten over the previous view and now the tct behaviour
app works fine.

Change-Id: I0b9dc652612d7999f5f0539784e747cf6cb5205f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
7 months agoRemove EWK_BRINGUPS for M120 #2 83/307083/4
v-saha [Fri, 1 Mar 2024 12:30:55 +0000 (18:00 +0530)]
Remove EWK_BRINGUPS for M120 #2

This commit removes some EWK_BRINGUPs added during M120 upversion.

Change-Id: I9501206e5755a3b589c6ea59f82ad110d24dc3de
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M120 Migration] Support translated url 18/307218/6
yangzhiwen [Wed, 6 Mar 2024 05:52:16 +0000 (13:52 +0800)]
[M120 Migration] Support translated url

supports notify video playback state and set translated url API
support CASD url

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

Change-Id: Id661f1ea927d0338528f1fa3f6081efe9e6b0b24
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>