mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1285502 P1 Make InternalRequest::GetRequestConstructorCopy() copy the referrer per the spec. r=asuth
This commit is contained in:
parent
bd9732ac1b
commit
548ebdbbc0
@ -38,7 +38,7 @@ InternalRequest::GetRequestConstructorCopy(nsIGlobalObject* aGlobal, ErrorResult
|
||||
// mechanisms as appropriate.
|
||||
copy->mSameOriginDataURL = true;
|
||||
copy->mPreserveContentCodings = true;
|
||||
// The default referrer is already about:client.
|
||||
copy->mReferrer = mReferrer;
|
||||
copy->mReferrerPolicy = mReferrerPolicy;
|
||||
copy->mEnvironmentReferrerPolicy = mEnvironmentReferrerPolicy;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user