
Pier Angelo Vendrame pushed to branch tor-browser-102.6.0esr-12.5-1 at The Tor Project / Applications / Tor Browser Commits: a191ab73 by hackademix at 2023-01-12T23:47:27+01:00 fixup! Bug 32308: use direct browser sizing for letterboxing. Bug 41573: fix needless letterboxing on startup windows at some resolutions. - - - - - 1 changed file: - toolkit/components/resistfingerprinting/RFPHelper.jsm Changes: ===================================== toolkit/components/resistfingerprinting/RFPHelper.jsm ===================================== @@ -413,9 +413,10 @@ class _RFPHelper { [containerWidth, containerHeight], ] = await win.promiseDocumentFlushed(() => // Read layout info only inside this callback and do not write, to avoid additional reflows - [aBrowser, browserParent, browserContainer] - .map(e => e.getBoundingClientRect()) - .map(r => [r.width, r.height]) + [aBrowser, browserParent, browserContainer].map(element => [ + element.clientWidth, + element.clientHeight, + ]) ); log( View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a191ab73... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a191ab73... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
Pier Angelo Vendrame (@pierov)