mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-20 03:13:09 +09:00
Bug 1182569: Use AsyncOpen2 for docshell loads
This commit is contained in:
parent
c67619d6cb
commit
e162907475
3 changed files with 21 additions and 35 deletions
|
|
@ -1644,7 +1644,7 @@ nsDocShell::LoadStream(nsIInputStream* aStream, nsIURI* aURI,
|
|||
uri,
|
||||
aStream,
|
||||
triggeringPrincipal,
|
||||
nsILoadInfo::SEC_NORMAL,
|
||||
nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
|
||||
nsIContentPolicy::TYPE_OTHER,
|
||||
aContentType,
|
||||
aContentCharset);
|
||||
|
|
@ -10961,7 +10961,8 @@ nsDocShell::DoURILoad(nsIURI* aURI,
|
|||
}
|
||||
|
||||
nsLoadFlags loadFlags = mDefaultLoadFlags;
|
||||
nsSecurityFlags securityFlags = nsILoadInfo::SEC_NORMAL;
|
||||
nsSecurityFlags securityFlags =
|
||||
nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL;
|
||||
|
||||
if (aFirstParty) {
|
||||
// tag first party URL loads
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue