gh-12949: Fixed reset url indicator showing for sub documents (gh-13735)

This commit is contained in:
mr. m
2026-05-17 22:51:20 +02:00
committed by GitHub
parent 99e647a7a8
commit 77c513511b
3 changed files with 5 additions and 1 deletions

View File

@@ -62,7 +62,7 @@
value: "@IS_TWILIGHT@"
- name: zen.view.overflow-webext-toolbar-threshold
value: 60
value: 50
- name: zen.view.enable-loading-indicator
value: true

View File

@@ -413,6 +413,7 @@ class nsZenFolders extends nsZenDOMOperatedFeature {
const tab = event.detail;
const group = event.target;
if (
tab.pinned &&
group.hasAttribute("split-view-group") &&
tab.hasAttribute("had-zen-pinned-changed")
) {

View File

@@ -829,6 +829,9 @@ class nsZenPinnedTabManager extends nsZenDOMOperatedFeature {
}
onLocationChange(aBrowser, aWebProgress, aRequest, aLocationURI) {
if (!aWebProgress.isTopLevel) {
return;
}
// eslint-disable-next-line no-shadow
let location = aLocationURI ? aLocationURI.spec : "";
if (