SangYong Park [Mon, 16 Jan 2023 02:51:09 +0000 (11:51 +0900)]
[WRTjs] Enable WRTjs
. electron v22.0.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 v16.17.1
+ electron's patches
- benchmark, doc, test, tools/node_modules
- some deps (brotli, corepack, googletest, icu-small, ngtcp2, npm, openssl, v8, zlib)
. wrt
: from tizen_7.0 branch (
7ecb2e77d908b23a61844e489decd3f15e036dea)
+ aura enabling
Change-Id: I44c715bff439969c34ec6f55f43c81a0bab92894
Signed-off-by: SangYong Park <sy302.park@samsung.com>
v-saha [Thu, 9 Feb 2023 16:00:12 +0000 (21:30 +0530)]
[M108 Migration] Bring up Selection Controller
1. Adjusting selection handle's coordinates to current
orientation for mouse move and other changes.
2. Selected Text shouldn't be removed when H/W back button is pressed.
3. Adding ewk_settings_extra_feature_(set|get).
4. Use LongPressStarted as a reason of selection change after long press.
References:
https://review.tizen.org/gerrit/281503
https://review.tizen.org/gerrit/283776
Change-Id: I865c46a8044cd430bd9d6a982f935e2724594da6
Signed-off-by: v-saha <v.saha@samsung.com>
qiang.ji [Sun, 29 Nov 2020 05:48:58 +0000 (13:48 +0800)]
[M108 Migration][VD] Hybrid support use evas RGBA
1.Set default font familiy to SamsungOneUI
2. Web Terms need to show app contents behind one evas obj, now
evas set the color format RGB, need to change it to RGBA, to
support alpha.
From Tizen3.0 chromium-efl, Opaque RGB surface has been used
to fix garbage issue.It was a temporary fix and seems to have
been resolved now.
Now some wrt app use RGBA mode show transparent background
have black issue, so need to reset the mode to RGB when it
is the wrt app, hybrid app use ewk function to set app type
so judge it to set it use RGBA mode.
refs:
https://review.tizen.org/gerrit/#/c/271937/
Change-Id: I10cdf5aaaf3e079362821615bd5397695aa49761
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
Bakka Uday Kiran [Thu, 16 Feb 2023 07:01:52 +0000 (12:31 +0530)]
[M108 Migration] Handle settings in WebPreferences and WebViewImpl
This patch handled settings in WebPreferences and
WebViewImpl
Reference: https://review.tizen.org/gerrit/c/282203
Change-Id: I2879dec16b3a7dc2490ac2cf63d6659aa2dda1ad
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Mon, 20 Feb 2023 03:22:28 +0000 (08:52 +0530)]
[M108 Migration] Patches related to focusable or clickable nodes and tap highlights
Patch adds below features:
- Skip chromium default tap highlight style for HTMLElement
- Add tap highlight to focusable or clickable node
- Clear active and hover state before handle tap event
- Do not show tap highlight for document node
Reference: https://review.tizen.org/gerrit/283816/
Change-Id: I8240fab2d8f34eccecbdef1c50c0fa7617d7fc23
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Bakka Uday Kiran [Thu, 16 Feb 2023 07:27:31 +0000 (12:57 +0530)]
[M108 Migration] Exit fullscreen when the app is suspended.
This patch exits from fullscreen mode when the app
is suspended.
Reference: https://review.tizen.org/gerrit/c/281108
Change-Id: I5b155bd8f01dcd2c766f7f95d865f42a0d45fb6c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Koyyani Maheswari [Mon, 30 Jan 2023 12:59:15 +0000 (18:29 +0530)]
[M108 Migration][MM] Show permission pop-up to access IO device.
1) Permission pop-up to access IO device.
2) Fix usage of public ewk api for media permission.
Reference: https://review.tizen.org/gerrit/280529/
Change-Id: I8aa2aed68c0dc4f0c94dd0b5e02e6aa42d8d6d01
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
shurong.chen [Fri, 17 Feb 2023 07:45:00 +0000 (15:45 +0800)]
[M108 Migration][VD] Support all TV keys
refer:
[M94 AURA][VD] Support all TV keys
https://review.tizen.org/gerrit/#/c/279339/
[M94 Aura Migration][VD] Support XF86LFDSet XF86LFDUnset and XF86LFDScreenLock key
https://review.tizen.org/gerrit/#/c/285597
[M94 Aura Migration][VD] Support KEY_GAMEPAD_HOMEKEY key
https://review.tizen.org/gerrit/#/c/282778/
Change-Id: I6fdbc2e9553ab52bbe9a99b3497309aa30ae6494
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
jingjieli [Mon, 20 Feb 2023 06:16:27 +0000 (14:16 +0800)]
[M108 Migration][VD] Change default certificate path for ubrowser.
VD Security part request certificate user change certificate path.
Migrate patch from M94 AURA:
https://review.tizen.org/gerrit/#/c/279390/
Change-Id: I8c525905be0b59ad13b9174f968c22a6bbed771d
Signed-off-by: jingjieli <jingjie.li@samsung.com>
ayush.k123 [Fri, 17 Feb 2023 05:52:49 +0000 (11:22 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk_view_scroll_by code
This patch sets scroll offset via mojo connection instead of legacy ipc.
Reference: https://review.tizen.org/gerrit/282703/
Change-Id: Ib2607477ab3b4bcc4f2b8524349803ada5661f76
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Mon, 13 Feb 2023 17:44:37 +0000 (23:14 +0530)]
[M108 Migration][Text Selection] Selection handles & Caret Selection
On longpress handles are to be displayed, migrate the handler
and caret related patches.
Expose WebNode::is_text_node in ContextMenuParameters,
add is_caret_mode_forced_ to selection controller.
References:
https://review.tizen.org/gerrit/281232
Change-Id: I8450c9c91745f7000a9b1395ff6999aca878ba05
Signed-off-by: v-saha <v.saha@samsung.com>
Bakka Uday Kiran [Thu, 16 Feb 2023 09:12:24 +0000 (14:42 +0530)]
[M108 Migration] Support a11y tree generation for web browser on TV.
Currently a11y frame dump using the command [1] doesn't return the a11y
tree of the loaded web page. The reason we don't attach the root evas
object with atk plug of platform. This change enables the same.
[1] /usr/bin/at_spi2_tool -d org.tizen.browser
Reference: https://review.tizen.org/gerrit/c/280915
Change-Id: Ib08e8479dfd056ee60e30c47be278e25f56139d2
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
zhao dan [Fri, 17 Feb 2023 05:51:36 +0000 (13:51 +0800)]
[M108 Migration] Export more symbol in chromium-ewk.filter to fix HBBTV launch fail
Some V8_EXPORT interface have been used from HBBTV side, because without
dynamic shared symbol, HBBTV render process can not launch.
patch form:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/273624/
Change-Id: I30bbf32662c55fe6b205c627adcc51930b2ae980
Signed-off-by: zhao dan <danys.zhao@samsung.com>
Jie Zhang [Fri, 17 Feb 2023 07:19:22 +0000 (15:19 +0800)]
[M108 Migration] Implement ewk_view_favicon_get() API
This API get the favorite-icon in current webview.
Reference:
- https://review.tizen.org/gerrit/#/c/280190/
Change-Id: Ib293a7636214b39a4cdc111e8a16bd09d66677bd
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
Bakka Uday Kiran [Thu, 16 Feb 2023 07:55:09 +0000 (13:25 +0530)]
[M108 Migration]Use container's height to calculate margin top/bottom
Some WebKit-based apps expect vertical margins to be calculated
using container's height rather than its width (as stated in
specification). To provide correct layout of those apps, we
allow for non-compliant calculations in compatibility
mode (to be implemented).
Reference: https://review.tizen.org/gerrit/c/282202
Change-Id: I5bffc230b821939c0e89bbb33c7758040ca7bfe9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Fri, 17 Feb 2023 06:41:04 +0000 (12:11 +0530)]
[M108 Migration] Enable NetworkServiceInProcess for Tizen
Below change enable network service to run as in-process for Tizen
Reference: https://review.tizen.org/gerrit/278829/
Change-Id: Iabafafcf1d05a13dde85e4777d02d6b151531976
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Fri, 17 Feb 2023 06:50:55 +0000 (12:20 +0530)]
[M108 Migration] Use snprintf in place of sprintf
For better security, VD recommends using snprintf in place of sprintf.
Reference: https://review.tizen.org/gerrit/c/283371/
Change-Id: If615daf8f65d95f203ed856d8df4a1c87c9a8a7b
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Fri, 17 Feb 2023 03:02:59 +0000 (08:32 +0530)]
[M108 Migration][Accessibility] Support atk in select picker
This patch is for supporting atk in select picker.
Reference: https://review.tizen.org/gerrit/280726
Change-Id: I4b8f83a18b6963a5ff8bc6c938d0b3bf2a3f562e
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Fri, 17 Feb 2023 03:49:05 +0000 (09:19 +0530)]
[M108 Migration] Add ewk_intercept_request_view_get()
This patch adds a new internal API that provides ewk view object
requesting the resource.
Reference: https://review.tizen.org/gerrit/282794
Change-Id: I7c7cc588c5013d6136453d7921625b914d6ae99f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
xiafeng [Sat, 18 Feb 2023 06:07:57 +0000 (14:07 +0800)]
[M108 Migration][VD][Accessibility] Support ewk_settings_spatial_navigation_enabled_set
Support ewk_settings_spatial_navigation_enabled_set.
Related M94 Aura patch:
https://review.tizen.org/gerrit/279760/
Change-Id: Ic8b97b41b89d2a3e1766c65636f0ce743dc85d2d
Signed-off-by: xiafeng <feng.xia@samsung.com>
Bakka Uday Kiran [Thu, 16 Feb 2023 08:10:27 +0000 (13:40 +0530)]
[M108 Migration] Enable ATK_STATE_SHOWING for TV platform
Below change enables setting ATK_STATE_SHOWING state for accessibility
nodes on TV platform.
Reference: https://review.tizen.org/gerrit/c/283258
Change-Id: I6fb7ec1d4a28d5b3f65bdcda937691f5af24f8d9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Thu, 16 Feb 2023 05:00:11 +0000 (10:30 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk APIs and HttpUserAgentSettingsEfl
This patch migrates the following changes:
1. Remove EWK_BRINGUP from HttpUserAgentSettingsEfl
2. Remove EWK_BRINGUP for ewk_view_plain_text_get()
3. Remove EWK_BRINGUP from ewk_hit_test_private.cc
It also cleans up code in eweb_view.h
Reference:
https://review.tizen.org/gerrit/283824
https://review.tizen.org/gerrit/282993
https://review.tizen.org/gerrit/281104
https://review.tizen.org/gerrit/280592
Change-Id: If85b186ec8dc30064fd008e74c897064b03fff17
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Fri, 10 Feb 2023 03:12:20 +0000 (08:42 +0530)]
[M108 Migration][NativeControl] Select Picker
This CL
1. Includes changes required for select picker feature and
its refactoring.
2. Fixes Backward/Foward buttons in SelectPicker TC.
3. Makes changes to handle popup resize in a better way.
4. Segregates SelectPicker into ewk independant base classes
5. Removes Listbox rendering for Multiple Select for TV
Reference:
https://review.tizen.org/gerrit/280120/
https://review.tizen.org/gerrit/280208/
https://review.tizen.org/gerrit/280225/
https://review.tizen.org/gerrit/280633/
https://review.tizen.org/gerrit/281109/
Change-Id: I104484fe74197e104537c01f53b57dc9e65546e3
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Tue, 7 Feb 2023 05:25:22 +0000 (10:55 +0530)]
[M108 Migration] Apply device scale factor
Fix for web page incorrectly displayed on mobile by applying correct
device scale factor.
Reference:
https://review.tizen.org/gerrit/274908
https://review.tizen.org/gerrit/275246
Change-Id: I2aa127a3d5577dcd74507d8fa9e705e88ccb04c8
Signed-off-by: v-saha <v.saha@samsung.com>
ayush.k123 [Thu, 16 Feb 2023 07:30:09 +0000 (13:00 +0530)]
fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs.
This change fixes ewk_policy_decision_navigation_type_get_p tct failure by
making changes according to upstream change.
https://chromium-review.googlesource.com/c/3887581/8/third_party/blink/public/web/web_navigation_type.h
Change-Id: Ia1d105c83c5677971889817933aa59221210f9bf
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Wed, 15 Feb 2023 05:58:50 +0000 (11:28 +0530)]
[M108 Migration] Implement ewk_view_main_frame_scrollbar_visible_set
This patch implements ewk_view_main_frame_scrollbar_visible_set
which is at least required by HbbTV. It also implements
ewk_view_main_frame_scrollbar_visible_get and adds a
unit test utc_blink_ewk_view_main_frame_scrollbar_visible_set.
Reference: https://review.tizen.org/gerrit/280384/
Change-Id: I05a4f74e74d2305975d2cca81d246036c61987e8
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
yh106.jung [Thu, 16 Feb 2023 05:58:41 +0000 (21:58 -0800)]
Post tasks to proper threads
This patch posts tasks to proper content browser's threads, not
to threadpool.
Change-Id: I59efb81e1ac2f470d1c4cf8e84915b73766faec7
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
ayush.k123 [Wed, 15 Feb 2023 03:51:00 +0000 (09:21 +0530)]
[M108 Migration] Migrate changes related to touch events
This patch migrates following changes related to touch events:
1. Add helper function for making ui::TouchEvent
2. Set touch events enable/disable preference from ewk api to
EflEventHandler
Reference:
1. https://review.tizen.org/gerrit/281666
2. https://review.tizen.org/gerrit/282749
Change-Id: I4df1851be7814316c1800dadca9a908a2c87d75f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
venu.musham [Wed, 8 Feb 2023 10:42:53 +0000 (16:12 +0530)]
[M108 Migration][Compatibility] Support HTMLDocument width and height.
According to W3C spec document.width and height are deprecated.
For Tizen next version's, to support backward compatibility implement
document.width and document.height.
Reference: https://review.tizen.org/gerrit/278684
Change-Id: I0d656e980d814138683d0cac987b8e77cf609888
Signed-off-by: venu.musham <venu.musham@samsung.com>
ayush.k123 [Tue, 14 Feb 2023 09:17:24 +0000 (14:47 +0530)]
[M108 Migration] Migrate patches related to eldbus
This patch contains the following code related to eldbus
1) Initialize eldbus on engine side
2) Check eldbus property when initialized
3) Relase a reference of eldbus connection during ewk_shutdown
Refernces: https://review.tizen.org/gerrit/281257/
Change-Id: Ib21c63b3bcdf0c17d7217c82bb6a159b97f25065
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Bakka Uday Kiran [Tue, 14 Feb 2023 16:23:22 +0000 (21:53 +0530)]
[M108 Migration] Remove EWK_BRINGUP in tizen_src/
This commit migrates below EWK_BRINGUP removal patches.
Remove EWK_BRINGUP in browser_context_efl.cc
Remove EWK_BRINGUP in ContentBrowserClientEfl::CanCreateWindow
Remove EWK_BRINGUP from DownloadManagerDelegateEfl
Reference: https://review.tizen.org/gerrit/c/281750
Change-Id: I0b66de521d2b16c995af8920d8aef1a5db647430
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
v-saha [Tue, 14 Feb 2023 12:04:16 +0000 (17:34 +0530)]
[M108 Migration][Gesture] Bring up gesture configuration
Scroller will be created when ShouldUseMobileFlingCurve() is enabled
Reference:
https://review.tizen.org/gerrit/280183
Change-Id: I4b3d93d354beacd9fa201b93a9a7eb31a9801b10
Signed-off-by: v-saha <v.saha@samsung.com>
Bakka Uday Kiran [Tue, 14 Feb 2023 16:59:40 +0000 (22:29 +0530)]
[M108 Migration] Add error handling and ptr validation check
Add abnormal error handling while allocating memory.
Add ptr validation check after calling mem alloc.
Reference: https://review.tizen.org/gerrit/c/281174
Change-Id: If1beab4851e500db797d7b50a4344cbc6672a34d
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Wed, 15 Feb 2023 08:16:45 +0000 (13:46 +0530)]
fixup! [M108 Migration][API] Bring up autofill
Ubrowser for standard profile is crashing on launch due to some
changes in base autofill patch. This patch disables autofill for
standard profile. This will be enabled when patch for autofill on
TV is migrated.
Change-Id: I685e02e309db05f5e942416f86ed0b2e54f73404
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Venugopal S M [Thu, 2 Jun 2022 17:27:51 +0000 (22:57 +0530)]
[M108 Migration][MM] Ignore buffers if callback is null
In "video_onended_event" for no reason, buffers are sent after EOS is
received. The read-calback is null and would crash.
Reference: https://review.tizen.org/gerrit/275840/
Change-Id: Icccfa6c6e35000c7993139077ade2817232051b5
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Bakka Uday Kiran [Fri, 10 Feb 2023 10:38:38 +0000 (16:08 +0530)]
[M108 Migration] Reset EWebContext ptr in CookieManager during EWebContext destroyed
CookieManager accesses EWebContext when it handles cookie storage,
but it has longer life cycle than EWebContext. To prevent accessing the
destroyed EWebContext, this patch resets the pointer of EWebContext in
CookieManager when EWebContext is destroyed.
Chromium supports only SQLite based persistent cookie storage.
This patch deprecates an enumeration for text file based cookie storage,
EWK_COOKIE_PERSISTENT_STORAGE_TEXT.
Reference:
https://review.tizen.org/gerrit/c/281416
https://review.tizen.org/gerrit/c/280780
Change-Id: I180b12b6929aac1d991d2c942f1eaf6780de992f
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Venugopal S M [Thu, 19 Jan 2023 13:45:46 +0000 (19:15 +0530)]
[M108 Migration] Enable video hole feature
- Video Hole feature for ESPP renderer
- Enable Video Hole for HbbTV.
- Support 4K video using the h264 codec
- Support Video hole for onscreen rendering mode
Reference:
https://review.tizen.org/gerrit/275372
https://review.tizen.org/gerrit/271981
https://review.tizen.org/gerrit/275415
https://review.tizen.org/gerrit/275793
https://review.tizen.org/gerrit/278370
https://review.tizen.org/gerrit/278413
https://review.tizen.org/gerrit/279187
https://review.tizen.org/gerrit/281153
https://review.tizen.org/gerrit/283850
https://review.tizen.org/gerrit/287464
Change-Id: I86fce9652e25ab8c94b8802717cec9b4fdf938a5
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
v-saha [Tue, 14 Feb 2023 12:10:49 +0000 (17:40 +0530)]
[M108 Migration] Print time as string
Time stores int64_t. So, large numbers are printed as exponential
notation. This does not help in debugging. So, print time as string.
Reference: https://review.tizen.org/gerrit/c/282405
Change-Id: Ibce730ea00b6200e3ec7edad10c86164e97d39a7
Signed-off-by: v-saha <v.saha@samsung.com>
Bakka Uday Kiran [Mon, 13 Feb 2023 16:12:18 +0000 (21:42 +0530)]
[M108 Migration] Apply preference option for force zoom enable/disable
Feature was blocked by EWK_BRINGUP macro while previous migration was
in-progress. As chromium content interface was prepared, enable this feature.
Reference: https://review.tizen.org/gerrit/c/280893
Change-Id: I2b3a3e496ac9eaedf0d8be3e9a672663f6e22afb
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Chandan Padhi [Mon, 13 Feb 2023 14:40:50 +0000 (20:10 +0530)]
[M108 Migration] Remove javascript dialogs dependency on boringssl and skia
Removing this unnecessary dependency would prevent chromium-efl's
dependency on boringssl so that opensource vulnerability for boringssl
does not have to be taken into consideration.
Reference: https://review.tizen.org/gerrit/270389/
Change-Id: If7ad8e4c82a2e07aefc38baf1e81fcac5e4c5729
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
ayush.k123 [Tue, 14 Feb 2023 03:54:49 +0000 (09:24 +0530)]
[M108 Migration] Remove unneeded tests from third_party/
Below change removes
└── third_party
├── blink/web_tests/
├── blink/manual_tests
├── blink/perf_tests
Reference:
https://review.tizen.org/gerrit/c/281126/
Change-Id: Ideca1c5bed5cdf77e4592b40e63ae65bbabde3f5
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Bakka Uday Kiran [Sun, 12 Feb 2023 15:56:34 +0000 (21:26 +0530)]
[M108 Migration] Remove "undo,size" and "redo,size" callbacks
The callbacks "undo,size" and "redo,size" are not used by any
client. They have not been reimplemented for a long time. Remove
those callbacks as well as their partial implementation.
Reference: https://review.tizen.org/gerrit/c/283634
Change-Id: I36cff29c90956069dc49a4a24ba02f4bc97f5864
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Chandan Padhi [Mon, 13 Feb 2023 14:45:23 +0000 (20:15 +0530)]
[M108 Migration] Remove tracing_resources.pak from content_shell.pak
This patch reduces content_shell.pak file size by 1 MB.
content_shell.pak size:
w/o patch: 13MB
with patch: 12MB
Reference: https://review.tizen.org/gerrit/267864/
Change-Id: Ieae75657261db52dfbc5c4d327597ee730dbd3d4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Koyyani Maheswari [Thu, 9 Feb 2023 12:16:14 +0000 (17:46 +0530)]
[M108 Migration][MM] Handle User Permission popup.
Code added for handling user permission popup. It will
show popup when user requested for mic and camera.
Reference: https://review.tizen.org/gerrit/279728/
Change-Id: I970f253c62fb572c6321df58c44016c33c5076cd
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
ayush.k123 [Tue, 14 Feb 2023 05:02:44 +0000 (10:32 +0530)]
[M108 Migration] Update system language in network context.
This patch updates network context whenever there is a system
language update.
Reference: https://review.tizen.org/gerrit/281228/
Change-Id: Ic9164b2883c6c68e8ca43235a72effba6c2bbbd6
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Fri, 10 Feb 2023 08:07:42 +0000 (13:37 +0530)]
[M108 Migration] Remove EWK_BRINGUP from EWebView::SaveAsPdf
This patch removes EWK_BRINGUP from EWebView::SaveAsPdf.
Reference:
https://review.tizen.org/gerrit/281743/
https://review.tizen.org/gerrit/282149/
Change-Id: I125746c9dbbd5246ead9901c2d5270cb6975a0e6
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
Bakka Uday Kiran [Mon, 13 Feb 2023 15:22:21 +0000 (20:52 +0530)]
[M108 Migration] Add ASLR to executables.
Address space layout randomization(ASLR) is a computer security
technique involved in preventing exploitation of memory corruption
vulnerabilities.
ASLR randomly arranges the address space positions of key data areas of
a process to prevent an attacker from reliably jumping to a particular
exploited function in memory.
This adds ASLR to ubrowser, efl_webview_app, mini_browser, and efl_webprocess.
* Output from a command in bash to check ASLR
$ hardening-check ubrowser
ubrowser:
Position Independent Executable: yes
$ file ubrowser
ubrowser: ELF 32-bit LSB shared object
Reference: https://review.tizen.org/gerrit/c/280956
Change-Id: I6e429acd73c01f85bda743c46a47cac6fc298bd4
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Mon, 13 Feb 2023 08:17:02 +0000 (13:47 +0530)]
[M108 Migration] Remove deprecated codes in WebCacheManagerEfl
Some values are deprecated in WebCacheManager as below.
- min_dead_capacity
- max_dead_capacity
- dead_decoded_data_deletion_interval
- page_cache_capacity,
- url_cache_memory_capacity
- url_cache_disk_capacity
This patch removes deprecated variables in WebCacheManagerEfl
and clean up codes.
Reference: https://review.tizen.org/gerrit/281102/
Change-Id: Iecbeb9999fc1ea51a34b101348eee272a96fb7d7
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
ayush.k123 [Fri, 3 Feb 2023 09:35:58 +0000 (15:05 +0530)]
[M108 Migration][Accessibility] Bringup Accessibility.
- Brings up & Refactoring accessibility in accordance with upstream.
- Make a AXPlatformNodeEfl inherit from AXPlatformNodeAuraLinux
for ATK event/callback.
- Migrate from BrowserAccessibility* to AXPlatformNode*.
- Remove BrowserAccessibilityManagerEfl / BrowserAccessibilityEfl.
- Support value change event.
Reference:
https://review.tizen.org/gerrit/279337
https://review.tizen.org/gerrit/279612
Change-Id: Ie312e18870a5d20304be4b8c5a6b11aa1b23ae33
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Bakka Uday Kiran [Fri, 10 Feb 2023 11:56:22 +0000 (17:26 +0530)]
[M108 Migration] Add discardable memory and purge delay switch
This commit enables to manually configure discardable
memory and purge delay from command line.
Reference: https://review.tizen.org/gerrit/c/280812
Change-Id: I941092fb926cb2ec9bfdc87c5eaa2127e01e7d00
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Thu, 9 Feb 2023 06:03:59 +0000 (11:33 +0530)]
[M108 Migration][Webview] Migrate patches for ewk APIs 2/2
Migrate patches for ewk APIs 2/2.
References:
https://review.tizen.org/gerrit/c/280052/
https://review.tizen.org/gerrit/c/281861/
Change-Id: Id06a021ac3052646e53a8dd3783edb099d2a32b2
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Bakka Uday Kiran [Fri, 10 Feb 2023 10:41:51 +0000 (16:11 +0530)]
[M108 Migration] Disable site-per-process mode of Site Isolation by default
This patch disables site-per-process mode of Site Isolation by default
on all Tizen profiles. It has been enabled on Chrome desktop (for
all sites) and on Android (for sites users log into). On Android,
it has been disabled if memory is less than 1077MB.
More details here:
https://www.chromium.org/developers/design-documents/site-isolation
Reference: https://review.tizen.org/gerrit/c/280783
Change-Id: Icbb8e81c53e583634183ad34fa068a4d3e2d7c26
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Wed, 8 Feb 2023 09:51:41 +0000 (15:21 +0530)]
[M108 Migration][API] Add ewk_context_max_refresh_rate_set
To reduce current consumption, some devices need to set screen FPS limitation.
This api is added to set screen FPS limitation.
If max refresh rate is set as 30, each thread will work as below.
1) With |setInterval(16ms)|.
- Renderer main thread : 60fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
2) With |setInterval(20ms)|
- Renderer main thread : 50fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
3) With |requestAnimationFrame|
- Renderer main thread : 30fps
- Renderer raster thread : 30fps
- Renderer compositor thread : 30fps
- UI main thread : 30fps
References:
https://review.tizen.org/gerrit/270945
Change-Id: I05d8e28afe2b12ccf1d281c7634bab380a0e5b40
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Wed, 8 Feb 2023 06:25:57 +0000 (11:55 +0530)]
[M108 Migration][Webview] Migrate patches for ewk APIs 1/2.
This patch also has the text style related changes,
BackgroundColor() api modifications for EFL
Reference:
https://review.tizen.org/gerrit/279920/
Change-Id: Ibad67e070e4f5b1a5476e4575e8658d37c5bafa9
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
ayush.k123 [Wed, 8 Feb 2023 06:46:34 +0000 (12:16 +0530)]
[M108 Migration][AppControl] Introduce app control scheme (appcontrol://)
This patch introduces app control scheme in chromium-efl.
References:
https://review.tizen.org/gerrit/279925/
Change-Id: If6275c50a84def752db078b744db3bc792ab1751
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Wed, 8 Feb 2023 18:47:27 +0000 (00:17 +0530)]
[M108 Migration][Viewport] Refactors orientation change and sets custom viewport size
Due to additional resize code called during orientation change,
orientation callback was called too early (when screen
dimensions were not set yet).
Even though resize callback was called again from
RenderWidgetHostImpl::WasResized() when all data was set,
orientation events were not dispatched again (due to the fact,
that orientation was changed during first, early call) and
wrong values of screen dimensions were set as final values.
Chromium-efl consists of Evas_Object widgets which appear on top of
webview resulting in overlapping the web page content, for example,
1) virtual keyboard,
2) popup menu picker.
As for 1), EFL allows auto-resizing the window on vk show/hide by using
elm_conformant widget. Because it does not work for TIZEN 3.0 [1]
Browser app manually resizes webview on vk appearance [2].
As for 2), chromium-efl fully implements select picker internally and
app is not aware of it.
This patch overrides GetVisibleViewportSize() and returns smaller
viewport while showing select picker. According to the comment from [3]
this method allows us to define smaller viewport if a portion of the
view is obstructed.
GetVisibleViewportSize() is always called on any size update and result
in sending a new size to the Renderer.
To make <select> element visible, this patch implements:
EWebView::ScrollFocusedNodeIntoView because
RenderWidgetHostViewEfl::ScrollFocusedEditableNode scrolls webview for
editable elements only.
This change fixes WCS TC 195.
Additionally, refactor picker code in EWebView class:
1. Rename ShowPopupMenu -> HandlePopupMenu
it does not only show picker but also changes viewport.
2. PopupMenuClose and HidePopupMenu return void.
3. PopupMenuClose calls ReleasePopupMenuList as it was already exposed.
4. Get rid of CloseSelectPicker and IsSelectPickerShown as they are
no longer used.
[1] TSAM-537
[2] virtual gfx::Size GetVisibleViewportSize() const = 0
src/content/public/browser/render_widget_host_view.h
Reference: https://review.tizen.org/gerrit/278914
Change-Id: I2fc82ebe04d42d6a2ab21b1bb29d04f5037d4306
Signed-off-by: v-saha <v.saha@samsung.com>
Bakka Uday Kiran [Wed, 8 Feb 2023 10:31:31 +0000 (16:01 +0530)]
[M108 Migration] Bringup Link Effect feature
Link effect feature produces sound effect when user taps
on elements. The functionality is enabled on few elements
that satisfy certain contraints. This check is done at
blink side on GestureTap event and notifies
RenderFrameObserver to play the sound effect using tizen
haptic feedback library on mobile.
Reference: https://review.tizen.org/gerrit/c/279964
Change-Id: I349a479817405b84fc4c2552b208a304a535ad10
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Gajendra N [Wed, 8 Feb 2023 09:52:33 +0000 (15:22 +0530)]
[M108 Migration] Add ewk apis to support functionality for Permissions.query JS api
At javascript side, permissions.query() is used to query the exisiting
permission status granted for an origin. The query has to be passed to
web browser to get the status, and hence there is need for introducing
new ewk apis :
ewk_view_user_media_permission_query_callback_set
ewk_user_media_permission_query_origin_get
ewk_user_media_permission_query_device_type_get
Web Browser returns EWK_USER_MEDIA_PERMISSION_QUERY_RESULT_{ASK|GRANTED|DENIED}
enum value, based on which blink::PermissionStatus::{ASK|GRANTED|DENIED} status
is returned to blink.
Reference: https://review.tizen.org/gerrit/280629
Change-Id: Ic54dd1aa379216a31d64255712f21371781c29d1
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
ayush.k123 [Wed, 8 Feb 2023 05:20:29 +0000 (10:50 +0530)]
[M108 Migration] Avoid creation of PersonalDataManager from pre-launched wrt-loader
The db path is determined after the webapp is launched. So it should
hold to create instance to access DB until the actual webapp is
launched from prelaunched wrt-loader.
The PersonalDataManager instance will be created when it is actually
used, not the BrowserContextEfl constructor. This patch fixes the
db lock issue with ubrowser by pre-launched wrt-loader process.
Reference: https://review.tizen.org/gerrit/280947/
Change-Id: I42ae897a6fa06230010170103f933cc8b10877ec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Gajendra N [Wed, 8 Feb 2023 07:08:28 +0000 (12:38 +0530)]
[M108 Migration][Locale] Migrate locale related changes
This patch adds additional locales for Tizen, and initializes
LocaleEfl and path service at proper place.
Reference : https://review.tizen.org/gerrit/280267
Change-Id: Icd657b4f6cf50f025ba37ce5ee9a0b18ca676981
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
ayush.k123 [Thu, 9 Feb 2023 03:15:54 +0000 (08:45 +0530)]
[M108 Migration][AddJavascriptInterface] Change callback to main thread
This patch makes IPC message GinNativeBridgeHostMsg_InvokeMethod
dispatch to the UI thread instead of the default I/O thread.
Reference: https://review.tizen.org/gerrit/281189/
Change-Id: I8625bc70c2a733f616ace6a363e2ca485a674e60
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
ayush.k123 [Thu, 9 Feb 2023 09:50:21 +0000 (15:20 +0530)]
[M108 Migration] Add ewk_settings_multiple_windows_support_[get|set]
This patch adds ewk_settings_multiple_windows_suppport_[get|set].
It can set whether the webview supports multiple windows.
If set to true, 'create,window' callback must be implemented by the
application. The default is TRUE.
Reference: https://review.tizen.org/gerrit/281415/
Change-Id: Icd0075f6e550e22292b9b099c8ba264411c16ba8
Signed-off-by: Ayush Kumar<ayush.k123@samsung.com>
Bakka Uday Kiran [Wed, 8 Feb 2023 07:04:47 +0000 (12:34 +0530)]
[M108 Migration][API] Add ewk_view_save_page_as_mhtml as new internal API
This patch adds ewk_view_save_page_as_mhtml by MPR.
It would be used to save current page as MHTML format for offline usage.
Reference: https://review.tizen.org/gerrit/c/279838
Change-Id: Iff36f5ca44053116e4b1d5109fb08ad57e2ed8fa
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Bakka Uday Kiran [Fri, 3 Feb 2023 07:26:33 +0000 (12:56 +0530)]
[M108 Migration][API] Add ewk_settings_tizen_compatibility_mode_set API
This API allows rendering the pages as if they are run with the
specified engine version. The compatibility mode changes behavior of
web features since they follow the newest specifications resulting in
different behavior for content delivered for earlier engines.
API will be applied by WRT/XWalk to support product patches for
chromium-efl in compatibility mode with WebKit/Tizen 2.4.
WebCore patches will be applied once compatibility mode is set.
Checking whether engine has been launched with compatibility mode:
* renderer:
content::WebSettings::TizenCompatibilityModeEnabled()
Blink::Settings::TizenCompatibilityModeEnabled()
* ui:
WebPreferencesEfl::TizenVersion::{major|minor|release|}
Applying WebCore changes immediately after changing compatibility
mode can be done inside Page::settingsChanged(TizenVersionChange).
Ewk API can be tested with ubrowser by passing tizen-version | -t flag,
for example,
$ ubrowser -t 2.4
Also, this patch exposes TizenVersion on blink::web_pref::WebPreferences
to allow client to check if compatibility mode is turned on.
Struct TizenVersion has been replaced with individual elements in
web_preferences.mojom for simplicity.
Reference: https://review.tizen.org/gerrit/c/279762
Change-Id: I4c720a371846fdef4d01dada80723d32bd5ef2fa
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Koyyani Maheswari [Tue, 7 Feb 2023 09:34:55 +0000 (15:04 +0530)]
fixup! [M108 Migration][MM] Handle buffering and playback
This commit fixes crash when playing audio element.
There is a case that video demuxer stream is used even if it doesn't exist.
So prevent access to invalid demuxer stream.
Reference: https://review.tizen.org/gerrit/280782/
Change-Id: I737793d799f657f4553ca4d3ffe2ea5fc2f6ed7c
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
ayush.k123 [Wed, 8 Feb 2023 09:38:50 +0000 (15:08 +0530)]
[M108 Migration] Remove EWK_BRINGUP from ewk_back_forward_list_private
This removes EWK_BRIRNGUP from the file and replaces deprecated
notification types with methods in WebContentsObserver as per the
reference in [1].
NOTIFICATION_NAV_ENTRY_CHANGED
-> WebContentsObserver::NavigationEntryChanged
NOTIFICATION_NAV_ENTRY_COMMITTED
-> WebContentsObserver::NavigationEntryCommitted
[1] https://chromium-review.googlesource.com/630420
Reference: https://review.tizen.org/gerrit/283901/
Change-Id: Ib980ae58958b734d3d1b92984095446e6dfb8f3f
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Thu, 9 Feb 2023 06:16:20 +0000 (11:46 +0530)]
[M108 Migration] Support ecore mainloop on utility process
Ecore events are not triggered on utility process as MessagePumpDefault
is used as the message pump. This commit sets MessagePumpEcore as the
message pump for utility process to support ecore events.
Reference: https://review.tizen.org/gerrit/279393
Change-Id: If2b62fdef2bc9a44e446e37ba67d71c6f93b1845
Signed-off-by: v-saha <v.saha@samsung.com>
v-saha [Wed, 8 Feb 2023 07:12:10 +0000 (12:42 +0530)]
[M108 Migration] Fix default font size setting issue.
Default font size was not changed by |ewk_settings_default_font_size_set|. This
is because the set value was not delivered to renderer process. Changed to
apply value by calling |ewkUpdateWebkitPreferences|.
Reference:
https://review.tizen.org/gerrit/280568
Change-Id: I9f3311a4a598fc1553d637bcb41d95b320f5c3d2
Signed-off-by: v-saha <v.saha@samsung.com>
Koyyani Maheswari [Thu, 5 Jan 2023 05:36:03 +0000 (11:06 +0530)]
[M108 Migration][MM] Migrate AudioIO related patches
This patch migrates patchs related to Audio IO.
Reference: https://review.tizen.org/gerrit/279518/
Change-Id: I766dcba9eefa6ff6d4ed0fe7be1ae7a254ce5c7b
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
ayush.k123 [Thu, 2 Feb 2023 09:55:40 +0000 (15:25 +0530)]
[M108 Migration][WCS] Bringup clipboard
This patch migrates clipboard related patches from 94.
References:
https://review.tizen.org/gerrit/280878/
https://review.tizen.org/gerrit/280951/
https://review.tizen.org/gerrit/278392/
Change-Id: I1c6f744a642602fb49036b6391fe1d1f7ed62d51
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Gajendra N [Thu, 2 Feb 2023 05:26:01 +0000 (10:56 +0530)]
[M108 Migration] Migrate navigation related fixup patches
This commit squashes fixup patches related to navigation.
References:
https://review.tizen.org/gerrit/278830
https://review.tizen.org/gerrit/278897
https://review.tizen.org/gerrit/280781
Also,
1) Removes EWK_BRINGUP in CRCE::HandleNavigation.
2) RenderView is removed in upstream, hence replaces |render_view_id|
with |render_frame_id| in NavigationiPolicyParams.
Change-Id: Ie9e66291f1c65aca48a97f7eff2a6143b171d07f
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Bakka Uday Kiran [Thu, 2 Feb 2023 08:38:57 +0000 (14:08 +0530)]
[M108 Migration] Migrate changes related to RenderViewReady and RenderViewCreated
This patch contains the following the changes
1)Handle RenderViewReady in WebContentsObserverEfl.
2)Invoke EWebView::RenderViewReady manually for window.open case.
3)Replaces RenderViewCreated with RenderViewReady and removes
unused RenderViewCreated methods.
Reference: https://review.tizen.org/gerrit/c/279685
Change-Id: I87e6a122c5b4b04fc6b3e69cded3d7f1d7dea918
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Chandan Padhi [Wed, 1 Feb 2023 12:46:51 +0000 (18:16 +0530)]
Implement WebViewObserver for EFL
This commit
1. adds WebViewObserverEfl
2. removes upstream code changes related to RenderFrame(Impl|Observer)
3. removes EWK_BRINGUP for related code
Change-Id: I39ec8e55378cb6936a5cefbcdb99e4a4d395c56a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
v-saha [Wed, 1 Feb 2023 11:01:47 +0000 (16:31 +0530)]
[M108 Migration] Encrypt password field in AutoFill DB
Currently, password field is not encrypted in autofill db.
If device is rooted, the passwords in autofill db can be
easily exposed.
This patch does the following :
[1] Enables storing of passwords in autofill DB in encrypted form.
[2] If the DB already has unencrypted passwords, then firstly
migrate them to the DB in encrypted form, and then enable [1].
Reference: https://review.tizen.org/gerrit/279301
Change-Id: I168532dbdd2f3fc68cd5a2887dcbc9e5c86957bc
Signed-off-by: v-saha <v.saha@samsung.com>
ayush.k123 [Wed, 1 Feb 2023 10:31:49 +0000 (16:01 +0530)]
[M108 Migration][API] Implement ewk_view_session_timeout_set internal API
XHR request can specify a timeout value which will be used to break a
connection after some time. Default value is 0 which means that no
limit is set. Additionally, a new API is defined to set a maximum timeout
value (0 is default). Using this API one can set a maximum timeout value
which will be used during XHR request - the request will not take longer
time that specified value.
Based on the upstream changes in threadable_loader.h, consequent changes have
been made in this patch to enable timeout.
References: https://review.tizen.org/gerrit/279488/
Change-Id: I50efed39e4403b45a80aca44f57b83195187a910
Signed-off-by: ayush.k123 <ayush.k123@samsung.com>
ayush.k123 [Wed, 1 Feb 2023 07:14:15 +0000 (12:44 +0530)]
[M108 Migration] Migrate WebView focus related patches
This patch migrates WebView's focus related patches.
References: https://review.tizen.org/gerrit/c/279552/
Change-Id: I42047923805973b8ac3a9b8290b13771953c0d3e
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Chandan Padhi [Wed, 1 Feb 2023 12:06:11 +0000 (17:36 +0530)]
fixup! [M67 Dev][Tizen] Fix crashes at webview launch
Applying this change for desktop as well to fix webview crash at launch.
Change-Id: Icd2759ee0a8adfb6ae08d6b5a8d0c4ad0180c5da
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
v-saha [Wed, 1 Feb 2023 06:04:24 +0000 (11:34 +0530)]
[M108 Migration] Add back MaybeCheckCSP() method which was removed in upstream
In M63, MaybeCheckCSP() method was used to decide navigation policy
by checking CSP rules. After M63, the method was removed in upstream
patches [1] & [2] which caused the navigation policy to be decided
by ContentRendererClient. For WebApps, it is routed to WRTRenderClient.
In WRT, the navigation policy is decided but also requests app_control
to the refused URL to support backward compatibility which can't be
avoided, thus resulting in unexpected launch of VD Browser.
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1037804
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1083825
This patch adds back MaybeCheckCSP() to decide the policy at blink side
itself, so that the request doesn't reach WRT.
References:
https://review.tizen.org/gerrit/279285
Change-Id: I32ee8fe2f1d833aa945fa1ab9b5e86b7a179f372
Signed-off-by: v-saha <v.saha@samsung.com>
Bakka Uday Kiran [Mon, 23 Jan 2023 18:34:12 +0000 (00:04 +0530)]
[M108 Migration][API] Re-implement ewk_view_visibility_set
1. In w3c spec as [1]"The Page Visibility" specification defines a means
for site developers to programmatically determine the current
visibility of a document and be notified of visibility changes.
Also, it does not mean directly showing or hiding the current webview.
Previous codes have an unnecessary behavior. This patch will just set
visibility to |WasShown| or |WasHidden| without evas_object_show
(or hide) in webview.
And ewk_view_page_visibility_state_set() was already changed by [2]
like current patch.
2. This patch implements ewk_view_page_visibility_state_set.
It just supports 'visible' and 'hidden' for now.
3. In aura, calling WebContents::{WasShown|WasHidden} eventually invokes
RWHVA's ShowWithVisibility() / Hide() functions which has additional
functionality related to page visibility, compared to tizen branch.
Hence make the changes suitable to new architecture.
Also show / hide content image evas object in sync with RWHVA's visibility.
References:
[1] https://www.w3.org/TR/page-visibility/
[2] https://review.tizen.org/gerrit/c/77637
https://review.tizen.org/gerrit/c/277832
https://review.tizen.org/gerrit/c/279282
https://review.tizen.org/gerrit/c/282642
Change-Id: I0e9df5734b3a2e14a3ad82c75e8eaf50b33e368f
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Bakka Uday Kiran [Mon, 30 Jan 2023 16:59:32 +0000 (22:29 +0530)]
[M108 Migration] Use mobile scrollbar theme for mobile profile
Before this change, desktop style scrollbar was displayed for mobile
profile.
Reference: https://review.tizen.org/gerrit/c/278827
Change-Id: I3e9f72e6e277f03e0a6ad953449c714a2ce12429
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
v-saha [Tue, 31 Jan 2023 14:31:59 +0000 (20:01 +0530)]
[M108 Migration] Move codes that handle EWK IPC messages from render frame
IPC messages for EWK are currently handled in WebViewBrowserMessageFilter
for both render view host messages and render frame host messages.
But render frame host messages come from specific render frame, so they
should be handled on specific render frame host. WebContentsObserver
provides OnMessageReceived function for that. So, this patch moves codes
which handle IPC messages for EWk from render frame into WebContentsObserverEfl
which is drived from WebContentsObserver.
Reference: https://review.tizen.org/gerrit/278453
Change-Id: I13648a043e3931472fbb27f710472b05b9d16e55
Signed-off-by: v-saha <v.saha@samsung.com>
Koyyani Maheswari [Wed, 11 Jan 2023 05:54:26 +0000 (11:24 +0530)]
[M108 Migration][TTS] Text to Speech Bringup
This patch brings the following changes to TTS
-Change state, destruction handling
-Run TTS as native platform interface.
-Remove unused code
-Handle EWK tts_mode set method
-Handle pause/stop during initialization
Reference:
https://review.tizen.org/gerrit/274760/
https://review.tizen.org/gerrit/275686/
Change-Id: Id23d3cb0c766b93fa7e7c7db83bab87f5ed99724
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
ayush.k123 [Tue, 31 Jan 2023 03:54:28 +0000 (09:24 +0530)]
[M108 Migration][Certificate] Bring up certificate
Migrate certificate related code from M94
References: https://review.tizen.org/gerrit/277727/
Change-Id: Ie9a8dc27fcc5b0eaf0f0f0d5dcc5f271992d3963
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Venugopal S M [Tue, 15 Nov 2022 14:53:08 +0000 (20:23 +0530)]
[M108 Migration][MM] Avoid evicting buffers on abort/duration change
Chromium still maintains deprecated logic to remove buffers on
duration change.
MSE conformance test
- MediaElementEvents:
Source buffer should not add/remove/update during the duration
update callback.
MSE Conformance link:
https://ytlr-cert.appspot.com/latest/main.html?tests=18
Reference: https://review.tizen.org/gerrit/284326
Change-Id: Ia0c6dca0bf60482bbd0dfb21c26498b86db9154d
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Bakka Uday Kiran [Mon, 30 Jan 2023 07:06:15 +0000 (12:36 +0530)]
[M108 Migration] Bringup Vibration feature
This patch enables support for Vibration client callbacks.
Reference: https://review.tizen.org/gerrit/c/278431
Change-Id: Ia0fc9221ecfbb448efeb185a2425d3b51d9b03bc
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Gajendra N [Tue, 31 Jan 2023 10:07:30 +0000 (15:37 +0530)]
[M108 Migration] Migrate AVAS patches
This commit squashes below avas patches and merge to M108.
References:
https://review.tizen.org/gerrit/279548
https://review.tizen.org/gerrit/279561
https://review.tizen.org/gerrit/279586
https://review.tizen.org/gerrit/279595
https://review.tizen.org/gerrit/279918
https://review.tizen.org/gerrit/282003
https://review.tizen.org/gerrit/282095
https://review.tizen.org/gerrit/282431
Change-Id: I800ae039bbbe0340a0f222582bda3fc1b8fd115b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Bakka Uday Kiran [Mon, 30 Jan 2023 13:48:51 +0000 (19:18 +0530)]
[M108 Migration] Set ContentSecurityPolicy rules to blink
1. Set CSP rules from ewk API to engine via mojo IPC after
|RenderFrameObserver::DidCreateDocumentElement| is notified.
2. Set sandbox flag on security context
when |WebDocument::SetContentSecurityPolicyUsingHeader| is invoked.
References:
https://review.tizen.org/gerrit/c/278286
https://review.tizen.org/gerrit/c/281099
Change-Id: I005b4ca61bc4c6dd1f7765eb18563889685c1a77
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
ayush.k123 [Mon, 30 Jan 2023 11:09:19 +0000 (16:39 +0530)]
[M108 Migration] Disable tracing ui(chrome://tracing)
'chrome://tracing' ui is for desktop browser, not tizen.
Reference: https://review.tizen.org/gerrit/279239/
Change-Id: I41ea63a7a22084cfd78872ed815b74c0e5bbdd13
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Tue, 24 Jan 2023 06:49:37 +0000 (12:19 +0530)]
[M108 Migration] Support unlimitedstorage privilege for Indexed DB
The unlimitedstorage privilege can be granted when temporary quota is
exceeded during indexedDB transaction. The minimum preserve space for
system is changed to 10% of the total disk space from 1GB.
The unlimitedstorage quota is the amount of available disk space
excluding 10% of the total disk space. the maximum quota is less than
or equal to 2GB.
Reference:
https://review.tizen.org/gerrit/277648
Change-Id: Ib2a05423c1d2b3ed7cb8db44caad8705941d99b9
Signed-off-by: v-saha <v.saha@samsung.com>
v-saha [Fri, 20 Jan 2023 06:28:15 +0000 (11:58 +0530)]
[M108 Migration][API] Bring up autofill
This patch migrates Autofill feature base code.
References:
https://review.tizen.org/gerrit/273586
https://review.tizen.org/gerrit/282263
Change-Id: Ie0dd8d81050e78dc812a8b6059aa2f6d795f8173
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
v-saha [Mon, 30 Jan 2023 11:55:51 +0000 (17:25 +0530)]
[M108 Migration] Toggle screencast off in Web inspector by default
When web inspector is launched & screencast is enabled
by default, it occupies a large amount of space & is tangential
to the earlier layouts we show to the user
Reference: https://review.tizen.org/gerrit/278284
Change-Id: Iae31c76d277ca1015ba335ce57c79cf9d86b20fc
Signed-off-by: v-saha <v.saha@samsung.com>
ayush.k123 [Fri, 27 Jan 2023 05:16:44 +0000 (10:46 +0530)]
[M108 Migration][NativeControl] Refactor Permission Popup.
This patch includes below changes:
- Refactor Permission_popup.
- Fix SetPopupTitle() hardcoding.
- Permission popup is closed, When request is cancelled.
- NULL checking while DeletePermissionRequest.
Reference: https://review.tizen.org/gerrit/c/277643/
Change-Id: I87080ac0061bb9bdf42c8db6a09db6a51b2a6596
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Gajendra N [Fri, 27 Jan 2023 06:23:38 +0000 (11:53 +0530)]
[M108 Migration][SAM] Migrate SAM score improvement patches
Improves MCD Score from 2.08 to 3.33.
Reduces LOC for WebContentsDelegateEfl by ~280 lines.
Reduces LOC for ContentBrowserClientEfl by ~85 lines.
References:
https://review.tizen.org/gerrit/275891
https://review.tizen.org/gerrit/275576
https://review.tizen.org/gerrit/275660
https://review.tizen.org/gerrit/276084
Change-Id: Ic034b902c7ccf9d74c100641aadbf604763c5f95
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Suhaspoornachandra [Wed, 25 Jan 2023 09:22:59 +0000 (14:52 +0530)]
[M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia
This commit migrates below patches and their fixup's
1) Add Tbm Surface support
2) Add support for tbm buffer handling
3) [MM] Handle TBM on video frame drop
4) [MM] Fix memory leak during playing video using TBM
5) [MM] Fix the crash when player is destroyed before tbm media
packet (partial)
Reference:
https://review.tizen.org/gerrit/269846/
https://review.tizen.org/gerrit/270726/
https://review.tizen.org/gerrit/272817/
https://review.tizen.org/gerrit/273650/
https://review.tizen.org/gerrit/274633/
https://review.tizen.org/gerrit/279208/
https://review.tizen.org/gerrit/282988/
Change-Id: Id65cfea36a7469c81c764d5d84d0ff9f84013244
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Bakka Uday Kiran [Tue, 24 Jan 2023 19:50:55 +0000 (01:20 +0530)]
[M108 Migration] Bring up ttrace
Add '--ttrace' build option
Import ttrace package
Define USE_TTRACE macro
Add use_ttrace GN variable
Add helper macro functions for TTRACE
Add TTRACE backend under TRACE_EVENT macro
Enable TTRACE except chrome trace log for TV product by default.
Reference: https://review.tizen.org/gerrit/c/277764
Change-Id: I40e2ec67c3619827a8b7de9c7e3bbcc22722d8a4
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Bakka Uday Kiran [Wed, 25 Jan 2023 12:08:03 +0000 (17:38 +0530)]
[M108 Migration][Product TV] Support TV specific keys
1. Support keys on TV remote controller,
like the media control keys: play, pause, stop.
Mapping these keys from EFL key names to VKEYs.
2. Enable DomCode and DomKey conversion
on standard profiles.
Reference:
https://review.tizen.org/gerrit/c/277836
https://review.tizen.org/gerrit/c/279232
https://review.tizen.org/gerrit/c/279340
Change-Id: Iefb7f9c30a5bdc623e77adf2034c3c1c8160cb6a
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
b.kiran [Wed, 25 Jan 2023 04:56:48 +0000 (10:26 +0530)]
[M108 Migration] Implement view port setting and zoom factor API
This patch implement below preference setting and
API for content scale.
1. As default meta view port enabling for mobile
2. Implement ewk api for view port set/get
Reference: https://review.tizen.org/gerrit/c/278887
Change-Id: Id030ba049d55d46e55aaa2b8c75e27f3c7ed5fe9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Gajendra N [Tue, 24 Jan 2023 06:45:06 +0000 (12:15 +0530)]
[M108 Migration][API] Introduce AddJavascriptInterface for Tizen
Introduces AddJavascriptInterface for tizen, adds logs for debugging and
support for posting blob type data type when using custom JS msg handler.
Additionally, on M108, due to lot of upstream changes in base/values.{h,cc}
prototypes, this patch fixes many build errors with respect to conversion
of JS types (list, blob, dict etc) to Native types.
Reference:
https://review.tizen.org/gerrit/273935
Change-Id: Id18d8756919c3730ad991ab2a2ea02f91d64131f
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Suhaspoornachandra [Wed, 11 Jan 2023 04:53:28 +0000 (10:23 +0530)]
[M108 Migration][STT] Speech bring up.
Refrence:
https://review.tizen.org/gerrit/c/274769/
https://review.tizen.org/gerrit/c/275686/
Change-Id: Ic439f156dc8804d7d2ad7eed59f3bd550153623a
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
uzair [Thu, 5 Jan 2023 08:01:55 +0000 (13:31 +0530)]
[PDNCF] Backport ImageManager class and its dependencies
Zero copy video rendering path is dependent on chromium GL_CHROMIUM_image
extension but open source plans to deprecate it in future and hence
some part of code is removed before 108 branch was forked for tizen and the new
CHROMIUM_shared_image extension path is not completely present in 108 version.
For now we partially backport [1] and [2] to bringup TBM path.
[1] https://chromium-review.googlesource.com/c/chromium/src/+/3582497
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3743320
Change-Id: If3d8eff200650113bd5b4893bb1636cd9895cb03
Signed-off-by: uzair <uzair.jaleel@samsung.com>