Pier Angelo Vendrame pushed to branch tor-browser-102.6.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits: 84e066a2 by hackademix at 2023-01-11T11:10:14+01:00 fixup! Bug 32308: use direct browser sizing for letterboxing.
Bug 41560: fix turning off letterboxing causes content not rendering in the current window.
- - - - -
2 changed files:
- browser/base/content/browser.css - toolkit/components/resistfingerprinting/RFPHelper.jsm
Changes:
===================================== browser/base/content/browser.css ===================================== @@ -111,7 +111,7 @@ body { outline: initial; }
-:root:not([inDOMFullscreen]) .letterboxing-ready .browserStack:not(.exclude-letterboxing) { +:root:not([inDOMFullscreen]) .letterboxing.letterboxing-ready .browserStack:not(.exclude-letterboxing) { place-content: start center; }
===================================== toolkit/components/resistfingerprinting/RFPHelper.jsm ===================================== @@ -601,7 +601,7 @@ class _RFPHelper { _detachWindow(aWindow) { let tabBrowser = aWindow.gBrowser; tabBrowser.removeTabsProgressListener(this); - aWindow._rfpResizeObserver.disconnect(); + aWindow._rfpResizeObserver?.disconnect(); delete aWindow._rfpResizeObserver; aWindow.removeEventListener("TabOpen", this);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/84e066a2...