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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
xiaofang [Tue, 23 Aug 2022 08:00:14 +0000 (16:00 +0800)]
[M120 Migration] Set "background,music" initial value false
Migration from:
https://review.tizen.org/gerrit/271349
Change-Id: Id421b30c45e39d833803e2369ffdaa9eefbcb370
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 17:27:02 +0000 (01:27 +0800)]
[M120 Migration] Introduce network loading API
1. ewk_view_resume_network_loading
2. ewk_view_suspend_network_loading
The api called when webbrowser launched.
Reference:
- https://review.tizen.org/gerrit/291318/
Change-Id: I5776c62869e8c173cc4307e2a734e85b882b2c9f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Thu, 7 Mar 2024 00:37:33 +0000 (08:37 +0800)]
[M120 Migration][VD][Perf] Avoid waiting for sandbox status from zygote
to improve the browser launch time.
During initialization, the browser process wastes time waiting
until its zygote process is initialized.
The main reason for this synchronization is to avoid losing messages
between browser and zygote process.
browser does not need to wait for the synchronization before
sending messages, because messages are buffered on the zygote side
Reference:
- https://review.tizen.org/gerrit/300627/
Change-Id: I9b4f490387eabe77e341cb2e52a7b18bee9b5de7
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 23:46:57 +0000 (07:46 +0800)]
[M120 Migration][VD] Add process pool feature
Adds process pool feature for web runtime.
Reference:
- https://review.tizen.org/gerrit/290569/
Change-Id: I7723d74ff5080f478de2b12f0cbaa555fc01e437
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
wuxiaoliang [Wed, 6 Mar 2024 01:46:46 +0000 (09:46 +0800)]
[M120 Migration][MM] Support W3C EME
Add IEMEDrmBridge for encrypted stream.
single process -> espp decrypted stream
multiple process -> drm decrypted stream -> pass tz_handle to espp
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290566/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291049/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296545/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298081/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297184/
Change-Id: Ibb604997638c6ff330f33159a3ee777122767cbe
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
zhaosy [Wed, 6 Mar 2024 09:56:57 +0000 (17:56 +0800)]
[WRTjs] Fix build warning
Fix build warning
Change-Id: I53fa73ff611c8c4ff0bb366839999acb5bd610bc
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
DongHyun Song [Fri, 23 Feb 2024 09:56:44 +0000 (18:56 +0900)]
[XWalkExtension] Add window related interface for webapis
Add useful interface to handle window object for XWalkExtension
1) void* GetWindowObject()
- webapis can get the window object directly.
2) AddWindowEventListener(instance, callback)
- register event listener for visibilitychange, rotation
- event listner will be managed by instance ID
3) ClearWindowEventListener(instance)
- unregister event listener
- event listner will be managed by instance ID
4) SendKeyEvent(type, keycode)
5) SendMouseEvent(type, ...)
- webapi can send its key/mouse events to the web application.
- for example, TVWindow webapi can create Elm window for TV viewer,
then they can grap key/mouse events, to propagate the events, these
interface can be used.
6) GetMetadataValue(key)
- return metadata value with given metadata key.
Change-Id: I9f63acf0c7e569ce4adccc472a6cdc7084ef76e1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
fangfengrong [Wed, 6 Mar 2024 17:48:12 +0000 (01:48 +0800)]
[M120 Migration][IME][VD] Deduce focus attribute from RWHVAura in onscreen mode
Focus checks are done before handling text inputs. In offscreen
mode, |content_image_| is used, which is inexistant in onscreen
mode. This patch instead checks for focus from RWHVAura which
retrieves it from aura::window
refer:
https://review.tizen.org/gerrit/#/c/291112
Change-Id: Id84a2a365829f7e8533e4cc3dbad770242450e36
Signed-off-by: fangfengrong <fr.fang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 21:50:07 +0000 (05:50 +0800)]
[M120 Migration] Dummy Implementation for EWK APIs
ewk_check_chromium_ready
ewk_wait_chromium_ready
Change-Id: Iddb3f4afc1d1dfe7dcc606c62128774e568a557f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
yanqing.lu [Mon, 4 Mar 2024 08:17:26 +0000 (16:17 +0800)]
[M120 Migration] Support Comma Delimiter for isTypeSupported
most app use semi-colone to query format support.
eg: isTypeSupported("video/mp4; codecs=\"avc1.4d4015\"; width=426; height=240; framerate=30; bitrate=246887")
but some app use comma format.
eg: isTypeSupported("audio/mp4; codecs=\"ec-3\", channels=7.1, features=\"JOC\"")
it revert this patch to support comma format
https://chromium.googlesource.com/chromium/src.git/+/
15e2e8f54574ace251541c3b4589513e22131b85
Original Patch Title: change mode to get parameter of idTypeSupported
Migration from:
https://review.tizen.org/gerrit/290761
Change-Id: I0eed0ebb5e491cf67461e85bd5202f366272fc86
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
Manjeet [Tue, 5 Mar 2024 16:47:02 +0000 (22:17 +0530)]
[M120 Migration] Add --as-needed to Clang option
Remove Unused direct dependencies from libchromium-impl.so
Reference:
https://review.tizen.org/gerrit/291183
Change-Id: Ic2037a8bbb1af2192d28efdbd7877d8850799a10
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>