Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
This commit is contained in:
@@ -1721,10 +1721,10 @@ nsresult HTMLFormElement::GetActionURL(nsIURI** aActionURL,
|
||||
|
||||
CSP_LogLocalizedStr(
|
||||
"upgradeInsecureRequest", params,
|
||||
EmptyString(), // aSourceFile
|
||||
EmptyString(), // aScriptSample
|
||||
0, // aLineNumber
|
||||
0, // aColumnNumber
|
||||
u""_ns, // aSourceFile
|
||||
u""_ns, // aScriptSample
|
||||
0, // aLineNumber
|
||||
0, // aColumnNumber
|
||||
nsIScriptError::warningFlag, "upgradeInsecureRequest"_ns,
|
||||
document->InnerWindowID(),
|
||||
!!document->NodePrincipal()->OriginAttributesRef().mPrivateBrowsingId);
|
||||
@@ -2113,7 +2113,7 @@ HTMLFormElement::WalkRadioGroup(const nsAString& aName,
|
||||
nsCOMPtr<Element> controlElement = do_QueryInterface(control);
|
||||
if (controlElement &&
|
||||
controlElement->AttrValueIs(kNameSpaceID_None, nsGkAtoms::name,
|
||||
EmptyString(), eCaseMatters) &&
|
||||
u""_ns, eCaseMatters) &&
|
||||
!aVisitor->Visit(control)) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user