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

Bug 1979608. r=hsivonen

parent 8e3b160d
Branches
No related tags found
1 merge request!1595Backport Bug 1979608
Pipeline #299941 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