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

Bug 1979608. r=hsivonen

parent 22bd0f47
No related tags found
No related merge requests found
Pipeline #299946 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