Add 'self' as global scope for web worker 75/272175/1
authorDongHyun Song <dh81.song@samsung.com>
Tue, 8 Mar 2022 08:35:55 +0000 (17:35 +0900)
committerPiotr Kosko <p.kosko@samsung.com>
Thu, 10 Mar 2022 10:20:16 +0000 (10:20 +0000)
commit0c262dcf70fde4ed6304869f88e8fe83a7cd4fee
tree904f20f52423cf66c905fd6d518bad34df76a141
parent358272f5773e813829cc61c1dcb1e120ab279c41
Add 'self' as global scope for web worker

In web worker world, 'self' is defined global scope object.
This change is necessary to apply tizen webapis on web worker for
specific purpose. (i.e. tizen.ml)

Change-Id: Ie9602ea4f492589dad2c87e3c0bd8e2602278c02
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit 937fc3e4fd8c9a3dd32974a4e261d82e4db31b73)
src/utils/utils_api.js