The webapis object is exposed to service app context
to support eden extension plugins.
Change-Id: I8586dd5c16af8c5c282742ea9647f91be6382d00
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
require: require,
tizen: tizen,
};
+ if (wrt.tv) {
+ sandbox[internal_id].webapis = webapis;
+ }
let access_control_manager = new AccessControlManager(permissions, sandbox[internal_id]);
access_control_manager.initialize();
for (let key in global) {
require: require,
tizen: tizen,
};
+ if (wrt.tv) {
+ _this.sandbox[app_id].webapis = webapis;
+ }
for(let key in global) {
_this.sandbox[app_id][key] = global[key];
}