Commit 3f83d92b authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! BB 31575: Disable Firefox Home (Activity Stream)

TB 43886: Drop base-browser changes to AboutNewTabRedirector.sys.mjs
since the module is now excluded.
parent 2137d205
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -416,7 +416,20 @@ class BaseAboutNewTabRedirector {
   * the newtab page has no effect on the result of this function.
   */
  get defaultURL() {
    return "about:blank";
    // Generate the desired activity stream resource depending on state, e.g.,
    // "resource://newtab/prerendered/activity-stream.html"
    // "resource://newtab/prerendered/activity-stream-debug.html"
    // "resource://newtab/prerendered/activity-stream-noscripts.html"
    return [
      "resource://newtab/prerendered/",
      "activity-stream",
      // Debug version loads dev scripts but noscripts separately loads scripts
      this.activityStreamDebug && !this.privilegedAboutProcessEnabled
        ? "-debug"
        : "",
      this.privilegedAboutProcessEnabled ? "-noscripts" : "",
      ".html",
    ].join("");
  }

  newChannel() {