icecat: add release icecat-140.6.0-1gnu1 for aramo
This commit is contained in:
parent
92fef42cd6
commit
17ba0259bf
3382 changed files with 457689 additions and 569094 deletions
|
|
@ -923,12 +923,14 @@ static nsresult NewImageChannel(
|
|||
} else {
|
||||
// either we are loading something inside a document, in which case
|
||||
// we should always have a requestingNode, or we are loading something
|
||||
// outside a document, in which case the triggeringPrincipal and
|
||||
// triggeringPrincipal should always be the systemPrincipal.
|
||||
// However, there are exceptions: one is Notifications which create a
|
||||
// channel in the parent process in which case we can't get a
|
||||
// requestingNode.
|
||||
rv = NS_NewChannel(aResult, aURI, nsContentUtils::GetSystemPrincipal(),
|
||||
// outside a document, in which case the triggeringPrincipal should be the
|
||||
// systemPrincipal. However, there are exceptions: one is Notifications
|
||||
// which create a channel in the parent process in which case we can't get a
|
||||
// requestingNode though we might have a valid triggeringPrincipal.
|
||||
rv = NS_NewChannel(aResult, aURI,
|
||||
aTriggeringPrincipal
|
||||
? aTriggeringPrincipal
|
||||
: nsContentUtils::GetSystemPrincipal(),
|
||||
securityFlags, aPolicyType,
|
||||
nullptr, // nsICookieJarSettings
|
||||
nullptr, // PerformanceStorage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue