зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1541508 - Expose nsIEnvironment as Services.env r=xpcom-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D160135
This commit is contained in:
Родитель
afce893d46
Коммит
54759df95e
|
@ -22,6 +22,7 @@
|
|||
"nsIDroppedLinkHandler": "droppedLinkHandler",
|
||||
"nsIEffectiveTLDService": "eTLD",
|
||||
"nsIEnterprisePolicies": "policies",
|
||||
"nsIEnvironment": "env",
|
||||
"nsIEventListenerService": "els",
|
||||
"nsIFOG": "fog",
|
||||
"nsIFocusManager": "focus",
|
||||
|
|
|
@ -10,6 +10,8 @@ Classes = [
|
|||
'contract_ids': ['@mozilla.org/process/environment;1'],
|
||||
'legacy_constructor': 'nsEnvironment::Create',
|
||||
'headers': ['/xpcom/threads/nsEnvironment.h'],
|
||||
'js_name': 'env',
|
||||
'interfaces': ['nsIEnvironment'],
|
||||
},
|
||||
{
|
||||
'cid': '{5ff24248-1dd2-11b2-8427-fbab44f29bc8}',
|
||||
|
|
Загрузка…
Ссылка в новой задаче