[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV 46/289046/2
authorfr.fang <fr.fang@samsung.com>
Tue, 28 Feb 2023 01:15:08 +0000 (09:15 +0800)
committerBot Blink <blinkbot@samsung.com>
Tue, 28 Feb 2023 10:35:30 +0000 (10:35 +0000)
commit65811819a9d642863612b84bcc7d74eb4b9bf3f4
tree7f277f881f4fa638617229a35543ebb8c90c2469
parentbb36f32fd42542a54e047bcd7c5c7ee300ec18d2
[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV

1.This CL implement api ewk_context_register_url_schemes_as_cors_enabled.
With this CL, WebEngine can parse dvb url host as CORS.
2.Remove WRT dependency of injected bundle, only HbbTV uses it.
3.Fix the loss of IPC message caused by multithreading.

This patch includes :
1) Added protection for NULL message in IPC.
   There was no exception handling for the NULL message
   in low memory situation.
2) Fix the issue the deleted message is used again.
   When multiple render process exit ,the message is deleted
   after it send to one render process.
   Copy the message before it is sent to render process.

References:
https://review.tizen.org/gerrit/#/c/251270/
https://review.tizen.org/gerrit/#/c/250990
https://review.tizen.org/gerrit/#/c/255829

Change-Id: Iaf0084a385649fda71d2c0856398b0c26458c919
Signed-off-by: fr.fang <fr.fang@samsung.com>
26 files changed:
ipc/ipc_channel_mojo.cc
third_party/blink/public/web/web_security_policy.h
third_party/blink/renderer/core/exported/web_security_policy.cc
third_party/blink/renderer/platform/weborigin/scheme_registry.cc
third_party/blink/renderer/platform/weborigin/scheme_registry.h
tizen_src/ewk/efl_integration/BUILD.gn
tizen_src/ewk/efl_integration/common/content_switches_efl.cc
tizen_src/ewk/efl_integration/common/content_switches_efl.h
tizen_src/ewk/efl_integration/common/render_messages_ewk.h
tizen_src/ewk/efl_integration/content_browser_client_efl.cc
tizen_src/ewk/efl_integration/eweb_context.cc
tizen_src/ewk/efl_integration/eweb_context.h
tizen_src/ewk/efl_integration/private/ewk_context_private.cc
tizen_src/ewk/efl_integration/private/ewk_context_private.h
tizen_src/ewk/efl_integration/public/ewk_context.cc
tizen_src/ewk/efl_integration/renderer/content_renderer_client_efl.cc
tizen_src/ewk/efl_integration/wrt/dynamicplugin.cc
tizen_src/ewk/efl_integration/wrt/dynamicplugin.h
tizen_src/ewk/efl_integration/wrt/hbbtv_dynamicplugin.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/hbbtv_dynamicplugin.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/hbbtv_widget.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/hbbtv_widget.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/hbbtv_widget_host.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/hbbtv_widget_host.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/wrt/v8widget.cc
tizen_src/ewk/efl_integration/wrt/wrt_widget_host.cc