зеркало из https://github.com/mozilla/gecko-dev.git
Bug 773845: lazy-load some social modules to see what effect that has on maxheap/allocs tests
This commit is contained in:
Родитель
78805c69af
Коммит
ebdbc80321
|
@ -7,8 +7,10 @@
|
|||
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
|
||||
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/FrameWorker.jsm");
|
||||
Cu.import("resource://gre/modules/WorkerAPI.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "getFrameWorkerHandle", "resource://gre/modules/FrameWorker.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "WorkerAPI", "resource://gre/modules/WorkerAPI.jsm");
|
||||
|
||||
const EXPORTED_SYMBOLS = ["SocialProvider"];
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@ const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
|
|||
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/SocialProvider.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "SocialProvider", "resource://gre/modules/SocialProvider.jsm");
|
||||
|
||||
// Internal helper methods and state
|
||||
let SocialServiceInternal = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче