[Service][Global] Expose standard and global objects 09/218609/8
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 26 Nov 2019 04:42:42 +0000 (20:42 -0800)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 30 Dec 2019 07:33:04 +0000 (23:33 -0800)
commit0b9845ca6f60b69b9e93dfb1cb742da32fd7d8c7
tree05ba391fd6d75814fb14e47e545d33837ef0e19f
parent6b44aee3be25d7d958152076d9a27ce02b46672d
[Service][Global] Expose standard and global objects

This enables functions and properties of global object,
such as setInterval, setTimeout, and etc in service apps.

Also, the primitives and standard objects are exposed
to fix following undefined and type-mismatched errors:

> Cannot set property 'setDate' of undefined
> Cannot convert 11,21,31,71,81,91 to Uint8Array

The list refers to following site:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

Change-Id: I61977e05b73b3817b75591d2c8b0bb708f175c8d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
wrt_app/service/main.js