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

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



Title: GitLab

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

Commits:

  • 5755f0af
    by cypherpunks1 at 2023-02-09T16:15:07+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
    ... ... @@ -21,9 +21,6 @@ XPCOMUtils.defineLazyModuleGetters(this, {
    21 21
       ActorManagerParent: "resource://gre/modules/ActorManagerParent.jsm",
    
    22 22
       AddonManager: "resource://gre/modules/AddonManager.jsm",
    
    23 23
       AppMenuNotifications: "resource://gre/modules/AppMenuNotifications.jsm",
    
    24
    -  ASRouterDefaultConfig:
    
    25
    -    "resource://activity-stream/lib/ASRouterDefaultConfig.jsm",
    
    26
    -  ASRouterNewTabHook: "resource://activity-stream/lib/ASRouterNewTabHook.jsm",
    
    27 24
       ASRouter: "resource://activity-stream/lib/ASRouter.jsm",
    
    28 25
       AsyncShutdown: "resource://gre/modules/AsyncShutdown.jsm",
    
    29 26
       BackgroundUpdate: "resource://gre/modules/BackgroundUpdate.jsm",
    
    ... ... @@ -738,27 +735,6 @@ let JSWINDOWACTORS = {
    738 735
         matches: ["about:studies*"],
    
    739 736
       },
    
    740 737
     
    
    741
    -  ASRouter: {
    
    742
    -    parent: {
    
    743
    -      moduleURI: "resource:///actors/ASRouterParent.jsm",
    
    744
    -    },
    
    745
    -    child: {
    
    746
    -      moduleURI: "resource:///actors/ASRouterChild.jsm",
    
    747
    -      events: {
    
    748
    -        // This is added so the actor instantiates immediately and makes
    
    749
    -        // methods available to the page js on load.
    
    750
    -        DOMDocElementInserted: {},
    
    751
    -      },
    
    752
    -    },
    
    753
    -    matches: [
    
    754
    -      "about:home*",
    
    755
    -      "about:newtab*",
    
    756
    -      "about:welcome*",
    
    757
    -      "about:privatebrowsing",
    
    758
    -    ],
    
    759
    -    remoteTypes: ["privilegedabout"],
    
    760
    -  },
    
    761
    -
    
    762 738
       SwitchDocumentDirection: {
    
    763 739
         child: {
    
    764 740
           moduleURI: "resource:///actors/SwitchDocumentDirectionChild.jsm",
    
    ... ... @@ -2058,7 +2034,6 @@ BrowserGlue.prototype = {
    2058 2034
           () => NewTabUtils.uninit(),
    
    2059 2035
           () => Normandy.uninit(),
    
    2060 2036
           () => RFPHelper.uninit(),
    
    2061
    -      () => ASRouterNewTabHook.destroy(),
    
    2062 2037
           () => UpdateListener.reset(),
    
    2063 2038
           () => OnionAliasStore.uninit(),
    
    2064 2039
         ];
    
    ... ... @@ -2797,12 +2772,6 @@ BrowserGlue.prototype = {
    2797 2772
             },
    
    2798 2773
           },
    
    2799 2774
     
    
    2800
    -      {
    
    2801
    -        task: () => {
    
    2802
    -          ASRouterNewTabHook.createInstance(ASRouterDefaultConfig());
    
    2803
    -        },
    
    2804
    -      },
    
    2805
    -
    
    2806 2775
           {
    
    2807 2776
             condition: AppConstants.MOZ_UPDATE_AGENT,
    
    2808 2777
             task: () => {
    

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