mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-09 10:29:32 +00:00
gh-14460: prevent nested glance tabs (gh-14480)
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
@@ -1551,6 +1551,7 @@ class nsZenGlanceManager extends nsZenDOMOperatedFeature {
|
||||
return (
|
||||
owner &&
|
||||
owner.pinned &&
|
||||
!owner.hasAttribute("glance-id") &&
|
||||
this._lazyPref.SHOULD_OPEN_EXTERNAL_TABS_IN_GLANCE &&
|
||||
owner.linkedBrowser?.browsingContext?.isAppTab &&
|
||||
this.tabDomainsDiffer(owner, uri) &&
|
||||
|
||||
Reference in New Issue
Block a user