Support setVirtualPath for thread-model wrt-service 43/260943/3
authorDongHyun Song <dh81.song@samsung.com>
Wed, 7 Jul 2021 08:47:14 +0000 (17:47 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Wed, 7 Jul 2021 09:01:07 +0000 (18:01 +0900)
commitdcddf32c19356eaf1f5d9a4d2bbfc7410d661a6e
tree3c20b9bbbc3ec46442bd01c77070950ece779cd4
parent4870490975f9cbfa3eb16cc892f3593cb74b6668
Support setVirtualPath for thread-model wrt-service

thread-model wrt-service runs all service application on worker
thread as daemon process.

For the virtual path resolving, it cannot get service application's
path. i.e. /home/owner/apps_rw/{service_app_pkgid}/data, becuase
wrt-service is org.tizen.chromium-efl package.

Thus, setting virtual path will be set by wrt-service framework
before each node worker thread started.
 - node worker has own V8 context

Change-Id: I8dd5e524584ebe71416c86c1e8648a2c4cfc4b94
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
src/filesystem/js/common.js