Bug 1979608. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D258859 Differential Revision: https://phabricator.services.mozilla.com/D259975
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
c446c5e360
commit
982a6c591c
@@ -77,9 +77,10 @@ nsresult txNodeSorter::addSortElement(Expr* aSelectExpr, Expr* aLangExpr,
|
|||||||
if (aLangExpr) {
|
if (aLangExpr) {
|
||||||
rv = aLangExpr->evaluateToString(aContext, lang);
|
rv = aLangExpr->evaluateToString(aContext, lang);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
} else if (aContext->getContextNode()
|
}
|
||||||
.OwnerDoc()
|
if (lang.IsEmpty() &&
|
||||||
->ShouldResistFingerprinting(RFPTarget::JSLocale)) {
|
aContext->getContextNode().OwnerDoc()->ShouldResistFingerprinting(
|
||||||
|
RFPTarget::JSLocale)) {
|
||||||
CopyUTF8toUTF16(nsRFPService::GetSpoofedJSLocale(), lang);
|
CopyUTF8toUTF16(nsRFPService::GetSpoofedJSLocale(), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user