Commit 2de5fc98 authored by Gijs Kruitbosch's avatar Gijs Kruitbosch
Browse files

Bug 1719939 - remove browser.proton.enabled from new tab code, r=mviar

parent 0c6e2904
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ A full-page multistep experience that shows a large splash screen and several su
An older multi-stage experience that has been available since Fx80 but was deprecated in Fx89 and support removed in Fx92.

Testing instructions: 
- In Fx89, set `browser.proton.enabled` as `false` in about:config.
- In Fx90+, set `browser.aboutwelcome.protonDesign` as `false` in about:config

##### Return to AMO (RTAMO)
+1 −12
Original line number Diff line number Diff line
@@ -13,13 +13,6 @@ XPCOMUtils.defineLazyModuleGetters(this, {
  Services: "resource://gre/modules/Services.jsm",
});

XPCOMUtils.defineLazyPreferenceGetter(
  this,
  "PROTON_ENABLED",
  "browser.proton.enabled",
  false
);

class InfoBarNotification {
  constructor(message, dispatch) {
    this._dispatch = dispatch;
@@ -46,11 +39,7 @@ class InfoBarNotification {
      notificationContainer = gBrowser.getNotificationBox(browser);
    }

    let priority =
      content.priority ||
      (PROTON_ENABLED
        ? notificationContainer.PRIORITY_SYSTEM
        : notificationContainer.PRIORITY_INFO_MEDIUM);
    let priority = content.priority || notificationContainer.PRIORITY_SYSTEM;

    this.notification = notificationContainer.appendNotification(
      this.message.id,