platform/framework/web/chromium-efl.git
2 months ago[M130] Setting 'exclude_unwind_tables' gn flag to false for local build 12/321712/1 tizen.beta
Avinash Bhojwani [Tue, 18 Mar 2025 05:45:14 +0000 (11:15 +0530)]
[M130] Setting 'exclude_unwind_tables' gn flag to false for local build

This commit sets exclude_unwind_tables to false on local build to
facilitate debugging by allowing the use of stacktrace logs.

Change-Id: I051608eb9359313383146e3fe88134527557574b
Signed-off-by: Rituraj Rai <rituraj.rai@samsung.com>
2 months ago[M130] Use std::optional string for FontFaceCreationParams 10/320510/3
sidpaswan [Tue, 4 Mar 2025 10:51:15 +0000 (16:21 +0530)]
[M130] Use std::optional string for FontFaceCreationParams

In M130, tct-transitions tests crash after calling the dtor of FontFaceCreationParams while freeing the string. This patch uses std::optional<std::string> instead of std::string.

reference : https://chromium-review.googlesource.com/c/chromium/src/+/5629253

Change-Id: Icda090f72609fc95957e7019852cef44f6859c9c
Signed-off-by: sidpaswan <s.paswan@samsung.com>
2 months ago[M130] Tizen path refactoring 65/320065/17
Satyaveer Singh [Fri, 21 Feb 2025 10:29:46 +0000 (15:59 +0530)]
[M130] Tizen path refactoring

This commit refactors paths_efl.cc to provide common path dictionary
for efl/tizen environment.

Change-Id: I4a05a24c322421d8bf3b7f8e2a336d3ff8d23752
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agofixup! [M130][WRTjs] Fix compilation errors 94/320894/1
Suhas Poornachandra [Fri, 7 Mar 2025 12:37:21 +0000 (18:07 +0530)]
fixup! [M130][WRTjs] Fix compilation errors

request_header not being std::optional was blocking local audio and
video file from loading. This patch fixes the issue.

This patch fixes the blocks observed in tct-audio-html5-tests and
tct-video-html5-tests.

Change-Id: I0cad86c054c8fe1f6275c4666088d8c6614fe3d8
Signed-off-by: Suhas Poornachandra <s.poornachan@samsung.com>
3 months agofixup![M130 Migration][ROM Size] Move libatomic from BuildRequires 04/320704/2
Satyaveer Singh [Thu, 6 Mar 2025 06:57:00 +0000 (12:27 +0530)]
fixup![M130 Migration][ROM Size] Move libatomic from BuildRequires
to Requires

This commit removes /usr/local/lib/ rpath as it is no longer
needed since libatomic has been moved to Requires.

Change-Id: I08fff80af55a7b23f19e0d1d8db79611f9a1c01e
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agoRevert "fixup![M130 Migration][Chrome] Appfw integration for chrome" 83/320783/2
Satyaveer Singh [Fri, 7 Mar 2025 08:04:47 +0000 (08:04 +0000)]
Revert "fixup![M130 Migration][Chrome] Appfw integration for chrome"

This reverts commit 0d717384cf88e6553dc0c3d43c1b0c73a25ab4b9.

Reason for revert: proper fix has been pushed.
https://review.tizen.org/gerrit/320782

Change-Id: Ie2388173cdaa5c570eb3bd47013468dce42aa239

3 months agofixup![M130] Added electron, electron_node and wrt 82/320782/2
Satyaveer Singh [Fri, 7 Mar 2025 07:53:06 +0000 (13:23 +0530)]
fixup![M130] Added electron, electron_node and wrt

WRT tries to load chrome app resources which is not required.
As a result of it , few WebTCT failures were observed. This
commit fixes the same.

Change-Id: I4bce452d30d1b65746166da9e68c8311e9477ed8
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months ago[M130][MM] M130 TBM Bringup 19/319019/16
pranayc1 [Mon, 3 Feb 2025 07:50:46 +0000 (13:20 +0530)]
[M130][MM] M130 TBM Bringup

This patch enables the build with TIZEN_TBM_SUPPORT. Further functionality is to be added later.
This patch also uses the default software path for video playback.

Change-Id: Ie614eb67f05adc7b6568575b91663bdb8317f6bf
Signed-off-by: pranayc1 <pranay.c1@samsung.com>
3 months ago[MM][STT] Speech Recognition bring up. 53/320053/5
Suhas Poornachandra [Fri, 21 Feb 2025 06:27:46 +0000 (11:57 +0530)]
[MM][STT] Speech Recognition bring up.

This commits enables tizen path for Speech Recognition.
It also disables "enable_speech_service" flag which was during the M130
bringup.

Change-Id: I9c0306a381dfbca7989842646355e67dae652bc7
Signed-off-by: Suhas Poornachandra <s.poornachan@samsung.com>
3 months ago[M130 Migration] Appends default switches in chrome 37/320637/4
Avinash Bhojwani [Wed, 5 Mar 2025 06:48:33 +0000 (12:18 +0530)]
[M130 Migration] Appends default switches in chrome

Append default switches for VD Browser to chrome also
to align features with each other except offscreen rendering.
Reference: https://archive.tizen.org/gerrit/319195

Change-Id: I71679cf3003b3b9034e87205c71a05aa2fe28596
Signed-off-by: Avinash Bhojwani <avinash.b@samsung.com>
3 months ago[M130 Migration][ROM Size] Move libatomic from BuildRequires to Requires 77/320677/1 accepted/tizen/unified/20250306.094547 accepted/tizen/unified/x/20250306.134922
Satyaveer Singh [Wed, 5 Mar 2025 14:38:41 +0000 (20:08 +0530)]
[M130 Migration][ROM Size] Move libatomic from BuildRequires to Requires

This commit changes libatomic as Requires instead of BuildRequires in
spec file which expects the files to be added in platform image and
removes libatomic.so from final chromium rpm.

References:
1. https://archive.tizen.org/gerrit/314952
2. https://archive.tizen.org/gerrit/315686

Change-Id: I36e17502ae89bb53e8aba82206aabf0cc769b89d
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agofixup! [M130 Migration][NUI][Rendering] Support ecore_evas sw backend 18/320518/3
sidpaswan [Tue, 4 Mar 2025 11:42:40 +0000 (17:12 +0530)]
fixup! [M130 Migration][NUI][Rendering] Support ecore_evas sw backend

This patch fixes re-introduced black screen issue when launching webapp.
Start the BrowserGpuChannelHostFactory after GLSharedContextEfl has been initialized as it was the case before.

Change-Id: I9c953c6b34a2c82ce3eb1c6ddb08b22a0744d176
Signed-off-by: sidpaswan <s.paswan@samsung.com>
3 months agofixup![M130 Migration][Chrome] Appfw integration for chrome 70/320370/9
Satyaveer Singh [Thu, 27 Feb 2025 09:52:00 +0000 (15:22 +0530)]
fixup![M130 Migration][Chrome] Appfw integration for chrome

With patch[1]:
few webTCT tcs were failing because chrome_100_percent.pak and
resources.pak are placed in different directory than required during webTCT run. This commit ensures that above .pak files are correctly copied in required directory and packaged in rpm.
[1]: https://review.tizen.org/gerrit/319474

Change-Id: I73d6dcb72727303aec347fff1c145b2066d46ae3
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months ago[M130 Migration] Disable crashpad initialization 56/320456/2
Satyaveer Singh [Mon, 3 Mar 2025 12:15:36 +0000 (17:45 +0530)]
[M130 Migration] Disable crashpad initialization

This commit disables the crash reporter.

Reference: https://archive.tizen.org/gerrit/320242/

Change-Id: I22fa3dff737c8c4a4416eeb7d71d5f238659a02d
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agoEnabled CHECK() logs for m130 Tizen Profile 27/318827/7
Sumant Chaudhary [Fri, 24 Jan 2025 11:06:17 +0000 (16:36 +0530)]
Enabled CHECK() logs for m130 Tizen Profile

CHECK() print log showing filename,function and line number in the dlogutil.

Change-Id: If90fcf2be144fa68eaa7302c3457ae9d61a8d55b
Signed-off-by: Sumant Chaudhary <sumant.c@samsung.com>
3 months agoFix for aarch64 build errors 84/320384/1 submit/tizen/20250228.160019
Chandan Padhi [Thu, 27 Feb 2025 14:57:36 +0000 (20:27 +0530)]
Fix for aarch64 build errors

Change-Id: I8e52982ac7722f174e01d7911969b1d8c2dfc5ef
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 months agoFix compiler errors for riscv on Tizen 10.0 76/320376/3 submit/tizen/20250227.160019
uzair [Thu, 27 Feb 2025 11:04:39 +0000 (16:34 +0530)]
Fix compiler errors for riscv on Tizen 10.0

Below changes fix all related compiler and linker errors
for riscv profile

Change-Id: I53ba51ec66ef248a8dd781184fba48e05b0342cd
Signed-off-by: uzair <uzair.jaleel@samsung.com>
3 months agofixup! Fix build error for x86_64 68/320368/1
Chandan Padhi [Thu, 27 Feb 2025 10:05:02 +0000 (15:35 +0530)]
fixup! Fix build error for x86_64

Change-Id: I2d5e0bc9c110c674d342cbd5790b0720a128548a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 months ago[M130 Migration] Add EWK API interfaces for dynamic IME, webauthn and mouse event 16/320316/2
v-saha [Wed, 26 Feb 2025 12:23:49 +0000 (17:53 +0530)]
[M130 Migration] Add EWK API interfaces for dynamic IME, webauthn and mouse event

This commit adds missing EWK API interfaces to fix
build errors in VD QB for dali-extension.

References:
https://review.tizen.org/gerrit/316934
https://review.tizen.org/gerrit/317302
https://review.tizen.org/gerrit/317320

Change-Id: I02cbd20ae11fd4c0f7f3bb616345708aa8fe7cdf
Signed-off-by: v-saha <v.saha@samsung.com>
3 months agoFix chrome launch error on desktop 11/320311/2
Chandan Padhi [Wed, 26 Feb 2025 10:08:15 +0000 (15:38 +0530)]
Fix chrome launch error on desktop

This commit fixes below error at chrome launch on desktop.

/out.chrome.x64/chrome_tizen: error while loading shared libraries:
libchromium-ewk.so: cannot open shared object file: No such file or directory

Change-Id: I69031292a0d101c0c91cb87ce4b5e89ddb472b32
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 months agoFix build error for x86_64 15/320315/1
Chandan Padhi [Wed, 26 Feb 2025 12:29:05 +0000 (17:59 +0530)]
Fix build error for x86_64

Change-Id: Ia0ae59c9b5feffee235291b420c3b2020468cc97
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
3 months agoFix ffmpeg build errors for riscv64 04/320304/1 submit/tizen/20250226.160035
Insoon Kim [Wed, 26 Feb 2025 08:49:39 +0000 (17:49 +0900)]
Fix ffmpeg build errors for riscv64

Change-Id: Ia6bdf20c95eba6fe4ac0ad45183527f59ba80b10
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 months agoFix to support riscv64 for tizen 10 unified build 83/320283/2
Insoon Kim [Wed, 26 Feb 2025 06:08:40 +0000 (15:08 +0900)]
Fix to support riscv64 for tizen 10 unified build

This also updated tizen default version to 10 and enabled build_chrome
by default

Change-Id: I8b88959614d93135d0277c52d3fa66019958147d
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 months agofixup! Fix build errors for tizen sbs 81/320281/1
Insoon Kim [Wed, 26 Feb 2025 05:01:35 +0000 (14:01 +0900)]
fixup! Fix build errors for tizen sbs

Change-Id: I397b3e7e01d843bd3bdff164d6db35e511971d75
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 months agoFix build errors for tizen sbs 66/320266/1
Insoon Kim [Wed, 26 Feb 2025 03:32:06 +0000 (12:32 +0900)]
Fix build errors for tizen sbs

Change-Id: I30805996ce38755fbccf6c0f81ec5ff082b689b5
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
3 months ago[M130 Migration][NUI][Rendering] Support ecore_evas sw backend 56/320056/5
v-saha [Fri, 21 Feb 2025 08:31:33 +0000 (14:01 +0530)]
[M130 Migration][NUI][Rendering] Support ecore_evas sw backend

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

It also resolves the build errors after TBM is enabled.

Reference: https://archive.tizen.org/gerrit/308815

Change-Id: I6fb6bb5d5f1b8dbe8ba1d7f25bf86bb572f08d7b
Signed-off-by: v-saha <v.saha@samsung.com>
3 months agoFix for build errors due to ninja upgrade 33/320233/2
uzair [Tue, 25 Feb 2025 15:00:20 +0000 (20:30 +0530)]
Fix for build errors due to ninja upgrade

Below change fixes build break on chromium-efl side due
upgrading ninja to higher version 1.12.1

Change-Id: I6509382f3724263a3c807a1624c7b9d36b64c0c1
Signed-off-by: uzair <uzair.jaleel@samsung.com>
3 months ago[M130] Fixing Geoallow WebTCT's Failure Testcases 72/319872/8 submit/tizen/20250225.160418
Avinash Bhojwani [Wed, 19 Feb 2025 04:53:10 +0000 (10:23 +0530)]
[M130] Fixing Geoallow WebTCT's Failure Testcases

All the tct-geoallow-w3c-tests are passing with this patch.
Reference: https://archive.tizen.org/gerrit/286929

Change-Id: Ic5f8ab87712a41a83bf2efcbe962ec8d5bf8bada
Signed-off-by: Avinash Bhojwani <avinash.b@samsung.com>
3 months ago[M130] Fixing geolocation crash 68/319668/8
Avinash Bhojwani [Fri, 14 Feb 2025 11:07:44 +0000 (16:37 +0530)]
[M130] Fixing geolocation crash

This commit fixes the crash that was being observed
while running geolocation WebTCTs. network_context_
was not initialized and GetContext was returning NULL.

Change-Id: I6f4b91054d4346ae6d112f59f132ada100aac389
Signed-off-by: Avinash Bhojwani <avinash.b@samsung.com>
3 months ago[M130 Migration] Use cynara API to get smack label 31/319731/4
Satyaveer Singh [Mon, 17 Feb 2025 05:42:02 +0000 (11:12 +0530)]
[M130 Migration] Use cynara API to get smack label

This commit uses cynara API to get smack label instead of
reading '/proc/self/attr/current' directly.

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

Change-Id: I1778808ba69b888cb41437047d09c793d7855c12
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agofixup! [M130][WRTjs] Fix wgtapi01, widgte01 webTCT failures 37/320137/8
sidpaswan [Mon, 24 Feb 2025 08:49:25 +0000 (14:19 +0530)]
fixup! [M130][WRTjs] Fix wgtapi01, widgte01 webTCT failures

Use "SetNativeDataProperty" instead of "SetAccessorProperty"to properly set the v8 property accessor without its parent accessor included.

Change-Id: Ie4b1d0355429960b8d3e83098228af84ee79e94f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
3 months ago[M130 Migration][Chrome] Appfw integration for chrome 74/319474/13
Satyaveer Singh [Tue, 11 Feb 2025 10:49:23 +0000 (16:19 +0530)]
[M130 Migration][Chrome] Appfw integration for chrome

This commit adds appfw along with direct launch support to
chrome browser.

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

Change-Id: I3b71c77bb9368ebab121c3fcb418c0c5d8f20315
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
3 months agofixup! [M130] Remove testonly = true flag in BUILD.gn 79/319979/5
sidpaswan [Thu, 20 Feb 2025 11:48:10 +0000 (17:18 +0530)]
fixup! [M130] Remove testonly = true flag in BUILD.gn

chromium-efl's dependency on content_shell.pak has been removed, due to which wrt-loader was crashing.
This patch updates it with correct path.

Change-Id: I10e9630feae24220e3a29520fcb3d8e66a7ef3b5
Signed-off-by: sidpaswan <s.paswan@samsung.com>
3 months ago[M130 Migration][WRTjs] Fix camera permission denied issue 90/319890/3
Suhas Poornachandra [Wed, 19 Feb 2025 07:27:48 +0000 (12:57 +0530)]
[M130 Migration][WRTjs] Fix camera permission denied issue

In PermissionControllerDelegate::GetPermissionResultForCurrentDocument,
PermissionStatus::DENIED is return as default, so can't use camera for webapp.

Override GetPermissionResultForCurrentDocument in WRT, return PermissionStatus::GRANTED.

Reference:
https://archive.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/320962

Change-Id: Iab3153c4f310c7696eb6234e1011d34877563bc8
Signed-off-by: Suhas Poornachandra <s.poornachan@samsung.com>
3 months ago[M130] Refactoring and CleanUp task 55/319755/6
amarjit31 [Mon, 13 Jan 2025 12:00:48 +0000 (17:30 +0530)]
[M130] Refactoring and CleanUp task
Removes unwanted header files.

Change-Id: I67a65f0ffc17cc0a79945d4512d6da00427fc93f
Signed-off-by: amarjit31 <amarjit.g@samsung.com>
Signed-off-by: Rituraj Rai <rituraj.rai@samsung.com>
3 months ago[M130][WRTjs] Fix wgtapi01, widgte01 webTCT failures 13/319613/5
sidpaswan [Thu, 13 Feb 2025 11:57:55 +0000 (17:27 +0530)]
[M130][WRTjs] Fix wgtapi01, widgte01 webTCT failures

- For window object property name is accessed from the FunctionCallbackInfo 'Array' and
the corresponding object for the property name is obtained and set.

- The return value of getter and setter for NamedPropertyHandlerConfiguration is set accordingly
when WRT interceptor handles the request(kYes) vs when it should be looked beyond the interceptor(kNo)

Change-Id: Ie00826cdf9368d5479eb7c400a580ebd3d8acc00
Signed-off-by: sidpaswan <s.paswan@samsung.com>
3 months agoFix WebTCT auto extra-html5-tests blocked cases. 35/319535/5
chiragmaheshwari [Wed, 12 Feb 2025 12:10:30 +0000 (17:40 +0530)]
Fix WebTCT auto extra-html5-tests blocked cases.

This patch fixes datetime crash which was due to switch case not handled for kDateTime type in function MillisecondsSinceEpoch.

Change-Id: I5e48369204637a84f3d3dc76ae3f702cb53e1dc1
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
3 months ago[M130 Migration][ROM Size] Disable test trace processor for tizen 56/319656/2
Rituraj Rai [Fri, 14 Feb 2025 07:26:07 +0000 (12:56 +0530)]
[M130 Migration][ROM Size] Disable test trace processor for tizen

This commit disables test trace processor for tizen and removes
libtest_trace_processor.so from the final chromium-efl rpm.

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

Change-Id: I87fdb286c068b8c4adede3f7daea89b1de1378fa
Signed-off-by: Rituraj Rai <rituraj.rai@samsung.com>
3 months ago[M130] Remove testonly = true flag in BUILD.gn 26/319526/4
Rituraj Rai [Wed, 12 Feb 2025 09:11:46 +0000 (14:41 +0530)]
[M130] Remove testonly = true flag in BUILD.gn

testonly flag should be defined for test related modules only.

This commit also removes chromium-efl's dependency on content_shell.pak,
now it is are generating its own pak file named ewk_efl_resources.pak

Change-Id: Idbf20e8e09797acc286a226998d990454e1e290e
Signed-off-by: Rituraj Rai <rituraj.rai@samsung.com>
4 months agoAdd use-wayland build switch for desktop build 01/318401/3
Insoon Kim [Thu, 16 Jan 2025 08:11:46 +0000 (17:11 +0900)]
Add use-wayland build switch for desktop build

Change-Id: If77274e44caf33cf3bdf857fe0f694be20c3f364
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
4 months ago[M130][WRTjs] Fix Black Screen issue on webapp launch 36/319336/5
sidpaswan [Fri, 7 Feb 2025 12:21:08 +0000 (17:51 +0530)]
[M130][WRTjs] Fix Black Screen issue on webapp launch

This patch fixes the black screen issue faced when launching
webapplication

Reference: https://archive.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/311079

Change-Id: I8c8ce7afbd6dd5d6b0476d81c52cd3b491beec30
Signed-off-by: sidpaswan <s.paswan@samsung.com>
4 months ago[M130][WRTjs] Fix compilation errors 74/318874/20
sidpaswan [Wed, 29 Jan 2025 11:04:11 +0000 (16:34 +0530)]
[M130][WRTjs] Fix compilation errors

This patch fixes the build errors for electron v33.3.0

Change-Id: Iadb6f2eebf2723d4f44c1e3e4cc259e037642f94
Signed-off-by: sidpaswan <s.paswan@samsung.com>
4 months ago[M130] Added electron, electron_node and wrt 94/318694/5
sidpaswan [Wed, 22 Jan 2025 07:31:57 +0000 (13:01 +0530)]
[M130] Added electron, electron_node and wrt

Added updated electron and electron_node
repository to the following respective versions:

electron: v33.3.0
electron_node v20.18.1

Change-Id: I482480a79ce0cb7cb90e0d76168e3eb2abf7054c
Signed-off-by: sidpaswan <s.paswan@samsung.com>
4 months ago[M130] Fix NativeTCT Failures 56/318856/10
Satyaveer Singh [Tue, 28 Jan 2025 05:50:07 +0000 (11:20 +0530)]
[M130] Fix NativeTCT Failures

This commit fixes below failures:
1) utc_webkit2_ewk_manifest_background_color_get_p
2) utc_webkit2_ewk_view_javascript_message_handler_add_p
3) utc_webkit2_ewk_intercept_request_headers_get_p
4) utc_wekbit2_ewk_context_form_autofill_profile_add_remove_p
5) utc_webkit2_ewk_context_form_password_data_delete_all_p
6) Itc_ewk_intercept_request_response_write_chunk_p

Change-Id: I25168ed704c95e35ab008eb73dd622341e512656
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
Signed-off-by: Avinash Bhojwani <avinash.b@samsung.com>
4 months ago[M130] Fix Chrome launch crash on TV and RPI4 11/318911/11
utkarshlal [Fri, 31 Jan 2025 10:53:31 +0000 (16:23 +0530)]
[M130] Fix Chrome launch crash on TV and RPI4

ecore_evas_new call was causing crash on Tizen 10
This commit temporarily disables call

Change-Id: I96968c473a7ac7bb7ce8512ddf9af6135d704b5d
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
4 months ago[M130][MM] Remove EWK_BRINGUP to enable videohole 06/318706/7
pranayc1 [Wed, 22 Jan 2025 06:33:45 +0000 (12:03 +0530)]
[M130][MM] Remove EWK_BRINGUP to enable videohole

This change removes EWK_BRINGUP to enable
the videohole path for video playback.

Change-Id: I90771917efb2784e49664454eb65122378f1a6e0
Signed-off-by: pranayc1 <pranay.c1@samsung.com>
4 months ago[M130][Autofill] Enable autofill and fix crashes during ubrowser launch 77/318877/4
Gajendra N [Thu, 30 Jan 2025 06:49:19 +0000 (12:19 +0530)]
[M130][Autofill] Enable autofill and fix crashes during ubrowser launch

a) Crash related to BrowserAutofillManager ctor, reason being
   GetPaymentAutofillClient() returning null

   Implemented PaymentAutofillClientEfl in tizen_src.

b) Crash related to a autofill pref not registered
   FATAL:pref_service.cc(692)] Check failed: pref_registry_->defaults()->GetValue(path, &default_value).
   Trying to access an unregistered pref: autofill.payment_card_benefits

   Registered kAutofillPaymentCardBenefits pref.

Change-Id: I3303699e96b2999dd0dee1b0e650750f475be461
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
4 months ago[Clang] Upgrade to Clang 20 02/318802/8
Gajendra N [Fri, 24 Jan 2025 06:56:29 +0000 (12:26 +0530)]
[Clang] Upgrade to Clang 20

Qemu accelerate chromium clang to use for Tizen GBS builds.

Change-Id: I5ca80f87fe898397081b34afad5bb4e82572bfe9
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
4 months ago[M130 Migration] Remove CSP changes for turnstile frame-src fail 09/318909/2
v-saha [Fri, 31 Jan 2025 10:01:11 +0000 (15:31 +0530)]
[M130 Migration] Remove CSP changes for turnstile frame-src fail

Temporarily remove the CSP change to fix the CSP issue that about:blank
url is blocked by CSP frame-src.

Reference: https://archive.tizen.org/gerrit/320831

Change-Id: I25072a4801e2df6f746b583f60f67eb8936d37d2
Signed-off-by: v-saha <v.saha@samsung.com>
4 months ago[M130 Migration] Apply CSP rules to blink::PolicyContainer 06/318906/2
utkarshlal [Fri, 31 Jan 2025 09:47:45 +0000 (15:17 +0530)]
[M130 Migration] Apply CSP rules to blink::PolicyContainer

Document's CSP policies vector should be in sync with PolicyContainer,
hence append the rules to the container's vector as well.

Change-Id: I36d392a120349c3dc77a46f54bdd2f84f1623a32
Reference: https://review.tizen.org/gerrit/c/315559
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
4 months agoInclude controlTV.edc only for tizen 01/318701/2
Avinash Bhojwani [Wed, 15 Jan 2025 06:10:08 +0000 (11:40 +0530)]
Include controlTV.edc only for tizen

This commit ensures that controlTV.edc is only included
for tizen

Change-Id: If59684af36683f7e455c81f93e2a0dc7ff45e3d1
Signed-off-by: Avinash Bhojwani <avinash.b@samsung.com>
4 months ago[M130][Tizen] Fix build errors for tizen standard profile 09/317809/18
Suhas Poornachandra [Tue, 21 Jan 2025 10:09:30 +0000 (15:39 +0530)]
[M130][Tizen] Fix build errors for tizen standard profile

Change-Id: Ia5c74fa0f64892f48a009b60869942ce43b63e6d
Signed-off-by: Suhas Poornachandra <s.poornachan@samsung.com>
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
4 months ago[M130] Fix for hang/crash at ewk webview launch 35/318335/3
Chandan Padhi [Wed, 15 Jan 2025 16:11:22 +0000 (21:41 +0530)]
[M130] Fix for hang/crash at ewk webview launch

This commit fixes hang/crash issues at efl_webview_app/ubrowser launch.

Change-Id: I69f64a24ef30e9112766406482c26ec96a618b9b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
4 months agofixup! [M126 Migration] Apply SW backend related patches 78/318378/2
YongGeol Jung [Thu, 16 Jan 2025 06:54:49 +0000 (22:54 -0800)]
fixup! [M126 Migration] Apply SW backend related patches

Apply this for desktop build also.

Change-Id: I287da6c9a7d706656e23a998c1fbf2723ab99100
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
4 months agoUse host build deps for desktop build by default 83/317983/6
Insoon Kim [Mon, 6 Jan 2025 07:13:56 +0000 (16:13 +0900)]
Use host build deps for desktop build by default

Change-Id: If38901cbbe0758379448df713f2f43e5b133a95b
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
5 months agoFix desktop build related to dgettext on host deps 45/317945/1
Insoon Kim [Fri, 10 Jan 2025 04:54:19 +0000 (13:54 +0900)]
Fix desktop build related to dgettext on host deps

Change-Id: Id7197dac389a7e4d6c2f75959b1cd50429708812
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
5 months ago[M130][EFL] Fix build errors for desktop profile 86/317486/12
v-saha [Thu, 2 Jan 2025 12:52:35 +0000 (18:22 +0530)]
[M130][EFL] Fix build errors for desktop profile

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

Change-Id: Iebae23150a8f620a8fe1ac18c48a710e58bbabd1
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 months ago[M130 Migration] Sync |WebContentsViewAura::window_| and WebView 13/317813/3
Jinwoo Kwon [Fri, 6 Sep 2024 08:49:16 +0000 (17:49 +0900)]
[M130 Migration] Sync |WebContentsViewAura::window_| and WebView

Usually, the size of |WebContentsViewAura::window_| is set in
|RWHVAuraOffscreenHelperEfl::OnParentViewResize|. However, if
|EWebView::HandleResize| is called before attaching
|RenderWidgetHostViewAura|, this operation is not executed.
In this case, call |SetBounds| function so that size setting
is correct.

References:
[1] [M120 Migration][VD] Sync |WebContentsViewAura::window_| and WebView
https://archive.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/317260/

[2] [NUI] Fixed the problem that the NUI app is not visible in the public profile
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/317462

Change-Id: I84c8a28d0fd706cd488ab40c6edadd3d4424629c
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
5 months ago[Rendering] Do not clear gl context after compositing 95/317795/1
YongGeol Jung [Wed, 8 Jan 2025 04:28:36 +0000 (20:28 -0800)]
[Rendering] Do not clear gl context after compositing

This modification is a requirement of UI FW part. The gl context
should not be cleared to call the fence sync on the evasgl side.

Change-Id: I4866b2f544c3eba608a3cc4af682c788eb56b392
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
5 months agofixup! Upload upstream chromium 130.0.6723.116 Part-5 85/317585/1
Chandan Padhi [Fri, 3 Jan 2025 11:24:33 +0000 (16:54 +0530)]
fixup! Upload upstream chromium 130.0.6723.116 Part-5

This commit adds the missing untracked files from //third_party.

Change-Id: Iecfff16939e4eb41cd12db13415c7494cc3b340c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 months agoUpload upstream chromium 130.0.6723.116 Part-5 94/317494/3
Chandan Padhi [Thu, 2 Jan 2025 16:02:15 +0000 (21:32 +0530)]
Upload upstream chromium 130.0.6723.116 Part-5

This is a patch for upstream m130 - m126.

This commit adds the gitignored files/folders of third_party/.

Change-Id: I9d258cb301924038a4ae9e859b542827f54836e4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
5 months ago[M126 Migration] Remove OnParentViewResize in destruction. 91/316891/8
Pranay Chauhan [Thu, 19 Dec 2024 06:06:53 +0000 (11:36 +0530)]
[M126 Migration] Remove OnParentViewResize in destruction.

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

Reference: https://archive.tizen.org/gerrit/308705

Change-Id: I17e3dbb5717092586bb6a043936cb500ca6e4df3
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
5 months agoUpload upstream chromium 130.0.6723.116 Part-1 72/316572/3
Suhaspoornachandra [Fri, 13 Dec 2024 11:00:53 +0000 (16:30 +0530)]
Upload upstream chromium 130.0.6723.116 Part-1

This is a patch for upstream m130 - m126.

This patch doesn't include third_party/ related changes,
They will be pushed in other parts.

* chromium
6ac35f94ae3d01152cf1946c896b0678e48f8ec4
Setting version to 130.0.6723.116

* v8
9ae5f73732808d0b574e8efe88fcdbc72850fbd0
Version 13.0.245.18

* skia
3c64459d5df2fa9794b277f0959ed8a92552bf4c
Update mac_toolchain

Change-Id: Ia62d80f20874bfa38ad7cbfb14ef083a3d5c9b09
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
5 months agoUpload upstream chromium 130.0.6723.116 Part-2 16/316316/3
Suhaspoornachandra [Fri, 13 Dec 2024 12:33:29 +0000 (18:03 +0530)]
Upload upstream chromium 130.0.6723.116 Part-2

This is a patch for upstream m130 - m126.

This patch includes first part of third_party/ related changes to M130

Change-Id: Id27a5e11d35d4b9fda470df8520e9695d2335397
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
5 months agoUpload upstream chromium 130.0.6723.116 Part-3 97/316297/3
v-saha [Wed, 11 Dec 2024 15:18:22 +0000 (20:48 +0530)]
Upload upstream chromium 130.0.6723.116 Part-3

This is a patch for upstream m130 - m126.

This patch includes second part of third_party/ related changes to M130

Change-Id: I26a198b6a36e19b3b91deed3e00c287a0d3faa4b
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
5 months agoUpload upstream chromium 130.0.6723.116 Part-4 91/316291/3
v-saha [Thu, 12 Dec 2024 07:02:48 +0000 (12:32 +0530)]
Upload upstream chromium 130.0.6723.116 Part-4

This is a patch for upstream m130 - m126.

This patch includes third part of third_party/ related changes to M130

Change-Id: I1b2198e06699d76c8dacac3154e17085e3e489e9
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
6 months agoFix the rpm spec parsing error in VD cosmos build 64/316264/2
Insoon Kim [Thu, 12 Dec 2024 07:14:57 +0000 (16:14 +0900)]
Fix the rpm spec parsing error in VD cosmos build

rpm spec parsing error occurs in %include macro due to the absence of `chromium-efl-engine.spec.inc` file during VD cosmos private build.
To avoid the parsing error, use %expand macro instead of %include macro.

Change-Id: I877cfd3e3526484fe3ca7733583101c311433ad3
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
6 months ago[M126 Migration] Migrate process title related patches 64/316164/4
uzair [Wed, 11 Dec 2024 06:26:35 +0000 (11:56 +0530)]
[M126 Migration] Migrate process title related patches

1. In Chromium upstream, child process's title has been set by adding all command line switch. But it is not actually useful and causes some
problems. For instance, crash manager cannot create a file because a title is too long and it has illegal characters. So, this patch sets process title by adding only process type and service type.

2. This change corrects the originally migrated patch to store the process path in arg[0] and rest of flags in arg[1] properly.

3. As we use setenv to update certain environment vars in chromium-efl,comparing the memory location of process environment vars with default|environ| would fail. So this change removes the check for efl port.

Reference:https://archive.tizen.org/gerrit/286539

Change-Id: Ia5075e2206ab23c2c6623592d825de81798e6ba5
Signed-off-by: uzair <uzair.jaleel@samsung.com>
6 months agoFix crash on VD browser new tab with USB camera 65/315965/4
Pranay Chauhan [Fri, 6 Dec 2024 15:28:15 +0000 (20:58 +0530)]
Fix crash on VD browser new tab with USB camera

Added the enum values used in VideoCaptureApi to allow mojom conversion.

ReadAvailabality() call is introduced in M126, this needs to be checked
and implemented for Tizen Camera, will be enabled during M130 Bringup.

Change-Id: I4d78e49d132e61b4ccc7b92ed937d53510d6ff75
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
6 months agoM126 Migration][WebRTC] Enable H264 codec 41/315841/1 tizen_tizeniot_tpk
Pranay Chauhan [Thu, 5 Dec 2024 06:40:28 +0000 (12:10 +0530)]
M126 Migration][WebRTC] Enable H264 codec

This patch enables H264 for WebRTC,
ffmpeg_branding to "Chrome" is already set in previous patches

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

Change-Id: I8468270784059284c8711a6244e6436cd087e84b
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
6 months ago[WRTjs] build wrt executables using platform gcc 49/315549/2
SangYong Park [Tue, 3 Dec 2024 04:58:15 +0000 (13:58 +0900)]
[WRTjs] build wrt executables using platform gcc

For avoiding crash by exception handling in xwalk extentions.

Change-Id: Iec4d6e0561ec1c3adc3976f1bf0f3efe10f0833d
Signed-off-by: SangYong Park <sy302.park@samsung.com>
6 months agofixup! Introduce new sub rpm package for UWE 25/315625/1
SangYong Park [Tue, 3 Dec 2024 22:38:15 +0000 (07:38 +0900)]
fixup! Introduce new sub rpm package for UWE

Fix build error with '--disable-build-chrome' option.

Change-Id: Ia2ceab611a44c31f0ba24f69686030e9b20bf0f2
Signed-off-by: SangYong Park <sy302.park@samsung.com>
6 months agoIntroduce new sub rpm package for UWE 39/315339/2
Insoon Kim [Fri, 29 Nov 2024 05:50:04 +0000 (14:50 +0900)]
Introduce new sub rpm package for UWE

Add new rpm package for M126 UWE development. This package includes the
chromium-efl library and resources in /usr/share/chromium-efl for UWE.
And chrome_tizen is directly linked with impl.so for accessing
ChromeMain() symbol.

Change-Id: I1295fc6a3089e640c8a705726fda5c8b427fabe5
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
6 months agoFix WebTCT auto/manual canvas failures 12/321112/7
Satyaveer Singh [Wed, 27 Nov 2024 12:15:40 +0000 (17:45 +0530)]
Fix WebTCT auto/manual canvas failures

Goal is to not accelerate small size canvases, so,
AcceleratedSmallCanvasesEnabled() should be false for small size canvases.
Initially, above flag value is changing again to true even after setting
it as false. This commit fixes the same.

This commit fixes below canvas tcs:
[Auto]
1) 2d.imageData.get.source.outside.html
2) 2d.path.arc.selfintersect.1.html

[Manual]
1) 2d.gradient.interpole.zerosize.fillText
2) 2d.gradient.interpole.zerosize.strokeText

Change-Id: I41905eccb6bb11058645da463ef5bcbae44f4386
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
6 months ago[WebRTC][MM] Remove EWK_BRINGUP in UserMediaProcessor 46/321146/3
Pranay Chauhan [Thu, 28 Nov 2024 06:35:55 +0000 (12:05 +0530)]
[WebRTC][MM] Remove EWK_BRINGUP in UserMediaProcessor

This change removes EWK_BRINGUP inside SelectVideoDeviceSettings
in UserMediaProcessor.

Change-Id: Iaedb09400a1b643d052cff4c2f3193ae69f5ba31
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
6 months ago[M126 Migration][MM]Support YUYV and MJPEG formats for Camera 06/321106/2
Suhaspoornachandra [Thu, 7 Nov 2024 12:22:53 +0000 (17:52 +0530)]
[M126 Migration][MM]Support YUYV and MJPEG formats for Camera

This patch adds support for the MJPEG and YUYV formats for
Camera.

It also adds error correction case for OnCameraCaptured libyuv convert
calls and reduces code duplication.

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

Change-Id: Ife1d3e608e428255688cb69b4535a06164df4b64
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
6 months ago[WRTjs] Fix invalid preference data of app data 99/321099/2
SangYong Park [Wed, 27 Nov 2024 10:09:01 +0000 (19:09 +0900)]
[WRTjs] Fix invalid preference data of app data

. Add preference data to wrapper class for avoiding to access
  deleted temp string variable by copy constructor of wgt manifest
  handlers's Preference class method.
. Remove local variable name conflict

Change-Id: Ib94062d61289fa1472f9a4bcb6c43d69dfd7ccb7
Signed-off-by: SangYong Park <sy302.park@samsung.com>
6 months ago[M126 Migration][WebRTC] Enable SCTP data channel of webrtc 07/321107/2
hongyanting [Wed, 24 Apr 2024 05:58:14 +0000 (13:58 +0800)]
[M126 Migration][WebRTC] Enable SCTP data channel of webrtc

SCTP is necessary for sdp negotiation,
otherwise it will cause peerconnection create failed.

This patch enables SCTP by default for all profiles.

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

Change-Id: I0232493715111695266ab5517e23e92b2e4be3a9
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
6 months ago[WebRTC][MM] Remove EWK_BRINGUP WebContentsDelegateEfl 59/320459/5
Pranay Chauhan [Fri, 15 Nov 2024 10:15:00 +0000 (15:45 +0530)]
[WebRTC][MM] Remove EWK_BRINGUP WebContentsDelegateEfl

The requested_video_device_id and requested_audio_device_id
have been changed to vectors of name requested_video_device_ids
and requested_audio_device_ids respectively.

Change-Id: I2d0c81d7444887b920a20f7d918ee1584bcc7612
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
6 months ago[M126 Migration][WRTjs] Fix camera permission denied issue 62/320962/2
Suhaspoornachandra [Tue, 26 Nov 2024 05:52:12 +0000 (11:22 +0530)]
[M126 Migration][WRTjs] Fix camera permission denied issue

In PermissionControllerDelegate::GetPermissionResultForCurrentDocument,
PermissionStatus::DENIED is return as default, so can't use camera for webapp.

Override GetPermissionResultForCurrentDocument in WRT, return PermissionStatus::GRANTED.

Reference:
https://review.tizen.org/gerrit/305527
https://review.tizen.org/gerrit/307952

Change-Id: Ia5c2b1149794c45cc968f22d9903387b60bca8fe
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
6 months ago[M126 Migration] Add strip-all build option to reduce rpm size 52/320852/1
Insoon Kim [Tue, 5 Nov 2024 09:14:35 +0000 (18:14 +0900)]
[M126 Migration] Add strip-all build option to reduce rpm size

nodebug option builds without debuginfo rpm package. so debug symbols is
not stripped from chromium libraries. This patch helps to reduce
chromium rpm package size with nodebug option for local dev.

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

Change-Id: Ife2a12c190bcad89ffcab64ea0a2d83f17e81de8
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
6 months agoFix NativeTCT autofill itc/utc failures 52/320252/6
Satyaveer Singh [Mon, 11 Nov 2024 13:39:55 +0000 (19:09 +0530)]
Fix NativeTCT autofill itc/utc failures

This patch makes necessary changes as per upstream change.
This commit fixes below itc/utc failures:
1) ITc_ewk_context_form_autofill_profile_add_remove_p
2) ITc_ewk_context_form_autofill_profile_get_all_p
3) utc_webkit2_ewk_context_autofill_profile_add_remove_p
4) utc_webkit2_ewk_context_autofill_profile_get_all_p

Change-Id: I4a6e469e054f9a49d4e4eb883f30fa458b909636
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
6 months agoFix NativeTCT javascript_message_handler itc failure 98/320298/4
Satyaveer Singh [Tue, 12 Nov 2024 13:03:25 +0000 (18:33 +0530)]
Fix NativeTCT javascript_message_handler itc failure

This commit fixes isolate creation for GinNativeBridgeObject.
With this change, below TC passes on NativeTCT.
1) ITc_ewk_view_javascript_message_handler_add_p

Change-Id: I59f677634fde4b49411e6b3750067ef9c8010aba
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
6 months agoFix Native TCT manifest utc failures 24/320424/3
nishitha [Fri, 15 Nov 2024 05:26:38 +0000 (10:56 +0530)]
Fix Native TCT manifest utc failures

This patch fixes the below utc failures-
1) utc_webkit2_ewk_manifest_name_get_n
2) utc_webkit2_ewk_manifest_short_name_get_n
3) utc_webkit2_ewk_view_request_manifest_n

Change-Id: I748f5f4ed755d65b6d47f328ffb8409d76d12d04
Signed-off-by: nishitha <n.saravanan@samsung.com>
6 months agofixup! [WRTjs] Enable WRTjs 40/320340/2
Pranay Chauhan [Wed, 13 Nov 2024 12:31:38 +0000 (18:01 +0530)]
fixup! [WRTjs] Enable WRTjs

Fixed build error on standard build.

Change-Id: Ia4c835f82b124b86d32fefc986111bbf64b484ef
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
6 months ago[M126 Migration] fixup! [NUI] NUI implementation for |SkiaRenderer| 64/320064/5
amarjit31 [Thu, 7 Nov 2024 08:56:46 +0000 (14:26 +0530)]
[M126 Migration] fixup! [NUI] NUI implementation for |SkiaRenderer|

Using GR_GL_RGBA8 instead of kRGBA_8888_SkColorType due to
implementation changes in |GetGrGLBackendTextureFormat|.
Replacing gl_image_egl with scoped_egl_image.

References:
https://review.tizen.org/gerrit/309064
https://review.tizen.org/gerrit/313733

Change-Id: I14bd4ef210b47ca78e18483dbc7dcc74ff4ca55a
Signed-off-by: amarjit31 <amarjit.g@samsung.com>
7 months agofixup! Enable chrome build by default 52/320052/5
utkarshlal [Thu, 7 Nov 2024 07:51:40 +0000 (13:21 +0530)]
fixup! Enable chrome build by default

Fixes issue where incorrect out folder was chosen during build.
Tv build was using out.tz_v9.0.PontusM.armv7l directory,
instead of out.chrome.tz_v9.0.PontusM.armv7l directory.
This patch fixes check to work with --disable-build-chrome flag.

Change-Id: I05e12e3c03fbaf05b0a8bb4fcee86dd5dd9e5356
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
7 months agofixup! Create dummy window to prevent |eglTerminate| call after closing popup window. 79/320179/1
sidpaswan [Mon, 28 Oct 2024 13:52:33 +0000 (19:22 +0530)]
fixup! Create dummy window to prevent |eglTerminate| call after closing popup window.

Change-Id: Ib21331a91ed780c46fe562ccc5b421f819c7247f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
(cherry picked from commit 7bca9fc4ac60c0611d187cfb0aa5c28b0ff9f1d8)

7 months ago[M126 Migration] Fix for Geolocation webTCT failures 13/320013/4
amarjit31 [Wed, 6 Nov 2024 12:45:06 +0000 (18:15 +0530)]
[M126 Migration] Fix for Geolocation webTCT failures

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

References:
https://review.tizen.org/gerrit/308199
https://review.tizen.org/gerrit/308269

Change-Id: I3e11501d5eda5746e4f4b4f5ef42c1b5818145d6
Signed-off-by: amarjit31 <amarjit.g@samsung.com>
7 months agoEnable chrome build by default 32/319632/2
Gajendra N [Tue, 29 Oct 2024 05:08:43 +0000 (10:38 +0530)]
Enable chrome build by default

This commit makes build chrome targets by default and introduces
a build switch to disable the same with --disable-build-chrome

Removes the existing build switch --build-chrome

Also enables chrome build for desktop profile
Reference: https://review.tizen.org/gerrit/317781

Change-Id: Ib2d7defac1e4aead97d883b7678ec10d2a771d99
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months ago[M126 Migration] Build libchromium-impl.so with chrome implementation 68/319568/4
Rohit Kumar [Fri, 25 Oct 2024 13:36:46 +0000 (19:06 +0530)]
[M126 Migration] Build libchromium-impl.so with chrome implementation

This patch
a) Builds libchromium-impl.so including chrome implementation and chrome_tizen
   as chrome main executable when |--build-chrome| option is given.
b) GBS root and out directory are seperated.
c) Supports EWK and WRT with --build-chrome

References:
https://review.tizen.org/gerrit/303499
https://review.tizen.org/gerrit/306836
https://review.tizen.org/gerrit/305200
https://review.tizen.org/gerrit/307791
https://review.tizen.org/gerrit/318891
https://review.tizen.org/gerrit/319290

Change-Id: Ie7718fa71ff361932e07eddb2651fcc7a4a3a6c4
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months ago[M126 Migration] Apply SW backend related patches 85/319485/3
chiragmaheshwari [Thu, 24 Oct 2024 06:44:52 +0000 (12:14 +0530)]
[M126 Migration] Apply SW backend related patches

Adding sw backend related changes to fix issues with Web app launch.

References:
- https://review.tizen.org/gerrit/317838
- https://review.tizen.org/gerrit/319331

Change-Id: I567623d2472eab25b5419f4721756b354f5d6d77
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
7 months ago[WRTjs] Fix black screen issue 38/319438/2
SangYong Park [Wed, 23 Oct 2024 06:11:12 +0000 (15:11 +0900)]
[WRTjs] Fix black screen issue

Set fill layout to content view's layout manager for
layouting child views of content view.

Change-Id: I3ebbc5586f2b2e603d9838e1fcc11d5775868a82
Signed-off-by: SangYong Park <sy302.park@samsung.com>
7 months ago[M126 Migration] Fix "print error dialog" not appearing in chrome 85/319285/3
Akshay Kanagali [Mon, 21 Oct 2024 05:18:42 +0000 (10:48 +0530)]
[M126 Migration] Fix "print error dialog" not appearing in chrome

Error dialog for print was not appearing for chrome on tv as the
relevant code was disabled under !defined(ENABLE_WRT_JS).

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

Change-Id: I66a40c070a0c5f65c666c69a59855d16b0d23c13
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
7 months ago[M126 Migration][Chrome] Fix for crash during scroll 68/319368/3
Chandan Padhi [Thu, 2 May 2024 05:37:59 +0000 (11:07 +0530)]
[M126 Migration][Chrome] Fix for crash during scroll

WebContentsViewAuraHelperEfl is not instantiated for Chrome
that results in crash while dereferencing |wcva_helper()|.

This commit adds null checks for |wcva_helper()| in
RWHVAuraCommonHelperEfl.

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

Change-Id: Ie596acd81654eb9e9fc1610bc48fa4d888293c2b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 0124946763fd3f58117cbe43e9bf87850eaa1b45)

7 months agoFix RWI websocket disconnect issue. 46/318946/3
Insoon Kim [Fri, 11 Oct 2024 04:05:52 +0000 (21:05 -0700)]
Fix RWI websocket disconnect issue.

This patch allows RWI websocket connection from all origins.

Refer:
  - https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/311942/
  - https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310919/

Change-Id: I5f363af1ed89af9ab0943eba6e085026a6be1c34
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
7 months agoAdd -j option for local build 39/318939/2
Insoon Kim [Fri, 11 Oct 2024 03:52:41 +0000 (20:52 -0700)]
Add -j option for local build

This commit adds -j option to allow users to specify the number of
parallel jobs.

Change-Id: Idba689af4ae41fc60e2f3a7ef6c93a5bc728a74f
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
8 months ago[WRTjs] bump electron to v31.7.0 29/319029/1
SangYong Park [Fri, 11 Oct 2024 02:09:25 +0000 (11:09 +0900)]
[WRTjs] bump electron to v31.7.0

. bump electron to v31.7.0
. bump nodejs to v20.18.0

Change-Id: I9a183940e090266b2270d2f7aa2f8bd07dbdde95
Signed-off-by: SangYong Park <sy302.park@samsung.com>
8 months ago[WRTjs] Enable WRTjs 41/318841/1
SangYong Park [Tue, 8 Oct 2024 06:13:29 +0000 (15:13 +0900)]
[WRTjs] Enable WRTjs

. electron v31.6.0
  + node modules : @types/node, @types/webpack-env, buffer, husky,
                   process, timers-browserify, ts-loader, typescript,
                   webpack, webpack-cli, wrapper-webpack-plugin
  + electron.d.ts : type definitions for electron
. node.js v20.17.0
  + electron's patches
  - benchmark, doc, test, tools/node_modules
  - some deps : brotli, corepack, googletest, icu-small, ngtcp2,
                npm, openssl, simdjson, v8, zlib
. wrt
  : from tizen branch (38e2214a7c505be942d4f6ebb772acf7d428dbdd)

Change-Id: I476eefc686f289f3491adccdc9932317f0af99b8

8 months ago[platform-api-wrapper] Remove c++ header dependancy from wrapper.h 00/318100/4
Gajendra N [Tue, 24 Sep 2024 12:04:44 +0000 (17:34 +0530)]
[platform-api-wrapper] Remove c++ header dependancy from wrapper.h

Wrapper header gets compiled with clang-libc++ during chromium build
and hence its better to avoid usage of std c++ headers.

Change-Id: I1d2cee5cbaf6df3abcc6718302f5239df2d757d5
Signed-off-by: Gajendra N <gajendra.n@samsung.com>