[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-128.13.0esr-14.5-1] Bug 1979608. r=hsivonen



Title: GitLab

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

Commits:

  • 3f58a973
    by Pier Angelo Vendrame at 2025-08-05T16:57:44+02:00
    Bug 1979608. r=hsivonen
    
    Differential Revision: https://phabricator.services.mozilla.com/D258859
    

1 changed file:

Changes:

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

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx