зеркало из https://github.com/mozilla/gecko-dev.git
Bug 581309 - Remove unused properties from XPCOMUtils; r=sayrer
This commit is contained in:
Родитель
6cc6e8feba
Коммит
a1ef3d406d
|
@ -146,18 +146,6 @@ var XPCOMUtils = {
|
|||
}
|
||||
},
|
||||
|
||||
get _appID() {
|
||||
try {
|
||||
let appInfo = Cc["@mozilla.org/xre/app-info;1"].
|
||||
getService(Ci.nsIXULAppInfo);
|
||||
delete this._appID;
|
||||
return this._appID = appInfo.ID;
|
||||
}
|
||||
catch(ex) {
|
||||
return undefined;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Defines a getter on a specified object that will be created upon first use.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче