qiang.ji [Thu, 23 Mar 2023 02:17:01 +0000 (10:17 +0800)]
[M108 Migration][VD] Support floating video window
Support the new requirement of floating video window for WebBrowser.
- Provide an api of ewk_view_floating_window_state_changed.
Notify WebEngine the status that floating video window is on/off.
If floating video window existed, but not current webView,
For tabs switching case, in order to keep floating video window,
need to prevent media resume.
- Provide "notify,video,resized" for video rect notification.
WebEngine notify WebBrowser playing video dimension in normal webview
through which mini tab button is displayed at correct location on video.
- Appended the document url to the paramater of "video,playing,url".
In case video is playing inside an iframe, document URL provides
URL loaded in iFrame to identify which document is playing video.
- Allow to run the insecure content from localhost,
that are http://127.0.0.1 and http://localhost.
refs:
https://review.tizen.org/gerrit/283144/
Change-Id: I3c8c0f4c2279e4cadcba471250a2e6e1c67729c6
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
Suhaspoornachandra [Wed, 22 Mar 2023 14:10:21 +0000 (19:40 +0530)]
[M108 Aura Migration][WebRTC] Camera implementation related patches
- Enable network camera feature.
- Add remote camera and camera device manager API.
- Adapt the change of camera FW.
Including following patches:
https://review.tizen.org/gerrit/#/c/280505/
https://review.tizen.org/gerrit/#/c/272718/
Change-Id: Iba32024cf344e5eb6a4285bb9020229ccdd249d1
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
pengxia [Thu, 9 Mar 2023 06:46:03 +0000 (14:46 +0800)]
[M108 Aura Migration][NaCl][PPAPI] Fix crash related to Pepper Var object and ~VarTracker
Fix crash while releasing null Pepper Var object.
Fixed crash in ~VarTracker when VarDictionary is tracked.
Patch ported from M94:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280664/
Change-Id: Ia2a222dfa46ab7998b4f70bcb9656db327fd5d25
Signed-off-by: pengxia <pengxia.shen@samsung.com>
chenhuasheng [Wed, 15 Mar 2023 09:31:01 +0000 (17:31 +0800)]
[M108 Migration][API] Fix the webview transparency related API
Webview transparency was not applied in the below APIs.
ewk_view_draws_transparent_background_set
ewk_view_draws_transparent_background_get
ewk_view_bg_color_set
This patch implement ewk_view_bg_color_set to set the background color and
fixes that the application can set webview transparency using the above APIs
ref: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/270944/
Change-Id: I86a9d9791f1a00ef328e81859fc2048c21072539
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
pengxia [Fri, 17 Mar 2023 05:32:58 +0000 (13:32 +0800)]
[M108 Aura Migration][NaCl][PPFW] Fix memory leaks when reloading iframe
Leaks of PepperHelper class instances.
Class PepperHelper is created in
ContentRendererClientEfl::RenderFrameCreated
it should be deleted together with render frame for which was created.
Removal of RenderFrame is signalized by call to OnDestruct method.
In case of PepperHelper this method is empty.
This patch adds proper implementation of this method to avoid leak.
from 94 Aura Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280196/
Change-Id: I7aeaec172acab137e1e5d193a087de0248edaf23
Signed-off-by: pengxia <pengxia.shen@samsung.com>
Michal Jurkiewicz [Thu, 4 Mar 2021 10:27:39 +0000 (11:27 +0100)]
[M108 Migration][Build system] Fix desktop build break
Ported patch from tizen_7.0:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/273992
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Change-Id: Ibe04d0d760152080566638d6569705c5ee960e91
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Gajendra N [Tue, 21 Mar 2023 08:58:22 +0000 (14:28 +0530)]
[M108 Migration][Loading Performance] Add cache for mismatched SkTypeface
|matchFamilyName| is always called in |onLegacyCreateTypeface| to
match font. Because |SkTypeFaceCache| doesn't support for mismatched
typeface. |matchFamilyName| takes a long time (at least 1ms~).
This patch caches the mismatched SkTypeface and reduces the number of
|matchFamilyName| calls.
Hence, this patch improves loading performance.
Reference: https://review.tizen.org/gerrit/268117
Change-Id: Ie2697394c45affcb95d600f3faad84d39a06c6a3
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
wangjing [Tue, 21 Mar 2023 09:08:16 +0000 (17:08 +0800)]
[M108 Migration][API] Implement ewk_view_edge_scroll_by for all profiles
This function should be used for browser edge scroll.
Scrolls webpage of view by dx and dy.
"edge,scroll,left"
"edge,scroll,top"
"edge,scroll,bottom"
"edge,scroll,right"
reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/279660/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280265/
Change-Id: Ifb4644e75467d1be2c6207c3b2462465303252b7
Signed-off-by: wangjing <jing124.wang@samsung.com>
liuxd [Mon, 6 Mar 2023 06:00:19 +0000 (14:00 +0800)]
[M108 Migration][VD] Fix Fonts Issue
1.[VD] Fix special character and vowel signs of khmer(Thai,Myanmar) show boxes issue.
Currently,the HarfBuzz buffer of native app use
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS cluster level,
Chromium use default cluster level:
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES.
The difference between the two cluster level is like below:
when input special character and vowel signs of khmer(Thai,Myanmar)
(the special character which not included in the khmer(Thai,Myanmar)font):
MONOTONE_CHARACTERS level: two unicode will split two clusters
MONOTONE_GRAPHEMES level: two unicode will bind one cluster,
cause can't get valid glyph, and show boxes.
To keep same behaviour to native app,set the HarfBuzz buffer cluster
level to HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS.
Migrated from aura:
https://review.tizen.org/gerrit/#/c/282743
2.[VD] Perform fallback font for private use unicode
Private-use characters are most commonly used in East Asia, particularly
in Japan, China, and Korea, to extend the available characters in various
standards and vendor character sets.
Refer:
https://www.unicode.org/faq/private_use.html
On VD, Private-use characters are been used, need perform fallback font for it,
or else will cause can not show the correct glyph, but showed as a box.
refer:
https://review.tizen.org/gerrit/#/c/286928
Change-Id: Idc62e49117f676b90bd1ea9867afb8197f003c39
Signed-off-by: liuxd <xd123.liu@samsung.com>
Chandan Padhi [Wed, 22 Mar 2023 16:33:18 +0000 (22:03 +0530)]
[MemOpt] Disable JPEG XL image decoding
This commit reduces libchromium-impl.so size by ~0.38MB.
out.tz_v7.0.PontusM.armv7l/libchromium-impl.so size in bytes:
w/o patch:
166863652
with patch:
166483208
Change-Id: I7bf80c7b6859afeaa61a0f6887652fce84ffd739
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Gajendra N [Tue, 21 Mar 2023 08:49:36 +0000 (14:19 +0530)]
[M108 Migration][Loading Performance] Introduce |BeginMainFrame| throttling
Delaying posting a task |BeginMainFrame| means several tasks can be
deferred such as recording, rasterization and compositing. It can be
delayed for 0.1 sec. This will improve loading performance by renderer
process focus on loading.
Reference : https://review.tizen.org/gerrit/268908
Change-Id: I61c5e1b87e1b69604d5f2987199bda01e69a81c3
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Gajendra N [Tue, 21 Mar 2023 08:56:25 +0000 (14:26 +0530)]
[M108 Migration][Loading Performance] Apply to prevent incremental image rendering
Do not request image rendering when image resource is loading for page loading
performance. This patch is written referring to tizen 2.4 webkit's code.
Reference: https://review.tizen.org/gerrit/268835
Change-Id: Ifc46153667dc5af8d782c890335d32ae9ae44035
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Sun-woo Nam [Wed, 31 Aug 2022 04:23:24 +0000 (21:23 -0700)]
[M108 Migration] Remove unapproved API from the public header.
This patch removes |ewk_view_set_support_video_hole| from the public header.
Reference: https://review.tizen.org/gerrit/#/c/280503/
Change-Id: I58fb2e62fee421e548a9e1b7b108c186546a197a
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Wed, 22 Mar 2023 07:20:37 +0000 (12:50 +0530)]
[M108 Migration] ImageCapture support for video capture device.
- ImageCapture support for video capture device.
- Don't expose CAPI camera handle.
- Re-select Camera Preview Format.
Migrated from:
https://review.tizen.org/gerrit/#/c/279886/
Change-Id: I31470b8471ddef942655df59d2202237bd1ab863
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
DongHyun Song [Tue, 21 Mar 2023 04:07:58 +0000 (13:07 +0900)]
Binding XWalkExtension for Efl classes
XWalkExtension will be common component for EWK based runtime, not
only WRT.
XWalkExtension will be applied if xwalk-extension-json-path is
defined by runtime side.
This work proceeds in the following steps:
1) Remove WRT dependency and apply delegations
https://review.tizen.org/gerrit/287731/
2) Move files to tizen_src and build integration
https://review.tizen.org/gerrit/289970/
3) Binding XWalkExtension for Efl classes <------- current
4) Introduce interfaces to enable XWalkExtensions
Change-Id: I70f9b9026a08d3b185b05a19a6df3fa2b6b82791
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
DongHyun Song [Mon, 20 Mar 2023 07:52:21 +0000 (16:52 +0900)]
[WRTjs] Block new thread creation while prepare app
While handles security_manager_prepare_app(), if new thread is
spawned by ThreadPoolService. Then smack error is happened from
security_manager_prepare_app(), which validates smack labeling of
threads because the spawned new thread has still System::Privileged.
PlatformThread::BlockThreading() will block CreateThread() until
security_manager_prepare_app() done.
This is alternative solution of self smack labeling, which is deleted
from m108.
Change-Id: Idfefe542904c7fbed89ee6ae0b98b6dede28a052
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
weijun [Wed, 22 Mar 2023 01:56:20 +0000 (09:56 +0800)]
[M108 Aura Migration][NaCl][W3C][Gamepad]Support gamepad w3c apis
Ported patches from tizen_7.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/281296/
Change-Id: Ifeaa6a9d4dbf57be3f639076c6ae719e519365db
Signed-off-by: weijun <weijun5.lin@samsung.com>
DongHyun Song [Wed, 22 Mar 2023 05:26:48 +0000 (14:26 +0900)]
[M108 Migration][WRTjs][VD] Add more webapis so for preloading
Adds more frequent used so files for preloading.
Reference:
https://review.tizen.org/gerrit/290256/
Change-Id: If7e0e29c515a0b557fb1d0d7bed0e97bd9e3a06d
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Surya Kumar [Wed, 22 Mar 2023 09:12:26 +0000 (14:42 +0530)]
[M108 Migration] Segregate RWHVAuraOffscreenHelperEfl for both rendering modes
1. This patch segregates existing common functionalities in RWHVAuraOffscreenHelperEfl
so it can be used during both onscreen & offscreen rendering modes
2. Added safety checks before using offscreen_helper in non offscreen
rendering mode
3. Suppressed several build time warnings
Reference: https://review.tizen.org/gerrit/285132
Change-Id: I4922a60b2b9504a4c7c62b6f3a9c858cb385eafb
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
Sun-woo Nam [Wed, 22 Mar 2023 04:41:57 +0000 (21:41 -0700)]
[M108 Migration][MM] Seperate MediaPlayerESPlusPlayer class for TV.
Creates MediaPlayerESPlusPlayerTV to locate TV-specific codes for esplusplayer.
And dummy functions for migration has been crated.
Also, extract some functions in MediaPlayerESPlusPlayer for this job.
Codes for TV are expected to be implemented only on MediaPlayerESPlusPlayerTV.
Reference:
https://review.tizen.org/gerrit/#/c/287579/ (partially)
https://review.tizen.org/gerrit/#/c/288181/
https://review.tizen.org/gerrit/#/c/288297/ (partially)
Change-Id: I26a09ecc96d105128bfac58e3eefa3b0fe64c75c
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Venugopal S M [Wed, 22 Mar 2023 10:47:13 +0000 (16:17 +0530)]
fixup! [M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode.
Fix SVACE: 536421
Uninitialized data is read from local variable.
Change-Id: I00650af74d54b44d00a0c4cf1daf3656859469ad
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
v-saha [Tue, 21 Mar 2023 10:11:30 +0000 (15:41 +0530)]
Fix SVACE issue
This patch fixes some critical and major SVACE issues.
Reference: https://review.tizen.org/gerrit/270771
Change-Id: Id233b87b29072a7138b0294ae3336e0c1a1af4c2
Signed-off-by: v-saha <v.saha@samsung.com>
Chandan Padhi [Wed, 22 Mar 2023 08:48:03 +0000 (14:18 +0530)]
[M108 Migration] Use |spawn| option for starting subprocesses.
The program which uses multiprocessing pool library of Python3 could be stuck.
|spawn| option is used to prevent potential hang problem.
References:
https://bugs.python.org/issue40379
https://review.tizen.org/gerrit/280439/
Change-Id: I3e3d7618b9bb3eba954456cfb51bed601480fb91
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 21 Mar 2023 15:46:20 +0000 (21:16 +0530)]
[MemOpt] Disable print preview and out-of-process printing
This commit reduces libchromium-impl.so size by ~2MB.
out.tz_v7.0.PontusM.armv7l/libchromium-impl.so size:
w/o patch: 162M
with patch: 160M
Change-Id: I61ebbffdf40b9d978ff6798b33a899597a0d7c0a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 22 Mar 2023 06:43:14 +0000 (12:13 +0530)]
fixup! [M108 Migration] Support standard build for armv7hl architecture
This commit adds python acceleration for armv7hl.
Change-Id: Ia6f6ab6584d2b0ddf55f881a6daf02d4b9a27d32
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Xiaoshu Wei [Tue, 21 Mar 2023 03:14:51 +0000 (11:14 +0800)]
[M108 Aura Migration][NaCl][PPAPI]Fix up TCP socket issue
Ported patches from tizen 7.0:
https://review.tizen.org/gerrit/#/c/280693/
Change-Id: I2f32b2c70848f1abf5e6b6cff47ba998d440cffa
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
Xiaoshu Wei [Mon, 20 Mar 2023 03:44:35 +0000 (11:44 +0800)]
[M108 Aura Migration][NaCl][PPFWK]Fix tpk loading fail issue
After reboot tv, install tpk and launch web app, the tpk will load fail.
This is related to the plugins in the TrustedPepperPluginInfoCache and
ppapi_plugins_ is not sync.
When not found plugin in ppapi_plugins_, add logic to continue find in
TrustedPepperPluginInfoCache. If found, then add it in ppapi_plugins_.
Jira task:
http://jira.vd.sec.samsung.net/browse/WEBSRCN-3287
Ported from Tizen7.0:
https://review.tizen.org/gerrit/#/c/284044/
https://review.tizen.org/gerrit/#/c/284307/
Change-Id: I0e739cff834e3903e37feaaf8e6f3fd91aea6e43
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
Sun-woo Nam [Tue, 21 Mar 2023 09:10:01 +0000 (02:10 -0700)]
Use BUILDFLAG(IS_XXX) for OS checking.
This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
Below tizen build flags are replaced:
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV
Reference:
https://review.tizen.org/gerrit/#/c/289482/
Change-Id: I59e6c9081cf68b4f9f40a42850785167ab3549d4
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Tue, 21 Mar 2023 09:04:19 +0000 (02:04 -0700)]
[M108 Migration][MM] Clean codes in esplusplayer_util.
It improves readability and reduces unnecessary compiles and errors.
1. Grouping together return values with the same value in a switch statement.
2. Use gfx::Size instead of using width and height separately.
3. Change const to constexpr for performance.
Reference:
https://review.tizen.org/gerrit/#/c/287778/
Change-Id: Ied8dbfcdab4df0112c64cbf7d457be3d59918652
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
DongHyun Song [Tue, 21 Mar 2023 08:39:52 +0000 (17:39 +0900)]
[WRTjs] Fix build error while copying plugins json
Base path should be also modified as xwalk_extension directory.
Change-Id: Icc9f694e08aefce36b423e001c1aee8c8d33b2bc
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
uzair [Tue, 21 Mar 2023 04:39:00 +0000 (10:09 +0530)]
Ignore not needed directories to reduce source code size
Below change is needed to reduce the size of chromium-efl-1.1.108.tar.gz
file to less than 4GB for i586 architecture build to succeed.
Change-Id: Ia834e52eacaa2a27419d123fabc01f6fab593cd5
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Chandan Padhi [Tue, 21 Mar 2023 07:32:58 +0000 (13:02 +0530)]
[SlimDownCode] Remove //build/linux/debian* files
Change-Id: Iac620c3d4579fcfd845f8a1a94caab0180b55b07
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
wangjing [Mon, 13 Mar 2023 02:36:34 +0000 (10:36 +0800)]
[M108 Migration] Change the Web Page scroll interval using the Keyboard 4 direction key
It's the requirement from WebBrowser:
There is no feeling of scrolling quickly by the keyboard 4 direction key.
This part is probably the acceleration effect when 4 direction key is input by keyboard.
Please change the Web Page scroll interval using the Keyboard 4 direction key.
Need change the kPixelsPerLineStep from 40px to 140px
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/285465/
Change-Id: I00fe3bad46e938d351ce5eb42a1c56be00369d2a
Signed-off-by: wangjing <jing124.wang@samsung.com>
Xiaoshu Wei [Tue, 21 Mar 2023 01:37:47 +0000 (09:37 +0800)]
[M108 Aura Migration][NaCl][PPAPI] Antialiasing for NaCl Graphics 3D
Ported patches from tizen_7.0:
https://review.tizen.org/gerrit/#/c/280801/
Change-Id: I3713a56fabe70624ada8fff8f9e428dd18defe33
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
Sun-woo Nam [Fri, 17 Mar 2023 09:27:41 +0000 (02:27 -0700)]
[MM] Fix the issue that video hole is not enabled.
Do not use a separate mojo api, set video hole in the WebPreference
and deliver it.
This prevents a timing issue that disable video hole by setting up
WebPreference after SetVideoHoleForRender is called.
Change-Id: I62ca31c12a3628f2424f13bee49c3577f8105359
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Suhaspoornachandra [Fri, 17 Mar 2023 15:47:44 +0000 (21:17 +0530)]
[M108 Migration][MM] Support suspend and resume using MediaCapabilityManager.
This patch refers to M94-Aura patch.
https://review.tizen.org/gerrit/#/c/286214/
1. MediaCapabilityManager handles suspend and resume in chromium
to manage resource conflict caused by multiple players.
2. To use MediaCapabilityManager, renderer is not removed when suspended.
3. Support suspend and resume for the case of switching tab.
Change-Id: Ic3c5909cb91f2ca3a17bc5693ee6d40643826ad0
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
DongHyun Song [Thu, 16 Mar 2023 08:13:47 +0000 (17:13 +0900)]
[WRTjs] Move xwalk_extenions to tizen_src
XWalkExtension will be common component for EWK based runtime, not
only WRT.
This work proceeds in the following steps:
1) Remove WRT dependency and apply delegations
https://review.tizen.org/gerrit/287731/
2) Move files to tizen_src and build integration <--- current
3) Binding XWalkExtension for Efl classes
4) Introduce interfaces to enable XWalkExtensions
Change-Id: I4536a667bae58b5977ff86a6097f93214748b4e2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Venugopal S M [Mon, 20 Mar 2023 09:38:55 +0000 (15:08 +0530)]
fixup! [MM] Use ESPP for media rendering
Removed duplicate condition.
Change-Id: Iebd55a9c63471b9d56c0589a8776a3df2a582b5b
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Ayush Kumar [Mon, 20 Mar 2023 09:51:13 +0000 (15:21 +0530)]
fixup! [M108 Migration] Enable proper functionality for ewk_view_text_selection_clear API
This patch fixes the native tct case ewk_view_text_selection_clear_p.
Change-Id: I8372bbf89cfaf7dfd6502b86bf672937b76f6a73
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Ayush Kumar [Thu, 16 Mar 2023 10:28:59 +0000 (15:58 +0530)]
Fix critical SVACE issue
This patch fixes some critical SVACE issues.
Change-Id: I2416406a949794838d09dfe0d073a2cd8212d0f9
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
jingjieli [Fri, 10 Mar 2023 04:32:46 +0000 (12:32 +0800)]
[M108 Migration][VD] Support Root/Client/webSDI/Dynamic Certificate
- Introduce WebSDI and Mutual Authenticate Feature.
- Add Dynamic Certificate Feature.
- Refactoring root Certificate & WRT client Certificate.
- Remove duplicate functions of certificate loading.
- Refactoring the client certificate selection code for WRT.
- Change the kDefaultCertPublic path and kDefaultCertPrivate.
- DefaultClientCert path setting based on Tizen version
This patch is migrated from Tizen7.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/281524/
Change-Id: Ic401ea8f94d02b2f7b7d9d383bc03c99092d9bf7
Signed-off-by: jingjieli <jingjie.li@samsung.com>
Gajendra N [Mon, 20 Mar 2023 06:57:30 +0000 (12:27 +0530)]
fixup! Bringup Upgradable Web Engine (UWE)
Due to misordering of spec sections in the original patch, smack
rules were not applied to wrt-service executable before creating
squashfs img. This commit fixes it.
Change-Id: I10cd22e2f92791c6dff2f083ff426f58a31d621e
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Sun-woo Nam [Wed, 29 Jun 2022 13:24:11 +0000 (18:54 +0530)]
[M108 Migration][MM] Enable AV1, VP9 and HEVC codec for 4k video support.
This patch enables below patch for 4k support of AV1 and HEVC codecs.
Reference:
https://review.tizen.org/gerrit/#/c/277038/
Change-Id: I9d53ecddedb74cef5065da8ef3eb60b6335641f3
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
v-saha [Fri, 17 Mar 2023 13:09:49 +0000 (18:39 +0530)]
Fix critical SVACE issue
This patch fixes remaining critical SVACE issues.
Reference: https://review.tizen.org/gerrit/271860
Change-Id: I1c26067e382d40c83b8d722088b20b7bea78714c
Signed-off-by: v-saha <v.saha@samsung.com>
Xiaoshu Wei [Mon, 20 Mar 2023 01:05:00 +0000 (09:05 +0800)]
[M108 Aura Migration][NaCl][PPFWK] Upgradable pepper plugin requirement
Migrated from tizen 7.0:
https://review.tizen.org/gerrit/#/c/280176/
Change-Id: Iaec1fb79816bfb031e855fb87272baa142e9aba5
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
YongGeol Jung [Fri, 17 Mar 2023 06:41:23 +0000 (23:41 -0700)]
fixup! [NUI] NUI implementation for |SkiaRenderer|
Support 64bit environment.
Change-Id: I658ba1fab865c6b39b137a8d5a39f3b6a36728a8
jingjieli [Mon, 13 Mar 2023 09:13:31 +0000 (17:13 +0800)]
[M108 Migration][VD] Implement mixed contents EWK interfaces
1. When the page was loaded over https, but attemped to connect to
the insecure http resource. The callback will be invoked to ask
browser to confirm it.
2. Add new EWK interfaces:
Send "did,block,insecure,content" to notify browser.
ewk_settings_mixed_contents_reply_set to set "allow/deny" to blink
3. Implement ewk_settings_default_mixed_contents_policy_set
Refrences:
https://review.tizen.org/gerrit/#/c/279551/
https://review.tizen.org/gerrit/#/c/289527/
https://review.tizen.org/gerrit/#/c/289413/
Change-Id: Ic512e076c71a9909ac91bb67add2a3606d0c9d8a
Signed-off-by: jingjieli <jingjie.li@samsung.com>
uzair [Fri, 10 Mar 2023 10:03:58 +0000 (15:33 +0530)]
Removing not needed tools for tizen
Below tools are specific to android and windows platform and
not used tizen. Hence removing this reduces source code size by
~65MB.
Change-Id: I158e633af6d84c0cc72d34a6562dfd1267d00d3b
Signed-off-by: uzair <uzair.jaleel@samsung.com>
uzair [Wed, 15 Mar 2023 11:09:45 +0000 (16:39 +0530)]
Ensure all gl calls are submitted to GPU
Black screen is observed on static pages as all gl calls
were not submitted to graphics driver, below change helps
fixing the same.
Also improves benchmark scores on TV
+------------------+-------------+------------+
| KPI | Before | After |
+------------------+--------------------------+
| Aquarium | 50 fps | 60 fps |
+------------------+-------------+------------+
| Falling Leaves | Not Smooth | 60 fps |
+------------------+-------------+------------+
| Poster Circle | Not Smooth | 60 fps |
+------------------+-------------+------------+
Change-Id: I3df6bead0d7a0817c8dfd5ac4e2836a00fc49580
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Uzair Jaleel [Fri, 17 Mar 2023 05:36:12 +0000 (05:36 +0000)]
Revert "[Offscreen] Fix for black screen on static pages"
This reverts commit
7331a884d7f18045402cff3a470c6b8cfdc0313d.
Reason for revert: This change is not needed anymore as we
are able to meet the webgl Aquarium benchmark and also black
screen on static pages is not observed with [1]
[1]https://review.tizen.org/gerrit/c/289922
Change-Id: I794be4ad43df546e5ecc3f747ca33037707080f4
feifei08.liu [Tue, 7 Mar 2023 03:18:31 +0000 (11:18 +0800)]
[M108 Migration][VD] Fix filesystem Cannot Used in Source of iframe.
Pages come from filesystem cannot used in source of iframe, because the policy
of navigation stop it. In Tizen TV, Apps use filesystem to save the page is
safe, which should not stop to navigate it.
Reference:
- https://review.tizen.org/gerrit/283518/
Change-Id: I51d034dff614a1a276d5cfb0da9dc9a2aeebe019
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
SangYong Park [Tue, 14 Mar 2023 10:27:24 +0000 (19:27 +0900)]
Remove wayland from ozone platform build target
wayland ozone platform does make platform wayland wrapping layer.
and, it makes crash when call wayland api, since wayland platform
is not initialized properly. we remove wayland platform because
do not use it.
Change-Id: Ie3d3d6fa3153f4b16e4b6689269de21591961ac7
Signed-off-by: SangYong Park <sy302.park@samsung.com>
zhaosy [Fri, 17 Mar 2023 01:57:38 +0000 (09:57 +0800)]
[M108 Migration][WRTjs][VD] changing conformant style specifications
if support visual_controller, no_resize conformant style is not needed.
Landscape mode : conformant always needed.
Portrait mode : support visual_controller -> conformant needed.
not support visual_controller -> no_resize conformant needed.
Reference:
https://review.tizen.org/gerrit/287785/
Change-Id: Ia7af940503853ebadb8ab8b55b1ebb6af100d57b
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
jiangyuwei [Mon, 13 Mar 2023 05:38:25 +0000 (13:38 +0800)]
Remove duplicate function definition
Below function have duplicate definition:
ewk_check_chromium_ready
ewk_wait_chromium_ready
Change-Id: I702936a0c8a63b627c3a27c5f597776cce41d978
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Chandan Padhi [Wed, 15 Mar 2023 12:35:20 +0000 (18:05 +0530)]
[M108 Migration][SlimDownCode] Remove unused google-endpoints in //third_party/
chromium-efl does not use google-endpoints in third_party/.
The same does not even build for chromium-efl. Therefore,
removing it from the source tree.
Reference: https://review.tizen.org/gerrit/274310/
Change-Id: I8bac0dfa6064c5af528af652bbdbd44b1132d044
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Koyyani Maheswari [Wed, 15 Mar 2023 04:32:20 +0000 (10:02 +0530)]
[M108 Migration][MM] Disable video hole for emulator
There is issue when overlay and TBM are enabled together on emulator
profile. This patch disables overlay for emulator.
Reference: https://review.tizen.org/gerrit/278728/
Change-Id: I4160ad242bd63090f06a9ecfd084893877437b61
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
Koyyani Maheswari [Wed, 15 Mar 2023 10:44:24 +0000 (16:14 +0530)]
fixup! [MM] Use ESPP for media rendering
1) Reduce log statement
Too many buffering related logs are printed. They are
removed.
2) Added missing logs in TizenRendererImpl
Reference: https://review.tizen.org/gerrit/283138/
Change-Id: Iaa1996711130a5c5a0482d94c445eaaab372baf7
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
Gajendra N [Thu, 16 Mar 2023 06:09:15 +0000 (11:39 +0530)]
fixup! [M108 Migration][API] Introduce AddJavascriptInterface for Tizen
Original patch missed a '+' charater during migration, causing wrong value
append during Native to JS conversion. This patch fixes it.
Change-Id: I01d31ba2053d71c495da8380836d2b8fffa86d8d
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
zhao dan [Tue, 14 Mar 2023 10:56:26 +0000 (18:56 +0800)]
[M108 Migration][VD] M108 Migration for Plugin Hole
The main hole implementation for plugin and HBBTV.
This patch is migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/270859/
Change-Id: I19e97a670c11f75461f11b656c3c71774c14402c
Signed-off-by: zhao dan <danys.zhao@samsung.com>
VBS [Thu, 16 Mar 2023 00:29:29 +0000 (09:29 +0900)]
[WRTjs][VD] Remove privileged-service build dependency
Remove privileged-service build dependency to prevent appzone deny
Change-Id: Id8e659747b1e45b32caa4614b4fa91ebe8c9ed73
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Venugopal S M [Tue, 20 Sep 2022 07:06:43 +0000 (12:36 +0530)]
[M108 Migration][MM] Call player-stop on release
Call player-stop as the precondition for un-setting callbacks
is player-state-none.
Reference:
https://review.tizen.org/gerrit/281648
Change-Id: Ib4bbe4b44850769694024d733287bc5db81c8ba6
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Suhaspoornachandra [Wed, 15 Mar 2023 06:04:12 +0000 (11:34 +0530)]
[M108 Migration][MM] Manage multi-players using resource conflict callback.
Because of hw decoder capacity, only one player can be played on the web page
including multi-players.
It is not known which player will play after web page loading.
Thereafter, the player requested by the user plays, and the other player
is suspended.
- Players who receive the ResourceConflict callback from Resource Manager
should be suspended.
- Seek is pended while reconfiguring pipeline during resume.
After prepare, request demuxer seek to operate the seek normally.
Reference:
https://review.tizen.org/gerrit/283009
Change-Id: I4686502216cc1ba266f0f95d01baf7a9a5abc757
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Venugopal S M [Fri, 10 Mar 2023 13:33:02 +0000 (19:03 +0530)]
[M108 Migration][MM] Introduce renderer seek
This patch introduces seek method for renderer. Pipeline's
seek completes only after renderer (Tizen port) finishes seek.
Reference:
https://review.tizen.org/gerrit/277425/
https://review.tizen.org/gerrit/278833/
https://review.tizen.org/gerrit/277287/
https://review.tizen.org/gerrit/278426/
Change-Id: If808aed7d280be963ec3f0f8a7e7839cfe237bfe
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Venugopal S M [Wed, 15 Mar 2023 06:49:11 +0000 (12:19 +0530)]
fixup! [MM] Handle buffering and playback
- Submit the packet again when the buffer is full.
- Delay read call on need-buffer state
https://review.tizen.org/gerrit/285113
https://review.tizen.org/gerrit/286895
Change-Id: I34a71fed8dae4f19459d01a3ccc3e3f8b28cf812
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Ayush Kumar [Tue, 14 Mar 2023 04:34:16 +0000 (10:04 +0530)]
[M108 Migration] Disable LibXR module for EFL
Below change disables libxr module for EFL which
gives around 750KB gain in libchromium-impl.so size
==================== |=========================|
| Base | With patch |
=====================|=========================|
libchromium-impl.so |171MB | 170.25MB |
| | |
=====================|=========================|
References: https://review.tizen.org/gerrit/282983/
Change-Id: Id9413e7b87a5f97ae29d71049c965c3032e71ae9
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Gajendra N [Wed, 15 Mar 2023 06:40:15 +0000 (12:10 +0530)]
Use gzip rather than brotli for blink resources
On upstream, commit [1] sets brotli compression as default compression
method for Blink resources, but it causes some issue on 7.5 platform.
This patch disables brotli and sets gzip as default for efl port.
[1] https://chromium-review.googlesource.com/c/chromium/src/+/3373050
With respect to content_shell.pak size, the difference is only ~100KB.
Brotli :
11907652
gzip :
12010220
Change-Id: I7c76e2904b392ec0615e0f4157820d5dac8f630d
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
jiangyuwei [Fri, 3 Mar 2023 07:03:04 +0000 (15:03 +0800)]
[M108 Migration][VD]Add NULL pointer checking and logs for EWebView::Hide
1. The pointer(web_contents_) didn't do NULL check before use.
This may cause coredump if web_contents_ is NULL. So add NULL pointer
checking for function Hide.
2. Add some logs for function Hide and EWebView and ~EWebView to trace
certain WebView instance's life cycle.
Reference:
- https://review.tizen.org/gerrit/#/c/285660/
Change-Id: I315c2e84f7c2f3260af2ddc77ccfad1b9f7e9232
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
fang fengrong [Thu, 9 Mar 2023 00:47:46 +0000 (08:47 +0800)]
[M108 Migration] Fix timezone incorrect issue
If web page uses JavaScript Date objects, then timezone information is incorrect.
Reference site : https://www.w3schools.com/js/js_dates.asp
System icu using "/opt/etc/localtime" instead of "/etc/localtime"
Reference:
https://review.tizen.org/gerrit/#/c/282962
Change-Id: Ie5c2ff93647d94620fa8c1b20d62684db596c72f
Signed-off-by: fang fengrong <fr.fang@samsung.com>
wurc [Thu, 2 Mar 2023 05:26:51 +0000 (13:26 +0800)]
[M108 Aura Migration][NaCl][Nacl Fwk] Remove unnecessary nacl toolchain directory
Ported patch from M94 Aura:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/279656/
Change-Id: I45cba07cf9b430ccbfb1ebe2647e263ed517b9bf
Signed-off-by: wurc <rongchun.wu@samsung.com>
YongGeol Jung [Mon, 13 Mar 2023 15:29:17 +0000 (08:29 -0700)]
[NUI] NUI implementation for |SkiaRenderer|
NUI feature for |SkiaRenderer| is implemented based on [1] and [2].
1. The basic structure is implemented by migrating [1] partially.
2. |NotifySwap| is reused for transfering tbm surface.
3. |SkiaOutputDeviceOffscreenTBM| is added to render tbm surface using |SKSurface|.
[1] https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/287806/
[2] https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/288452/
Change-Id: Idf817adb66db71be75ceb0f270763762c625e96d
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
xiafeng [Tue, 14 Mar 2023 08:47:13 +0000 (16:47 +0800)]
[M108 Migration][VD] Implement ewk_cookie_manager_changes_watch product API
Due to VD request new API is implemented. The API allows for setting a
callback called when a change to any cookie is made (added, deleted or
modified).
References:
https://review.tizen.org/gerrit/281784/
Change-Id: I19e0dc6e3899242038afe91686e3485969ae631e
Signed-off-by: xiafeng <feng.xia@samsung.com>
xiafeng [Wed, 15 Mar 2023 02:54:35 +0000 (10:54 +0800)]
Dummy Implementation for ewk_context_new_with_injected_bundle_path_and_storage_name
This is a temporary API only for HBBTV, It should only be used in M85.
HBBTV's default DB name is data, HBBTV need to set a new DB name
for the additional context (For HBBTV HD+ scenario).
Currently, null implementation to avoid hbbtv crash issue on M108.
Change-Id: Ie3db05f7e8278678bf1a7862b18d476c09316338
Signed-off-by: xiafeng <feng.xia@samsung.com>
wuxiaoliang [Tue, 14 Mar 2023 06:24:59 +0000 (14:24 +0800)]
[M108 Migration] Dummy Implementation for EWK APIs
Dummy Impl for: [VD][HbbTV] Virtual main out
ewk_view_sw_audio_decoding_set
Dummy Impl for: [VD][HbbTV] HbbTV TA migration
Ewk_Board_Decoding_Capabilities
ewk_view_board_decoding_capabilities_get
ewk_view_next_player_for_media_switch_set
Dummy Impl for: [VD][HbbTV] Merge from Trunk 2022
ewk_view_set_video_geometry
ewk_view_player_set_visibility
ewk_view_player_play
ewk_view_player_pause
ewk_view_release_players
EWK_HARDWARE_DECODERS_BOTH
Dummy Impl for: [MM][HBBTV][EME] Add HBBTV EME feature
Ewk_DRM_Init_Data_Info
Ewk_DRM_Init_Complete_Info
Ewk_DRM_Error_Info
Dummy Impl for: [VD][HBBTV] Audio tracks count notification
Ewk_Audio_Tracks_Info
ewk_audio_tracks_info_video_id_get
ewk_audio_tracks_info_count_get
Change-Id: Ia6b0b1a6633dae7a1fd31869805d8839933074a4
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
zhaosy [Mon, 13 Mar 2023 05:46:25 +0000 (13:46 +0800)]
[M108 Migration][WRTjs][VD] Apply Non Cursor Support logic for SmartMonitor
It's SmartMonitor requirment, the cursor in SmartMonitor is different
from TV, in SmartMonitor, window manager cannot disable cursor, just
can hide cursors, so follow the guide.
http://wiki.vd.sec.samsung.net/pages/viewpage.action?pageId=
242867218
Besides set cursor name and transparent, WRT should call engine API to
disable mouse event.
Reference:
https://review.tizen.org/gerrit/287016/
Change-Id: I4f7d543c410fae4ea8ed305c3312797337da017f
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Chandan Padhi [Tue, 7 Mar 2023 09:48:37 +0000 (15:18 +0530)]
[M108 Migration][SlimDownCode] Remove unused //v8/test/fuzzer/wasm_corpus
This commit removes unused //v8/test/fuzzer/wasm_corpus.
Change-Id: Ib6afcf1e807ac7a40eb5d6735b12d954786be4f0
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
DongHyun Song [Wed, 8 Mar 2023 08:58:17 +0000 (17:58 +0900)]
[M108 Migration][WRTjs][VD] Remove privileged-service build dependency
When libchromium-ewk is used NUI application, appzone denies the
build dependency of libprivileged-service-client.so.
Thus, this patch removes the dependency and change the way to handle
them by dlopen/dlsym.
Reference:
https://review.tizen.org/gerrit/289474/
Change-Id: I0b3bd118be5aeaf253651c51534f1f08630076ca
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Michal Jurkiewicz [Thu, 17 Mar 2022 07:46:52 +0000 (08:46 +0100)]
[M108 Migration] Correct wasm-with-sourcemap.map filename
Ported patch:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/252402/
Original description:
[Problem]
`wasm-with-sourcemap..........map` file has filename that causes problem with
P4 autosync.
[Cause]
It seems that during file renames in review:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2071893/1..5
mistake was made in `wasm-with-sourcemap.map` file.
[Solution]
Changing `wasm-with-sourcemap..........map` name to `wasm-with-sourcemap.map`.
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1099
Change-Id: I98ab3f8a3ea89b52a4b9f3d02d58b1f54782fc96
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
xiafeng [Wed, 8 Mar 2023 05:54:06 +0000 (13:54 +0800)]
[M108 Migration] Create CookieManager when Network Service enable.
From tizen 6.0, network service is default enable. CookieManager is created
when NetworkContext created, while cookie path is not set by ewk api at
that moment. This patch adds a function to create CookieManager in
NetworkContext after we get cookie path.
Reference:
https://review.tizen.org/gerrit/279663/
Change-Id: I0848f71dc1728ecf1916f756f05d1b42c56d0bbe
Signed-off-by: xiafeng <feng.xia@samsung.com>
jiangyuwei [Fri, 3 Mar 2023 06:44:55 +0000 (14:44 +0800)]
[M108 Migration] Fix svace warning
Release the value from app_control_get_extra_data.
Reference:
- https://review.tizen.org/gerrit/#/c/267099/
- https://review.tizen.org/gerrit/#/c/265555/
Change-Id: I6697cccaea5c10272440b583aed8432f76b1fc6d
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
feifei08.liu [Tue, 7 Mar 2023 02:04:40 +0000 (10:04 +0800)]
[M108 Migration] Fix memory leak in intercept request
In TV plus test case, HBB team found some memory from ewk intercept
request interface have never been released.
Test case: Repeatly raise Tv plus and exit.
hbbtv_app process never exit, each time raising Tv plus, many ewk intercept
request instances and ProxyingURLLoaderEfl instances will be leaked:
1. In ProxyingURLLoaderFactoryEfl::CreateLoaderAndStart,
when intercept_request->is_ignored(),
the new _Ewk_Intercept_Request will be leak;
2. In ProxyingURLLoaderFactoryEfl::CreateLoaderAndStart,
after creating, the created ProxyingURLLoaderEfl never dtor;
3. In _Ewk_Intercept_Request::put_chunk, when delegate_ is null,
the function input "char* data" will be leaked.
4. In ProxyingURLLoaderEfl::PutChunk, the instance dose not emplace
the input data memory nor delete it.
Reference:
- https://review.tizen.org/gerrit/283460/
Change-Id: Icb5d95ea5e201e9f8beb24914b14822b2e99957e
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
fr.fang [Fri, 10 Mar 2023 01:14:17 +0000 (09:14 +0800)]
[M108 Migration][VD] Support Hbbtv for CORS from XMLHttpRequest.
This patch support HBBTV CORS from XMLHttpRequest to set the request
header 'origin' to 'hbbtv-carousel://'.
References:
https://review.tizen.org/gerrit/283376
Change-Id: Iba6eb21d66aec06e298c5b790c6dc481ccbf3d1d
Signed-off-by: fr.fang <fr.fang@samsung.com>
feifei08.liu [Tue, 7 Mar 2023 02:25:33 +0000 (10:25 +0800)]
[M108 Migration][VD] Disable NAVIGATION popup in TV.
NAVIGATION popup show default one which create
by WebEngine.
As WebBrowser owns both WebView and control bar.
It is hard to handle event while popup shows.
After discuss with WebBrowser, disable this popup
at first.
If re-use later, this popup can be implement by
WebBrowser with below APIs:
ewk_view_before_unload_confirm_panel_callback_set
ewk_view_before_unload_confirm_panel_reply
Reference:
- https://review.tizen.org/gerrit/283461/
Change-Id: I8f4d43dd18ecdcb170f96a06d098c345d54e6b4c
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
Sun-woo Nam [Fri, 10 Mar 2023 03:48:19 +0000 (19:48 -0800)]
fixup! [MM] Implement MMPlayer(CAPI) path to support HBBTV.
1. Set user agent string for MMPlayer
2. Fix wrong condition checking:
Check MediaResource::Type::URL instead of |demuxer_override_|
because it is set as |null| after |SetDemuxer| function call.
3. Change the location of MediaUrlDemuxer creation:
ContentRendererClientEfl -> ContentRendererClient
These patches can be squashed into the original patch.
Reference:
https://review.tizen.org/gerrit/#/c/276946/
https://review.tizen.org/gerrit/#/c/278781/
https://review.tizen.org/gerrit/#/c/288024/
Change-Id: I76edfa42ffb8f9e16a4b5bfa6db3dfd95a7893b3
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
DongHyun Song [Thu, 9 Mar 2023 00:14:02 +0000 (09:14 +0900)]
[WRTjs][VD] Refactors WRTContentMain and its delegate
Refactors usage of delegate and remove TV profile guard.
Change-Id: I4fbbf8b60caf228c36ebccdda704b81c0a12306c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
zhaosy [Mon, 13 Mar 2023 03:03:23 +0000 (11:03 +0800)]
[M108 Migration][WRTjs][VD] Optimize the policy of clear dead mount point
1. The init value of "rtc/memory/WebApp/wrtloadercount" is -1;
and not all loop device is used by wrt, so define the timing
of checking dead mount is 6.
2. Not check mount path is exist or not, bcz WRT move this logic
to app process, if we check it, smack issue will happen.
Reference:
https://review.tizen.org/gerrit/288695/
Change-Id: Ia87b67a59553cc8a8cebe143f3b02849171d4a79
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
jiangyuwei [Wed, 8 Mar 2023 06:08:28 +0000 (14:08 +0800)]
[M108 Migration][VD][UWE] Change Chromium TPK to WAS App
This patch includes:
1. Change Chromium TPK type from BIU to WAS by removing 2 metadatas.
The BIU(BuiltInUpgrade) app is installed unconditionally,
and the WAS type app can set the installation conditions.
When considering flash size,
Chromium TPK should not be installed unconditionally.
2. Add new metadata, "postinstall.launch"
WAS executes mount daemon when an app containing "postinstall.launch"
metadata is installed or updated.
Reference:
- https://review.tizen.org/gerrit/#/c/272769/
Change-Id: I9e04337f6ad976a265091d7d2088db0d0ca53bd5
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Xiaoshu Wei [Thu, 9 Mar 2023 07:26:39 +0000 (15:26 +0800)]
[M108 Aura Migration][NaCl][PPFwk] Enable VD Trusted Plugins functionality
Migrated from tizen 7.0:
https://review.tizen.org/gerrit/#/c/279658/
Change-Id: Id0dcc051a1fbc83f0180b4419b31c7b96c594a42
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
Koyyani Maheswari [Fri, 10 Mar 2023 09:41:09 +0000 (15:11 +0530)]
[M108 Migration][MM] Suspend a video if sent to background.
The video playback is abnormal when switching tabs in web browser.
This patch suspends a video sent to background.
Reference: https://review.tizen.org/gerrit/285247/
Change-Id: Ia429bcbfb3a4ce6b4d005694a7dd27a566a10903
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
Suhaspoornachandra [Wed, 25 Jan 2023 03:26:36 +0000 (08:56 +0530)]
[M108 Migration][MM] Create MediaPlayerESPlusPlayer as multiple instances.
MediaPlayerESPlusPlayer is created as singleton before, previously, but it caused an issue
that no video can be played in multi-video content.
This patch therefore changes MediaPlayerESPlusPlayer to be created as multiple instances and
it makes the latest video be played in multi-video content.
References:
https://review.tizen.org/gerrit/276973/
https://review.tizen.org/gerrit/277230/
Change-Id: Ifeb2e3af55bd5eba2cb58adcda2132d16d533d24
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Sun-woo Nam [Fri, 10 Mar 2023 06:35:08 +0000 (22:35 -0800)]
[M108 Migration][MM] Prevent suspend and release a player during prolonged pause.
If a player pauses for 15 seconds, it becomes a 'stale' state.
The stale players is suspended and released, but it causes unexpected behavior
such as black screen.
This patch therefore doesn't suspend the stale players.
Reference:
https://review.tizen.org/gerrit/#/c/276980/
https://review.tizen.org/gerrit/#/c/277231/
Change-Id: I9190275c60a5c0b66b583ca75cd7e8132a37bc58
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Wed, 15 Feb 2023 05:24:55 +0000 (21:24 -0800)]
[M108 Migration][MM][HBBTV] Check HLS to enable url demuxer.
FFmpeg demuxer is not available for Http Live Streaming contents.
Therefore, I modified to use url demuxer for HLS by referring to the existing
android code.
Reference:
https://review.tizen.org/gerrit/#/c/288322/
Change-Id: I6827d16c8f298748743779ac4cb78957cb46ffdb
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Suhaspoornachandra [Mon, 6 Mar 2023 09:36:54 +0000 (15:06 +0530)]
[M108 Migration] Support new pixel format in webrtc
Support PIXEL_FORMAT_TBM_INTER_PROCESS_BUFFER and PIXEL_FORMAT_ENCODED.
Reference:
https://review.tizen.org/gerrit/#/c/279885
Change-Id: I30659a3c071b697ed06ff8eaf844ca82799d2b55
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
liuxd [Mon, 6 Mar 2023 06:21:59 +0000 (14:21 +0800)]
[M108 Migration][VD] Disable show DateTimeDialog for datetime input type
Issue: click the below input type, will show black screen
<input type="date">
<input type="datetime-local">
<input type="month">
<input type="time">
<input type="week">
Solution: disable show DateTimeDialog for avoid show black screen
Root Cause:
Click the above datetime input type, will show DateTimeDialog.
But the DateTimeDialog don't support well when CreateAndShowDateLayout,
will show black screen.
And we don't support show DateTimeDialog for datetime input type before.
So follow as previous, don't support show DateTimeDialog.
refer:
https://review.tizen.org/gerrit/#/c/282731
Change-Id: Ia585744b046782061a96b490c10c8ac8718c0593
Signed-off-by: liuxd <xd123.liu@samsung.com>
liuxd [Tue, 28 Feb 2023 06:37:33 +0000 (14:37 +0800)]
[M108 Migration][VD] Fix FocusInOutCallbacks not handled issue
FocusInOutCallbacks been set on RenderViewReady, and been handled
on OnFocusIn/OnFocusOut.
On below case, the FocusInOutCallbacks not handled.
1. open office365 word:
open office365 word will CreateNewWindow, and on the process
without PostRenderViewReady, cause FocusInOutCallbacks without set.
So add PostRenderViewReady when CreateNewWindow.
2. open website by deeplink:
ewk_view_focus_set set after PostRenderViewReady.
Becasue it takes a long time from PostRenderViewReady to receiving
RenderViewReady, cause EWebView receive RenderViewReady later than
ewk_view_focus_set.
It cause FocusInOutCallbacks set later then OnFocusIn/OnFocusOut,
cause FocusInOutCallbacks not handled.
So call RenderViewReady directly on PostRenderViewReady.
3. open website by window.open:
ewk_view_focus_set set before RenderViewReady,
It cause FocusInOutCallbacks set later then OnFocusIn/OnFocusOut,
cause FocusInOutCallbacks not handled.
So pending setfocus when RenderView is not Live.
Refer:
https://review.tizen.org/gerrit/#/c/284765
Change-Id: I591ce004f418dca05b56a22c42c7d196a3337024
Signed-off-by: liuxd <xd123.liu@samsung.com>
fr.fang [Wed, 1 Mar 2023 12:59:34 +0000 (20:59 +0800)]
[M108 Migration][VD] Ensure plugin props are setting correctly.
Internally, properties of plugin belong to 2 different targets,
one is HTMLPluginElement, one is the corresponding scriptable object.
Need to set properties to the correct target.
Reference:
https://review.tizen.org/gerrit/#/c/282087
Change-Id: Ic7509825520413e633114ce93c7a32dfcbed4b1c
Signed-off-by: fr.fang <fr.fang@samsung.com>
jiangyuwei [Fri, 3 Mar 2023 01:56:18 +0000 (09:56 +0800)]
[M108 Migration] Fix Crash in webview.
Add protection in EWebView::SetOrientation.
Reference:
- https://review.tizen.org/gerrit/#/c/282815/
Change-Id: If424bac3ecba47971b95c7d4df771c626f3b0fb0
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
zhaosy [Thu, 9 Mar 2023 00:04:59 +0000 (08:04 +0800)]
[M108 Migration][WRTjs] Use BUILDFLAG(IS_XXX) for OS checking
This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
Below efl/tizen build flags are replaced:
USE_EFL -> IS_EFL
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/289238/
Change-Id: I387487f030919116dee9210261f23b215b6c4b60
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
YongGeol Jung [Wed, 8 Mar 2023 08:49:22 +0000 (00:49 -0800)]
[Onscreen] Request to redraw window surface when showing.
A black scene is observed when app is displayed from a resume activity.
Modified to redraw window surface when showing.
Change-Id: Ifacbdcc58b0fb8ba107011eafd7f94f669845fa8
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
DongHyun Song [Wed, 8 Mar 2023 23:53:57 +0000 (08:53 +0900)]
[M108 Migration][WRTjs] Lazy initialization of ContentMainRunner for wrt-loader
In case cold booting case, WRT initialization takes much time on
the low-end product. (5s ~ 7s)
Even though wrt-loader is prepared on cold booting sequence as soon
as possible, the candidate launch can be failed because wrt-loader
is not yet ready.
To make short the initialization time, this patch defers the jobs
of WRTContentMain's initialization with ecore_idler, and return
loader's create callback early to prepare wrt-loader.
Reference:
https://review.tizen.org/gerrit/284208/
Change-Id: Icb1be128397415903d3de8b3346a862a98e7f1e2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
feifei08.liu [Tue, 28 Feb 2023 05:37:00 +0000 (13:37 +0800)]
[M108 Migration][VD] Fix office 365 Word/Excel show empty blank pages issue
1. Fix redirection issue in WebApp.
Now m85, exclude "file://" URLs frome default
SiteInstance.
So if webapp redirect url in file:///index.html.
It will create a new SiteInstance and RenderFrameHost
for the redirected url.
As WRT only get and store main frame once time (the first time
UIprocess communicated with RenderProcess).
So if frame changed, wrt cannot send message to the right frame.
So avoid this code that will not create new frame while redirection
in "file://" URLs.
2. [VD] Disable "OriginIsolationHeader" feature to fix office 365 Word/Excel
show empty blank pages issue.
"OriginIsolationHeader" enabled in M94 which is in development,
it will cause new webview created and
some information do not included in requests,
this feature disabled in M85, so we follow M85 logic disable this feature.
Reference:
- https://review.tizen.org/gerrit/286949/
Change-Id: Ic26c5a4ac80bfa246a3f1d205095093b503ae372
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>