Skip to content
Snippets Groups Projects
Verified Commit 5ff48f30 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 1979608. r=hsivonen

parent 0d8bd916
Branches
Tags
No related merge requests found
Pipeline #299942 passed
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment