Bug 1719184 - Transmit blob URLs more accurately when loading, r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D119539
This commit is contained in:
Nika Layzell
2021-07-12 20:56:04 +00:00
parent af0a4c265d
commit fa9d05a266
6 changed files with 49 additions and 43 deletions

View File

@@ -1968,8 +1968,7 @@ nsresult BrowsingContext::LoadURI(nsDocShellLoadState* aLoadState,
aLoadState->SetChannelInitialized(true);
}
cp->TransmitBlobDataIfBlobURL(aLoadState->URI(),
aLoadState->TriggeringPrincipal());
cp->TransmitBlobDataIfBlobURL(aLoadState->URI());
// Setup a confirmation callback once the content process receives this
// load. Normally we'd expect a PDocumentChannel actor to have been