зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1629351 - Fix typo in name of IsPincipalInfoPrivate. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D70642 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
30ebe67957
Коммит
29c6b3234c
|
@ -1324,7 +1324,7 @@ class GetUserMediaStreamRunnable : public Runnable {
|
|||
}
|
||||
});
|
||||
|
||||
if (!IsPincipalInfoPrivate(mPrincipalInfo)) {
|
||||
if (!IsPrincipalInfoPrivate(mPrincipalInfo)) {
|
||||
// Call GetPrincipalKey again, this time w/persist = true, to promote
|
||||
// deviceIds to persistent, in case they're not already. Fire'n'forget.
|
||||
media::GetPrincipalKey(mPrincipalInfo, true)
|
||||
|
|
|
@ -440,7 +440,7 @@ mozilla::ipc::IPCResult Parent<Super>::RecvGetPrincipalKey(
|
|||
|
||||
nsresult rv;
|
||||
nsAutoCString result;
|
||||
if (IsPincipalInfoPrivate(aPrincipalInfo)) {
|
||||
if (IsPrincipalInfoPrivate(aPrincipalInfo)) {
|
||||
rv = sOriginKeyStore->mPrivateBrowsingOriginKeys.GetPrincipalKey(
|
||||
aPrincipalInfo, result);
|
||||
} else {
|
||||
|
|
|
@ -341,7 +341,7 @@ nsresult PrincipalToPrincipalInfo(nsIPrincipal* aPrincipal,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
bool IsPincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo) {
|
||||
bool IsPrincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo) {
|
||||
if (aPrincipalInfo.type() != ipc::PrincipalInfo::TContentPrincipalInfo) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ nsresult CSPToCSPInfo(nsIContentSecurityPolicy* aCSP, CSPInfo* aCSPInfo);
|
|||
* Return true if this PrincipalInfo is a content principal and it has
|
||||
* a privateBrowsing id in its OriginAttributes
|
||||
*/
|
||||
bool IsPincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo);
|
||||
bool IsPrincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo);
|
||||
|
||||
/**
|
||||
* Convert an RedirectHistoryEntryInfo to a nsIRedirectHistoryEntry.
|
||||
|
|
Загрузка…
Ссылка в новой задаче