зеркало из https://github.com/mozilla/gecko-dev.git
Bug 798028 - NetworkStatsService.jsm is not available in non-RIL builds [r=marshall]
This commit is contained in:
Родитель
46549a6bb0
Коммит
f5db9c7e0a
|
@ -396,7 +396,9 @@ pref("dom.mozContacts.enabled", true);
|
|||
pref("dom.mozAlarms.enabled", true);
|
||||
|
||||
// NetworkStats
|
||||
#ifdef MOZ_B2G_RIL
|
||||
pref("dom.mozNetworkStats.enabled", true);
|
||||
#endif
|
||||
|
||||
// WebSettings
|
||||
pref("dom.mozSettings.enabled", true);
|
||||
|
|
|
@ -25,7 +25,9 @@ Cu.import('resource://gre/modules/accessibility/AccessFu.jsm');
|
|||
Cu.import('resource://gre/modules/Payment.jsm');
|
||||
Cu.import("resource://gre/modules/AppsUtils.jsm");
|
||||
Cu.import('resource://gre/modules/UserAgentOverrides.jsm');
|
||||
#ifdef MOZ_B2G_RIL
|
||||
Cu.import('resource://gre/modules/NetworkStatsService.jsm');
|
||||
#endif
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(Services, 'env',
|
||||
'@mozilla.org/process/environment;1',
|
||||
|
|
Загрузка…
Ссылка в новой задаче