mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1646573: Part 3 - Fix OriginalFrameSrcLoad with DocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D90341
This commit is contained in:
parent
2a6d61ec20
commit
061206b7f2
@ -517,6 +517,7 @@ nsresult LoadInfoToLoadInfoArgs(nsILoadInfo* aLoadInfo,
|
||||
aLoadInfo->GetAllowInsecureRedirectToDataURI(),
|
||||
aLoadInfo->GetBypassCORSChecks(),
|
||||
aLoadInfo->GetSkipContentPolicyCheckForWebRequest(),
|
||||
aLoadInfo->GetOriginalFrameSrcLoad(),
|
||||
aLoadInfo->GetForceInheritPrincipalDropped(),
|
||||
aLoadInfo->GetInnerWindowID(), aLoadInfo->GetBrowsingContextID(),
|
||||
aLoadInfo->GetFrameBrowsingContextID(),
|
||||
@ -774,6 +775,7 @@ nsresult LoadInfoArgsToLoadInfo(
|
||||
loadInfoArgs.allowInsecureRedirectToDataURI(),
|
||||
loadInfoArgs.bypassCORSChecks(),
|
||||
loadInfoArgs.skipContentPolicyCheckForWebRequest(),
|
||||
loadInfoArgs.originalFrameSrcLoad(),
|
||||
loadInfoArgs.forceInheritPrincipalDropped(), loadInfoArgs.innerWindowID(),
|
||||
loadInfoArgs.browsingContextID(), loadInfoArgs.frameBrowsingContextID(),
|
||||
loadInfoArgs.initialSecurityCheckDone(),
|
||||
|
@ -635,6 +635,7 @@ LoadInfo::LoadInfo(
|
||||
bool aBrowserWouldUpgradeInsecureRequests, bool aForceAllowDataURI,
|
||||
bool aAllowInsecureRedirectToDataURI, bool aBypassCORSChecks,
|
||||
bool aSkipContentPolicyCheckForWebRequest,
|
||||
bool aOriginalFrameSrcLoad,
|
||||
bool aForceInheritPrincipalDropped, uint64_t aInnerWindowID,
|
||||
uint64_t aBrowsingContextID, uint64_t aFrameBrowsingContextID,
|
||||
bool aInitialSecurityCheckDone, bool aIsThirdPartyContext,
|
||||
@ -683,7 +684,7 @@ LoadInfo::LoadInfo(
|
||||
mBypassCORSChecks(aBypassCORSChecks),
|
||||
mSkipContentPolicyCheckForWebRequest(
|
||||
aSkipContentPolicyCheckForWebRequest),
|
||||
mOriginalFrameSrcLoad(false),
|
||||
mOriginalFrameSrcLoad(aOriginalFrameSrcLoad),
|
||||
mForceInheritPrincipalDropped(aForceInheritPrincipalDropped),
|
||||
mInnerWindowID(aInnerWindowID),
|
||||
mBrowsingContextID(aBrowsingContextID),
|
||||
|
@ -202,6 +202,7 @@ class LoadInfo final : public nsILoadInfo {
|
||||
bool aBrowserWouldUpgradeInsecureRequests, bool aForceAllowDataURI,
|
||||
bool aAllowInsecureRedirectToDataURI, bool aBypassCORSChecks,
|
||||
bool aSkipContentPolicyCheckForWebRequest,
|
||||
bool aOriginalFrameSrcLoad,
|
||||
bool aForceInheritPrincipalDropped, uint64_t aInnerWindowID,
|
||||
uint64_t aBrowsingContextID, uint64_t aFrameBrowsingContextID,
|
||||
bool aInitialSecurityCheckDone, bool aIsThirdPartyRequest,
|
||||
|
@ -94,6 +94,7 @@ struct LoadInfoArgs
|
||||
bool allowInsecureRedirectToDataURI;
|
||||
bool bypassCORSChecks;
|
||||
bool skipContentPolicyCheckForWebRequest;
|
||||
bool originalFrameSrcLoad;
|
||||
bool forceInheritPrincipalDropped;
|
||||
uint64_t innerWindowID;
|
||||
uint64_t browsingContextID;
|
||||
|
@ -82,7 +82,7 @@ skip-if = headless # Bug 1405872
|
||||
[test_ext_contentscript_about_blank.html]
|
||||
skip-if = os == 'android' # bug 1369440
|
||||
[test_ext_contentscript_activeTab.html]
|
||||
skip-if = os == 'android' || true # Broken by DocumentChannel
|
||||
skip-if = os == 'android' || fission
|
||||
[test_ext_contentscript_cache.html]
|
||||
skip-if = (os == 'linux' && debug) || (toolkit == 'android' && debug) # bug 1348241
|
||||
fail-if = xorigin # TypeError: can't access property "staticScripts", ext is undefined - Should not throw any errors
|
||||
|
Loading…
Reference in New Issue
Block a user