Fix RWI is not working issue for HostedApp 90/299290/1 submit/tizen/20230925.160023
authorzhaosy <shiyusy.zhao@samsung.com>
Mon, 25 Sep 2023 07:57:47 +0000 (15:57 +0800)
committerzhaosy <shiyusy.zhao@samsung.com>
Mon, 25 Sep 2023 07:57:47 +0000 (15:57 +0800)
commit8ae933fcdac47c2a423898a6a0c0d126bd020a23
tree471a91ec77e38e3be4f04dfdb16cbc00db83b71a
parent5fcb8a5f26b570169c30dac98ba158a2763b0005
Fix RWI is not working issue for HostedApp

If launch HostedApp by command "app_launcher -w -s app_id"(AppFW add
(key:__AUL_DEBUG__, value:1) to appControl), launchInspectorIfNeeded
is not called because HostedApp has loaded url before app control event,
which causes command is blocked and debugPort is not created.

So call launchInspectorIfNeeded in this case.

Change-Id: Ief5d0be1ae07c3c077f95bcf5daa88e33313a0ab
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt_app/src/web_application.ts