'global' wrt-service is more common name than 'daemon'
Related chromium-efl patch:
https://review.tizen.org/gerrit/247741/
Change-Id: I9139832bc0cf4d2ce6a6b916c1e98ba984e4e5ed
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
}
function isGlobalService() {
- return global['serviceType'] === 'DAEMON';
+ return global['serviceType'] === 'GLOBAL';
}
function registerExtensionResolver(id: string) {
var api = (ext.use_trampoline) ? api_ : global;
var extension_api = ext.jsapi;
- if (global.serviceType === 'DAEMON' && ext.name === 'xwalk') {
+ if (global.serviceType === 'GLOBAL' && ext.name === 'xwalk') {
console.log(`Delete freeze exports.utils for override method`);
extension_api = extension_api.replace('Object.freeze(exports.utils);', '');
extension_api = extension_api.replace('Object.freeze(Utils.prototype);', '');