mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-31 18:52:15 +00:00
* chore: Updateed to firefox 142.0, b=no-bug, c=l10n, folders * chore: Finish updating to firefox, b=no-bug, c=tabs * chore: Fixed mods builds, b=no-bug, c=mods * feat: Small changes to tabs layout, b=no-bug, c=tabs, compact-mode, folders, workspaces * test: Fixed tests, b=no-bug, c=scripts, tests, folders * test: Fixed tests, b=no-bug, c=tabs, tests, welcome
25 lines
951 B
C++
25 lines
951 B
C++
diff --git a/browser/modules/BrowserDOMWindow.sys.mjs b/browser/modules/BrowserDOMWindow.sys.mjs
|
|
index 534d23b3e66176ea77f3ef577bf9630626948b9d..752e229bbe725ae394b7648adb949635f2bd70e4 100644
|
|
--- a/browser/modules/BrowserDOMWindow.sys.mjs
|
|
+++ b/browser/modules/BrowserDOMWindow.sys.mjs
|
|
@@ -374,7 +374,7 @@ export class BrowserDOMWindow {
|
|
// Passing a null-URI to only create the content window,
|
|
// and pass true for aSkipLoad to prevent loading of
|
|
// about:blank
|
|
- return this.getContentWindowOrOpenURIInFrame(
|
|
+ let res = this.getContentWindowOrOpenURIInFrame(
|
|
null,
|
|
aParams,
|
|
aWhere,
|
|
@@ -382,6 +382,10 @@ export class BrowserDOMWindow {
|
|
aName,
|
|
true
|
|
);
|
|
+ if (typeof this.win?.gZenGlanceManager !== "undefined" && this.win.toolbar.visible) {
|
|
+ this.win.gZenGlanceManager.onTabOpen(res, aURI);
|
|
+ }
|
|
+ return res;
|
|
}
|
|
|
|
openURIInFrame(aURI, aParams, aWhere, aFlags, aName) {
|