[tbb-commits] [Git][tpo/applications/tor-browser][base-browser-115.2.0esr-13.0-1] Bug 41740: Change the RFP value of devicePixelRatio to 2

richard (@richard) git at gitlab.torproject.org
Thu Aug 24 20:29:21 UTC 2023



richard pushed to branch base-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
a7f0a2c3 by cypherpunks1 at 2023-08-24T20:28:49+00:00
Bug 41740: Change the RFP value of devicePixelRatio to 2

- - - - -


1 changed file:

- dom/base/nsGlobalWindowInner.cpp


Changes:

=====================================
dom/base/nsGlobalWindowInner.cpp
=====================================
@@ -3616,7 +3616,7 @@ double nsGlobalWindowInner::GetDevicePixelRatio(CallerType aCallerType,
     nsAutoCString origin;
     nsresult rv = this->GetPrincipal()->GetOrigin(origin);
     if (NS_FAILED(rv) || origin != "resource://pdf.js"_ns) {
-      return 1.0;
+      return 2.0;
     }
   }
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a7f0a2c3c2497ef54595f764aa661772528f06fb

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a7f0a2c3c2497ef54595f764aa661772528f06fb
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/20230824/2a677da6/attachment-0001.htm>


More information about the tbb-commits mailing list