Closed Bug 1251873 Opened 4 years ago Closed 4 years ago

Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect

Categories

(Core :: Networking: HTTP, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

Attachments

(1 file)

Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.
The test in this patch shows the scenarios which would fail
under such conditions.
Assignee: nobody → ehsan
Blocks: 1251872
Depends on: 1186072
Comment on attachment 8724450 [details] [diff] [review]
Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect

Review of attachment 8724450 [details] [diff] [review]:
-----------------------------------------------------------------

awesome - thanks for the tests
Attachment #8724450 - Flags: review?(mcmanus) → review+
Nice!  Unexpected passes are a good problem to have.  :-)
Flags: needinfo?(ehsan)
https://hg.mozilla.org/mozilla-central/rev/5f7418902a4a
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.