Pier Angelo Vendrame pushed to branch mullvad-browser-140.1.0esr-15.0-1 at The 
Tor Project / Applications / Mullvad Browser


Commits:
6ed66bd3 by Pier Angelo Vendrame at 2025-08-05T16:55:44+02:00
Bug 1979608. r=hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D258859

- - - - -


1 changed file:

- dom/xslt/xslt/txNodeSorter.cpp


Changes:

=====================================
dom/xslt/xslt/txNodeSorter.cpp
=====================================
@@ -77,9 +77,10 @@ nsresult txNodeSorter::addSortElement(Expr* aSelectExpr, 
Expr* aLangExpr,
     if (aLangExpr) {
       rv = aLangExpr->evaluateToString(aContext, lang);
       NS_ENSURE_SUCCESS(rv, rv);
-    } else if (aContext->getContextNode()
-                   .OwnerDoc()
-                   ->ShouldResistFingerprinting(RFPTarget::JSLocale)) {
+    }
+    if (lang.IsEmpty() &&
+        aContext->getContextNode().OwnerDoc()->ShouldResistFingerprinting(
+            RFPTarget::JSLocale)) {
       CopyUTF8toUTF16(nsRFPService::GetSpoofedJSLocale(), lang);
     }
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/6ed66bd37d12e7bedcb3107551363e1e88489610

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


_______________________________________________
tbb-commits mailing list -- tbb-commits@lists.torproject.org
To unsubscribe send an email to tbb-commits-le...@lists.torproject.org

Reply via email to