[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-102.8.0esr-12.0-1] fixup! Bug 31740: Remove some unnecessary RemoteSettings instances



Title: GitLab

Richard Pospesel pushed to branch base-browser-102.8.0esr-12.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 82de2705
    by cypherpunks1 at 2023-02-09T16:14:17+00:00
    fixup! Bug 31740: Remove some unnecessary RemoteSettings instances
    
    Disable activity stream
    
    
    (cherry picked from commit 9514e0c69e51e308c7706266d07465e016617b5f)

1 changed file:

Changes:

  • browser/components/BrowserGlue.jsm
    ... ... @@ -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: () => {
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits