Bug 1866661, r=hjones,reusable-components-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D235457
This commit is contained in:
@@ -156,6 +156,12 @@
|
||||
"browser.tabs.unloadTabInContextMenu",
|
||||
false
|
||||
);
|
||||
XPCOMUtils.defineLazyPreferenceGetter(
|
||||
this,
|
||||
"_notificationEnableDelay",
|
||||
"security.notification_enable_delay",
|
||||
500
|
||||
);
|
||||
|
||||
if (AppConstants.MOZ_CRASHREPORTER) {
|
||||
ChromeUtils.defineESModuleGetters(this, {
|
||||
@@ -908,7 +914,7 @@
|
||||
if (browser == this.selectedBrowser) {
|
||||
this._updateVisibleNotificationBox(browser);
|
||||
}
|
||||
});
|
||||
}, this._notificationEnableDelay);
|
||||
}
|
||||
return browser._notificationBox;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user