зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1905284 - Mark triggering principal as not nullable in BlobURLDataRequest. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D215183
This commit is contained in:
Родитель
9834b9c9fd
Коммит
5d618d3e71
|
@ -430,7 +430,7 @@ void BlobURLInputStream::RetrieveBlobData(const MutexAutoLock& aProofOfLock) {
|
|||
|
||||
contentChild
|
||||
->SendBlobURLDataRequest(
|
||||
mBlobURLSpec, triggeringPrincipal, loadingPrincipal,
|
||||
mBlobURLSpec, WrapNotNull(triggeringPrincipal), loadingPrincipal,
|
||||
loadInfo->GetOriginAttributes(), loadInfo->GetInnerWindowID(),
|
||||
NS_ConvertUTF16toUTF8(partKey))
|
||||
->Then(
|
||||
|
|
|
@ -1801,7 +1801,7 @@ parent:
|
|||
bool aUserActivation) returns(int32_t? requestedIndex);
|
||||
|
||||
async BlobURLDataRequest(nsCString aBlobURL,
|
||||
nullable nsIPrincipal aTriggeringPrincipal,
|
||||
nsIPrincipal aTriggeringPrincipal,
|
||||
nullable nsIPrincipal aLoadingPrincipal,
|
||||
OriginAttributes aOriginAttributes,
|
||||
uint64_t aInnerWindowId,
|
||||
|
|
Загрузка…
Ссылка в новой задаче