... |
... |
@@ -22,9 +22,6 @@ XPCOMUtils.defineLazyModuleGetters(this, { |
22
|
22
|
ActorManagerParent: "resource://gre/modules/ActorManagerParent.jsm",
|
23
|
23
|
AddonManager: "resource://gre/modules/AddonManager.jsm",
|
24
|
24
|
AppMenuNotifications: "resource://gre/modules/AppMenuNotifications.jsm",
|
25
|
|
- ASRouterDefaultConfig:
|
26
|
|
- "resource://activity-stream/lib/ASRouterDefaultConfig.jsm",
|
27
|
|
- ASRouterNewTabHook: "resource://activity-stream/lib/ASRouterNewTabHook.jsm",
|
28
|
25
|
ASRouter: "resource://activity-stream/lib/ASRouter.jsm",
|
29
|
26
|
AsyncShutdown: "resource://gre/modules/AsyncShutdown.jsm",
|
30
|
27
|
BackgroundUpdate: "resource://gre/modules/BackgroundUpdate.jsm",
|
... |
... |
@@ -716,27 +713,6 @@ let JSWINDOWACTORS = { |
716
|
713
|
matches: ["about:studies*"],
|
717
|
714
|
},
|
718
|
715
|
|
719
|
|
- ASRouter: {
|
720
|
|
- parent: {
|
721
|
|
- moduleURI: "resource:///actors/ASRouterParent.jsm",
|
722
|
|
- },
|
723
|
|
- child: {
|
724
|
|
- moduleURI: "resource:///actors/ASRouterChild.jsm",
|
725
|
|
- events: {
|
726
|
|
- // This is added so the actor instantiates immediately and makes
|
727
|
|
- // methods available to the page js on load.
|
728
|
|
- DOMDocElementInserted: {},
|
729
|
|
- },
|
730
|
|
- },
|
731
|
|
- matches: [
|
732
|
|
- "about:home*",
|
733
|
|
- "about:newtab*",
|
734
|
|
- "about:welcome*",
|
735
|
|
- "about:privatebrowsing",
|
736
|
|
- ],
|
737
|
|
- remoteTypes: ["privilegedabout"],
|
738
|
|
- },
|
739
|
|
-
|
740
|
716
|
SwitchDocumentDirection: {
|
741
|
717
|
child: {
|
742
|
718
|
moduleURI: "resource:///actors/SwitchDocumentDirectionChild.jsm",
|
... |
... |
@@ -2005,7 +1981,6 @@ BrowserGlue.prototype = { |
2005
|
1981
|
() => NewTabUtils.uninit(),
|
2006
|
1982
|
() => Normandy.uninit(),
|
2007
|
1983
|
() => RFPHelper.uninit(),
|
2008
|
|
- () => ASRouterNewTabHook.destroy(),
|
2009
|
1984
|
() => UpdateListener.reset(),
|
2010
|
1985
|
];
|
2011
|
1986
|
|
... |
... |
@@ -2716,12 +2691,6 @@ BrowserGlue.prototype = { |
2716
|
2691
|
},
|
2717
|
2692
|
},
|
2718
|
2693
|
|
2719
|
|
- {
|
2720
|
|
- task: () => {
|
2721
|
|
- ASRouterNewTabHook.createInstance(ASRouterDefaultConfig());
|
2722
|
|
- },
|
2723
|
|
- },
|
2724
|
|
-
|
2725
|
2694
|
{
|
2726
|
2695
|
condition: AppConstants.MOZ_UPDATE_AGENT,
|
2727
|
2696
|
task: () => {
|