Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-01-25 12:22:19 +08:00
commit 35252384aa
16 changed files with 39 additions and 216 deletions

View file

@ -682,12 +682,6 @@ BrowserConsole.prototype = extend(WebConsole.prototype, {
this._telemetry.toolOpened("browserconsole");
// Create an onFocus handler just to display the dev edition promo.
// This is to prevent race conditions in some environments.
// Hook to display promotional Developer Edition doorhanger. Only displayed once.
let onFocus = () => showDoorhanger({ window, type: "deveditionpromo" });
window.addEventListener("focus", onFocus);
this._bc_init = this.$init();
return this._bc_init;
},