platform/framework/web/chromium-efl.git
7 months ago[Autofill] Make AutofillClientEfl implement ContentAutofillClient 86/300486/1
Gajendra N [Wed, 25 Oct 2023 12:42:49 +0000 (18:12 +0530)]
[Autofill] Make AutofillClientEfl implement ContentAutofillClient

Made changes as per upstream patch [1]. Set ContentAutofillClient as base
class for AutofillClientEfl similar to Android and Chrome implementations.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/4272332

Change-Id: I70d8604cacb61c51e60d26fb70ff6bfc197356a3
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months agofixup! [M108 Migration][API] Bring up autofill 45/300445/5
Nikhil Shingne [Wed, 25 Oct 2023 06:13:31 +0000 (11:43 +0530)]
fixup! [M108 Migration][API] Bring up autofill

This commit enables the autofill feature which was disabled during
m114 bringup. Fixes all the build errors due to changes on upstream.

With this commit, autofill related TCs PASS on NativeTCT.

Change-Id: I26024557dc91654f8bd04fa8f8cdac04565cc95d
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
7 months agoFix native tct failures related to cookie manager 11/300211/2
Satyaveer Singh [Wed, 18 Oct 2023 12:19:37 +0000 (17:49 +0530)]
Fix native tct failures related to cookie manager

Due to changes on upstream code, now AllowFileSchemeCookies
should not be called on IO thread. This patch makes necessary changes.
With this, ewk cookie manager TCs are passing on NativeTCT.

Change-Id: I858b97098b829cd1a21db63cc96ca240adec3c36
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
7 months agoFix for runtime error during ubrowser launch 18/299118/3
uzair [Wed, 20 Sep 2023 05:46:19 +0000 (11:16 +0530)]
Fix for runtime error during ubrowser launch

Change-Id: I3d427726a91a0b638b23ee1032f3b749651eb400
Signed-off-by: uzair <uzair.jaleel@samsung.com>
8 months agoInitialize CommandLine before Mojo core initialization 71/299271/3
yh106.jung [Mon, 25 Sep 2023 01:42:32 +0000 (18:42 -0700)]
Initialize CommandLine before Mojo core initialization

In order to initialize Mojo core, CommandLine must be initialized first.
This patch calls content::InitializeMojoCore() after
CommandLineEfl::GetDefaultPortParams() to ensure CommandLine
initialization.

Change-Id: I059038909f18eceed1b348cb448e06017758cf6a
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
8 months agoAlways initialize eldbus 70/299270/1
yh106.jung [Mon, 25 Sep 2023 01:38:20 +0000 (18:38 -0700)]
Always initialize eldbus

eldbus has been used not only in ATX but also in clipboard,
so this patch always initailize edbus.

Change-Id: If19a25f676bc57b61c32c5d18fb8b4a7df29f499
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
9 months ago[M114] Onscreen Rendering support based on Ozone EFL 43/295743/12
Ayush Kumar [Thu, 24 Aug 2023 05:57:54 +0000 (11:27 +0530)]
[M114] Onscreen Rendering support based on Ozone EFL

This commit fixes build errors to bringup content_shell on desktop.

Build: ./tizen_src/build/build_desktop.sh --build-chrome
Launch :
a. content shell : ./content_shell.sh
b. chrome : ./chrome.sh

Change-Id: Id77b8ea98d0ac633903c2cdee046cba1b8f135f3
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
9 months agoRevert "[M108 Migration] [SlimDownCode] Delete Redundant Modules" 79/297779/1
Ayush Kumar [Thu, 13 Jul 2023 06:31:53 +0000 (12:01 +0530)]
Revert "[M108 Migration] [SlimDownCode] Delete Redundant Modules"

This commit partially reverts 143b987df202b29f81a056cad7237efa20eea195
to add chromeos/* to resolve chrome build errors.

Change-Id: I0f16969d11e15e49721bf4676bd678e2703e020d
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
9 months ago[M114] Avoid adding same EFlWindow to the dispatcher list more than once 29/297429/4
Chandan Padhi [Thu, 17 Aug 2023 14:58:49 +0000 (20:28 +0530)]
[M114] Avoid adding same EFlWindow to the dispatcher list more than once

This commit ensures the following to fix the below CHECK failure.
1. EflWindow is added to the dispatcher list only once.
2. Previous EflEventHandler is deleted before creating a new one.

[0817/174640.034242:ERROR:observer_list.h(292)] Check failed: false.
Observers can only be added once!

Change-Id: Ibc8f06a5a76b774fd085ea7253fe44cb1dc9e1a9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
10 months agoUpgrade NodeJS binary to v16.13.0 85/296985/4
Surya Kumar [Tue, 8 Aug 2023 12:34:46 +0000 (18:04 +0530)]
Upgrade NodeJS binary to v16.13.0

Engine had upgraded nodejs to v16.13.0 for other builds.
This patch upgrades for tizen profile with appropriate
node binary

Change-Id: I6a5b2bbde8586adc2d82031d5bb7121b2a8b7918
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
10 months agofixup! Upload upstream chromium 114.0.5735.31 50/296650/1
Chandan Padhi [Wed, 2 Aug 2023 15:12:01 +0000 (20:42 +0530)]
fixup! Upload upstream chromium 114.0.5735.31

icudtl.dat used currently is from M108 that results in renderer crash
due to below CHECK failure.

[0802/172502.073998:FATAL:url_idna_icu.cc(57)] Check failed: false.
failed to open UTS46 data with error: U_FILE_ACCESS_ERROR. If you see
this error message in a test environment your test environment likely
lacks the required data tables for libicu. See https://crbug.com/778929.

This commit updates icudtl.dat to that from M114 to fix above failure.

Change-Id: I084f46b5a564364ef28b10fbf458bf61fc8172d9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
10 months agofixup! [Tizen] Fix for Compiler and linker errors 28/296428/2
uzair [Thu, 27 Jul 2023 08:39:52 +0000 (14:09 +0530)]
fixup! [Tizen] Fix for Compiler and linker errors

Below change add few changes which were missed out from
initial commit

Change-Id: Ic28d8a3d16e7aa159c742e7864f5a2a7f6613b38
Signed-off-by: uzair <uzair.jaleel@samsung.com>
10 months ago[M114 Migration]Add repo of tizen 8.0 to fix build break on TV. 84/294584/4
Sun-woo Nam [Wed, 21 Jun 2023 00:18:53 +0000 (17:18 -0700)]
[M114 Migration]Add repo of tizen 8.0 to fix build break on TV.

The problem is that tv build is targeted at MuseM with the previous base repo.
TV build should be targeted PontusM and tizen 8.0 by default.
So, add repos for tizen 8.0 as the default build target
and modify base repo of tizen 7.5 to be targeted at PontusM.

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

Change-Id: I87cdc2d0cc88402c43265ca2a95502f5de2817e3
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
11 months ago[Tizen] Fix for Compiler and linker errors 20/294720/16
uzair [Fri, 23 Jun 2023 12:45:25 +0000 (18:15 +0530)]
[Tizen] Fix for Compiler and linker errors

Below change along with [1]  fixes all the related compiler
and linker errors for tizen profile.

Build:  $ ./tizen_src/build/build_tv.sh
        $ ./tizen_src/build/build_standard_armv7l.sh

Launch: $ /usr/apps/org.tizen.chromium-efl/bin/efl_webview_app
        $ /usr/apps/org.tizen.chromium-efl/bin/ubrowser

[1] https://review.tizen.org/gerrit/c/294878

Change-Id: Id7177f267633efab02aeb3efcd548098ad037232
Signed-off-by: uzair <uzair.jaleel@samsung.com>
11 months ago[PDNCF] Avoid constexpr std::string which is C++20-specific 78/294878/4
uzair [Wed, 28 Jun 2023 05:56:33 +0000 (11:26 +0530)]
[PDNCF] Avoid constexpr std::string which is C++20-specific

Below change backports [1] and [2] to bringup tizen build

[1]https://chromium-review.googlesource.com/c/chromium/src/+/4521911
[2]https://chromium-review.googlesource.com/c/chromium/src/+/4523268

Change-Id: If06210edd2e73c79c745b77b6757b5e51eb3de15
Signed-off-by: uzair <uzair.jaleel@samsung.com>
11 months ago[M114 Migration]Update tizen version and gbs repo to 7.5 26/294426/5
Gajendra N [Tue, 28 Mar 2023 06:43:00 +0000 (12:13 +0530)]
[M114 Migration]Update tizen version and gbs repo to 7.5

This patch updates $LATEST_TIZEN_VERSION to 7.5 and gbs repo
urls accordingly.

Standard build repo URL has changed to:
https://download.tizen.org/snapshots/TIZEN/Tizen-{version}

Reference:
https://review.tizen.org/gerrit/c/290526
https://review.tizen.org/gerrit/c/292772

Change-Id: I6427fc989296f6d548a87cca29ddc51719a6f164
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
11 months ago[M114][EFL][Offscreen] Fix crashes and black screen on webview launch 83/294683/4
Chandan Padhi [Fri, 23 Jun 2023 06:38:00 +0000 (12:08 +0530)]
[M114][EFL][Offscreen] Fix crashes and black screen on webview launch

This commit fixes browser/renderer crashes and black screen
on webview launch. Basic rendering works fine and google.com
loads as expected.

Build:  $./tizen_src/build/build_desktop.sh
Launch: $./out.x64/efl_webview_app.sh
        $./out.x64/ubrowser.sh -l3

Change-Id: I4283b8fa2898a01862b3bc7373b65f7693a6a157
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months ago[M114][EFL][Offscreen] Fix build errors for desktop profile 33/294233/4
Chandan Padhi [Wed, 14 Jun 2023 13:14:52 +0000 (18:44 +0530)]
[M114][EFL][Offscreen] Fix build errors for desktop profile

This commit fixes all gn related, compilation and linker errors
for desktop build.

Change-Id: I16cbc9ae25c425cd65da09d1097ceb57c3c0282d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months agoRevert "[PDNCF] Backport ImageManager class and its dependencies" 99/294199/2
Chandan Padhi [Wed, 14 Jun 2023 06:58:59 +0000 (06:58 +0000)]
Revert "[PDNCF] Backport ImageManager class and its dependencies"

This reverts commit d3644c0193273f708634389d6b47e18c1c8a0c24.

PDNCF patch, not required for M114.

Change-Id: I61471b0a16719483f85e8742bdd79e451ae50f85
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months agoUpload upstream chromium 114.0.5735.31 61/293761/4
Ayush Kumar [Fri, 2 Jun 2023 07:00:51 +0000 (12:30 +0530)]
Upload upstream chromium 114.0.5735.31

This is a patch for upstream m114 - m108.

* chromium
72d3dff19e4fa332840c101a5df2f8ddd08a9427
Publish DEPS for 114.0.5735.31

* v8
ca96c940fe41670a2e1b7d56ad7ced67ce3528d1
Version 11.4.183.8

* skia
93e7d305c32c17b3fa3e531dd967bc588948a080
Merge 1 release notes into RELEASE_NOTES.md

Change-Id: Ifcb7db3364bc5a804d60fb30137d10aaf3f9972c
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
13 months agoRevert "Ensure all gl calls are submitted to GPU" 28/291628/2
Uzair Jaleel [Wed, 19 Apr 2023 10:58:52 +0000 (10:58 +0000)]
Revert "Ensure all gl calls are submitted to GPU"

This reverts commit 530b19ef2644316dc95baaae52e3102a4d66a0af.

Reason for revert: This change is not needed anymore as https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/291434 is merged

Change-Id: Ifae43e8bbc629cc197b20187d41686177065d3db

14 months ago[XWalkExtension] Change a way to load XWalk extensions 19/290419/5
DongHyun Song [Fri, 24 Mar 2023 07:12:29 +0000 (16:12 +0900)]
[XWalkExtension] Change a way to load XWalk extensions

This will load all *.json from given base folder, not a
specific json file.

Change-Id: I8ddc154366308f4eece7a2d8e538d321b566c928
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPAPI] Implement backward compatibility for PPAPI UDPSock... 27/290527/2
Xiaoshu Wei [Tue, 28 Mar 2023 06:43:58 +0000 (14:43 +0800)]
[M108 Aura Migration][NaCl][PPAPI] Implement backward compatibility for PPAPI UDPSocketExtensionSamsung

Ported patches from M94:
https://review.tizen.org/gerrit/#/c/280723/

Change-Id: I8d0217ee9516ecf9fceae5e5537a838dd8d73249
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
14 months ago[M108 Migration][WRTjs][VD] Merge splash screen feature 19/290519/3
zhaosy [Tue, 28 Mar 2023 05:19:19 +0000 (13:19 +0800)]
[M108 Migration][WRTjs][VD] Merge splash screen feature

1.Support landscape/portrait splash screen
landscape/portrait splash screen should be supported.
https://docs.tizen.org/application/tizen-studio/web-tools/config-editor/#tizen-launch-screen-2
<tizen:launch_screen ready_when="custom">
  <tizen:ls_default background_color="#00ff00" image="images/default.png" image_border="0px stretch"/>
  <tizen:ls_landscape background_color="#ff0000" image="images/landscape.png" image_border="0px stretch"/>
  <tizen:ls_portrait background_color="#0000ff" image="images/portrait.png" image_border="0px stretch"/>
</tizen:launch_screen>

2.splash screen image support SHARE path
LYNKCloud app need to download splash screen image from server.
They save image to SHARE path(/opt/usr/home/owner/share),
WRT set this image as splash screen image.

Reference:
https://review.tizen.org/gerrit/289862/
https://review.tizen.org/gerrit/289246/

Change-Id: I4cf8d770e2698af9c40a6e8242da109d048098e1
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
14 months ago[M108 Aura Migration][NaCl][W3C][Gamepad][VD] Fix: Gamepad Timestamp issue, get times... 14/290514/4 submit/tizen/20230328.160023
weijun [Tue, 28 Mar 2023 02:45:54 +0000 (10:45 +0800)]
[M108 Aura Migration][NaCl][W3C][Gamepad][VD] Fix: Gamepad Timestamp issue, get timestamp using accesory's timestamp

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

Change-Id: Iaa50bffe1e7074971d4b3db292de62682ce4ba15
Signed-off-by: weijun <weijun5.lin@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPAPI] URLResponseInfo response code 0 15/290515/2
jinbei09 [Tue, 28 Mar 2023 03:01:53 +0000 (11:01 +0800)]
[M108 Aura Migration][NaCl][PPAPI] URLResponseInfo response code 0

URLResponseInfo response code 0 if file is loaded via file:// protocol.

Ported patches from M94:
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280897/

Change-Id: I6cdde453283cac23957e506fd4b5d685af71ce84
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPFwk] Add error logs + SVACE/DLOG/Static analysis fix 23/290423/2
jinbei09 [Fri, 24 Mar 2023 09:02:16 +0000 (17:02 +0800)]
[M108 Aura Migration][NaCl][PPFwk] Add error logs + SVACE/DLOG/Static analysis fix

Ported patch from tizen_7.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280926/

Change-Id: I90218f239233ab49f543279cf50cf1bf8705bb5e
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl] Recover GetPrivilegeMapping function when checking privilege 74/290474/2
jinbei09 [Mon, 27 Mar 2023 06:48:47 +0000 (14:48 +0800)]
[M108 Aura Migration][NaCl] Recover GetPrivilegeMapping function when checking privilege

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

Change-Id: Ibe598e2cd12b337b204e148e296fb15bf66e8a92
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPFWK] Add logs to indicate when pepper plugin process... 10/290410/3
jinbei09 [Fri, 24 Mar 2023 06:34:13 +0000 (14:34 +0800)]
[M108 Aura Migration][NaCl][PPFWK] Add logs to indicate when pepper plugin process exit

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

Change-Id: I6384673375c7a7ad99a79d7209c7cbed63b771cc
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPAPI]Fix compilation warnings in media related components. 21/290321/3
jinbei09 [Thu, 23 Mar 2023 05:46:47 +0000 (13:46 +0800)]
[M108 Aura Migration][NaCl][PPAPI]Fix compilation warnings in media related components.

* content/renderer/pepper/video_decoder_shim.cc
In some scenarios IsCodecSupported did not returned any value. Now it returns false by default.

Ported patch from:
 Fix compilation warnings in media related components
 https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280521/

Change-Id: I6ccc63073536fd1ab1cbb60d49933680e59451c4
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPAPI] Crash during PPB_MessageLoop destruction 29/289629/2
jinbei09 [Fri, 10 Mar 2023 11:18:12 +0000 (19:18 +0800)]
[M108 Aura Migration][NaCl][PPAPI] Crash during PPB_MessageLoop destruction

When MessageLoop for PPAPI is destroyed it may happen that there are
some unrun callbacks. Dtor of such callback tries to acquire global
proxy lock.

If such destroy is called from during call to method exposed via PPAPI
to the plugin then deadlock occurs as global proxy lock is held
EnterResource object form Thunk layer.

Ported patch from Tizen 7.0:
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280223/

Change-Id: If50242a099ce4c95f42148cd38c565314558359c
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPAPI]Fix PPAPI unittest error 77/289577/2
jinbei09 [Fri, 10 Mar 2023 02:21:34 +0000 (10:21 +0800)]
[M108 Aura Migration][NaCl][PPAPI]Fix PPAPI unittest error

This patch fixes below PPAPI unittest error:
[1] var_value_converter_unittest.cc build error
[2] MediaStreamBufferManager unittest execute error

error[1] was already fixed in patch:
  [M108 Aura Migration][NaCl][PPFW] Enable VD Trusted Plugins functionality
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/289527/

Ported patch from tizen_7.0:
  https://review.tizen.org/gerrit/#/c/270688/

Change-Id: Id837625846669d5622da9ae167ac7071a97ef5e8

14 months ago[M108 Migration][MPEG-H][Hbbtv][MSE] Add proper demuxing for MPEG-H codec 24/290424/3
luyq [Fri, 24 Mar 2023 06:57:00 +0000 (14:57 +0800)]
[M108 Migration][MPEG-H][Hbbtv][MSE] Add proper demuxing for MPEG-H codec

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

Change-Id: Ibf667810251a6fd0425dd3f9ce197162518ef122
Signed-off-by: luyq <yanqing.lu@samsung.com>
14 months ago[M108 Aura Migration] Setting demuxer memory limit 61/290461/9
yanting.hong [Mon, 27 Mar 2023 03:18:30 +0000 (11:18 +0800)]
[M108 Aura Migration] Setting demuxer memory limit

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

Change-Id: Ib78ab63a36ac9744313524baf884ac5cd6d5e1e6
Signed-off-by: yanting.hong <yanting.hong@samsung.com>
14 months ago[M108 Migration] Check scroll area pointer before use 98/290398/4
wangjing [Fri, 24 Mar 2023 03:34:05 +0000 (11:34 +0800)]
[M108 Migration] Check scroll area pointer before use

-Check the pointer is not null before using,
otherwise this causes the render process crashes.

-Add some macro.

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

Change-Id: I617b8c7ee002e9b3e185aa27c17d19c9c90bb4e5
Signed-off-by: wangjing <jing124.wang@samsung.com>
14 months ago[M108 Migration] Make sure device scale factor (DSF) is not less than 1.0 on any... 94/290494/3 accepted/tizen/unified/20230328.080146
Gajendra N [Fri, 7 Oct 2022 08:52:44 +0000 (14:22 +0530)]
[M108 Migration] Make sure device scale factor (DSF) is not less than 1.0 on any profile

On RPI4 device, due to DPI value being low (120), DSF was computed as 0.75,
this was causing some problems related to subpixel rendering on css related
TCTs. This patch makes sure the DSF value is not lesser than 1.0.

Change-Id: Ibde585f3a75793a4ac429e712a8572a0d922e488
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
(cherry picked from commit db4b64a66f803008fa66f08b156f31997ba9f385)

14 months agoDisable debug package for aarch64 build 90/290490/2
Chandan Padhi [Mon, 27 Mar 2023 11:42:53 +0000 (17:12 +0530)]
Disable debug package for aarch64 build

Change-Id: Ib65aa864e272f4a3ce6d1f6f93ebf1b69fc0b724
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
14 months ago[M108 Aura Migration][NaCl][PPFW] Fix crash when get render process in UnregisterPepp... 04/290004/3
pengxia [Fri, 17 Mar 2023 03:55:12 +0000 (11:55 +0800)]
[M108 Aura Migration][NaCl][PPFW] Fix crash when get render process in UnregisterPepperExtensionDelegate.

EWeb View will destruct in EvasObjectDelete callback called.
If ewk_shutdown called before EvasObjectDelete, it may cause crash
during get render process in UnregisterPepperExtensionDelegate,
which is in EWeb View destructor.

This change is for DF190114-00719

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

Change-Id: I76685eb3ea0a9e2c1fcfc9aeedf476b52813ac05
Signed-off-by: pengxia <pengxia.shen@samsung.com>
14 months ago[M108 Migration][VD]Implement ewk_settings_allow_file_access_from_external_url_set 68/289868/7
xiafeng [Thu, 16 Mar 2023 03:18:27 +0000 (11:18 +0800)]
[M108 Migration][VD]Implement ewk_settings_allow_file_access_from_external_url_set

Some specific case in Tizen TV, we need to enable this.
When hosted applications want to use tv device api,
load file://opt/usr/apps/pepper/webapis.js located in local.
But, they cannot access local because of security vulnerability(SOP)
Policy of webapis.js is only located in local.

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

Change-Id: Id7e29a72dd5571770ae196d5387d97d98eb9d326
Signed-off-by: xiafeng <feng.xia@samsung.com>
14 months ago[M108 Migration][VD]Dummy Implementation for web security API 60/289660/7
jingjieli [Mon, 13 Mar 2023 05:29:10 +0000 (13:29 +0800)]
[M108 Migration][VD]Dummy Implementation for web security API

ewk_settings_web_security_enabled_set/get

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

Change-Id: I7bcf6fa71c953bcdbe5fc5831f09114693fa6d32
Signed-off-by: jingjieli <jingjie.li@samsung.com>
14 months agoFix critical SVACE issue 43/290443/3 submit/tizen/20230327.160013
v-saha [Fri, 24 Mar 2023 13:02:47 +0000 (18:32 +0530)]
Fix critical SVACE issue

This patch fixes some critical SVACE issues.

Change-Id: I48296ccf49643421f7210d8d8d0502f31f38705a
Signed-off-by: v-saha <v.saha@samsung.com>
14 months ago[M108 Migration][VD] Enable Suspend & resume feature 35/290335/11
jiangyuwei [Thu, 23 Mar 2023 07:43:29 +0000 (15:43 +0800)]
[M108 Migration][VD] Enable Suspend & resume feature

Because RenderViewObserverEfl unavailable in M108,
so need to implement in widget.mojom

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

Change-Id: Ib558fcb5a21f34c0aaf7946b07c161342ee74e1a
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
14 months agoFix major SVACE issues 39/290439/3
Ayush Kumar [Fri, 24 Mar 2023 07:50:10 +0000 (13:20 +0530)]
Fix major SVACE issues

This patch fixes major SVACE issues.

Change-Id: Ie5fbe44a3aa99aa1589718a8d7d64d75453ef5d0
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
14 months agoAdd IS_TIZEN guard for XWalkExtension 59/290459/4
DongHyun Song [Mon, 27 Mar 2023 00:21:03 +0000 (09:21 +0900)]
Add IS_TIZEN guard for XWalkExtension

XWalkExtension can be enabled with IS_TIZEN and this will
fix build break for the desktop profile.

Change-Id: I0edb4a3c33a42a4637bebce0b3c74cd683f8ccf2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
14 months ago[M108 Migration][VD] Support floating video window 96/290296/3
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>
14 months ago[M108 Aura Migration][WebRTC] Camera implementation related patches 87/290287/3
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>
14 months ago[M108 Aura Migration][NaCl][PPAPI] Fix crash related to Pepper Var object and ~VarTracker 24/289524/3
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>
14 months ago[M108 Migration][API] Fix the webview transparency related API 03/289803/7
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>
14 months ago[M108 Aura Migration][NaCl][PPFW] Fix memory leaks when reloading iframe 07/290007/2 submit/tizen/20230324.160014
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>
14 months ago[M108 Migration][Build system] Fix desktop build break 61/290361/4
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>
14 months ago[M108 Migration][Loading Performance] Add cache for mismatched SkTypeface 11/290311/3
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>
14 months ago[M108 Migration][API] Implement ewk_view_edge_scroll_by for all profiles 98/290198/4
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>
14 months ago[M108 Migration][VD] Fix Fonts Issue 04/289304/2
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>
14 months ago[MemOpt] Disable JPEG XL image decoding 90/290290/5
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>
14 months ago[M108 Migration][Loading Performance] Introduce |BeginMainFrame| throttling 09/290309/3
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>
14 months ago[M108 Migration][Loading Performance] Apply to prevent incremental image rendering 10/290310/3
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>
14 months ago[M108 Migration] Remove unapproved API from the public header. 22/290322/2
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>
14 months ago[M108 Migration] ImageCapture support for video capture device. 73/290273/3
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>
14 months agoBinding XWalkExtension for Efl classes 64/290164/7
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>
14 months ago[WRTjs] Block new thread creation while prepare app 17/290117/5 submit/tizen/20230323.160013
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>
14 months ago[M108 Aura Migration][NaCl][W3C][Gamepad]Support gamepad w3c apis 47/290247/3
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>
14 months ago[M108 Migration][WRTjs][VD] Add more webapis so for preloading 57/290257/2
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>
14 months ago[M108 Migration] Segregate RWHVAuraOffscreenHelperEfl for both rendering modes 98/289698/8
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>
14 months ago[M108 Migration][MM] Seperate MediaPlayerESPlusPlayer class for TV. 72/290272/3
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>
14 months agofixup! [M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode. 84/290284/2
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>
14 months agoFix SVACE issue 39/290139/12
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>
14 months ago[M108 Migration] Use |spawn| option for starting subprocesses. 79/290279/2
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>
14 months ago[MemOpt] Disable print preview and out-of-process printing 21/290221/2 submit/tizen/20230322.160014
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>
14 months agofixup! [M108 Migration] Support standard build for armv7hl architecture 58/290258/2
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>
14 months ago[M108 Aura Migration][NaCl][PPAPI]Fix up TCP socket issue 57/290157/2
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>
14 months ago[M108 Aura Migration][NaCl][PPFWK]Fix tpk loading fail issue 67/290067/3
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>
14 months agoUse BUILDFLAG(IS_XXX) for OS checking. 02/290202/6
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>
14 months ago[M108 Migration][MM] Clean codes in esplusplayer_util. 01/290201/3
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>
14 months ago[WRTjs] Fix build error while copying plugins json 00/290200/2 submit/tizen/20230321.160020
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>
14 months agoIgnore not needed directories to reduce source code size 63/290163/4
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>
14 months ago[SlimDownCode] Remove //build/linux/debian* files 86/290186/2
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>
14 months ago[M108 Migration] Change the Web Page scroll interval using the Keyboard 4 direction key 70/289670/3
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>
14 months ago[M108 Aura Migration][NaCl][PPAPI] Antialiasing for NaCl Graphics 3D 49/290149/2
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>
14 months ago[MM] Fix the issue that video hole is not enabled. 33/290033/6
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>
14 months ago[M108 Migration][MM] Support suspend and resume using MediaCapabilityManager. 55/290055/5
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>
14 months ago[WRTjs] Move xwalk_extenions to tizen_src 70/289970/9
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>
14 months agofixup! [MM] Use ESPP for media rendering 22/290122/2
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>
14 months agofixup! [M108 Migration] Enable proper functionality for ewk_view_text_selection_clear API 23/290123/2
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>
14 months agoFix critical SVACE issue 75/289975/9
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>
14 months ago[M108 Migration][VD] Support Root/Client/webSDI/Dynamic Certificate 87/289587/4 submit/tizen/20230320.160014
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>
14 months agofixup! Bringup Upgradable Web Engine (UWE) 91/290091/3
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>
14 months ago[M108 Migration][MM] Enable AV1, VP9 and HEVC codec for 4k video support. 13/290013/3
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>
14 months agoFix critical SVACE issue 49/290049/2
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>
14 months ago[M108 Aura Migration][NaCl][PPFWK] Upgradable pepper plugin requirement 63/290063/2
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>
14 months agofixup! [NUI] NUI implementation for |SkiaRenderer| 14/290014/4
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

14 months ago[M108 Migration][VD] Implement mixed contents EWK interfaces 80/289680/5
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>
14 months agoRemoving not needed tools for tizen 15/289615/4
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>
14 months agoEnsure all gl calls are submitted to GPU 22/289922/4 submit/tizen/20230317.160013
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>
14 months agoRevert "[Offscreen] Fix for black screen on static pages" 06/290006/3
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

14 months ago[M108 Migration][VD] Fix filesystem Cannot Used in Source of iframe. 89/289389/2
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>
14 months agoRemove wayland from ozone platform build target 16/289816/4
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>
14 months ago[M108 Migration][WRTjs][VD] changing conformant style specifications 96/289996/2
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>
14 months agoRemove duplicate function definition 62/289662/2
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>
14 months ago[M108 Migration][SlimDownCode] Remove unused google-endpoints in //third_party/ 24/289924/2
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>
14 months ago[M108 Migration][MM] Disable video hole for emulator 80/289880/7
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>