[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.6.0esr-12.5-1] fixup! Bug 32308: use direct browser sizing for letterboxing.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Jan 11 13:49:50 UTC 2023



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/84e066a26d74b5890c0681ff840f2dc3f2f02f92

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/84e066a26d74b5890c0681ff840f2dc3f2f02f92
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230111/67b6b0d4/attachment-0001.htm>


More information about the tbb-commits mailing list