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


Commits:
1431b193 by cypherpunks1 at 2023-08-24T20:26: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/1431b19332d6146c656ca50d57b9efd8909e243c

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


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to