[Service] Support requestTrustedRemoteMessagePort 72/267572/6
authorDongHyun Song <dh81.song@samsung.com>
Tue, 7 Dec 2021 07:12:21 +0000 (16:12 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 9 Dec 2021 03:41:09 +0000 (03:41 +0000)
commitd08fbe37f46a589f0535c7141db3bdb095ab9a74
treea0255ffb742c5a464aa9aa67218ced978b8ce834
parent50187a581ec039731367867cdf17cdba9bdb61cb
[Service] Support requestTrustedRemoteMessagePort

MessagePort API requestTrustedRemoteMessagePort is only able to
communicate apps, which has same certificate.
Thus, wrt-service cannot send the message by this API.
 - 'receive' was already handled by wrt-service-launcher

To support this messaging (service --> trusted app), wrt-service-launcher
will relay the message by creating the local port for wrt-service.

Related chromium-efl patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/267623/

Change-Id: Id107160c10b68945c9e634b4816925ecc60a9abb
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/service/device_api_router.ts