Closed Bug 1520141 Opened 6 years ago Closed 6 years ago

Fix referrer policy web platform tests in img-tag

Categories

(Core :: DOM: Security, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: tnguyen, Assigned: tnguyen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

Fix img-tag failures as bug 1514399 comment 9

Assignee: nobody → tnguyen
Blocks: 1514399
Status: NEW → ASSIGNED
Attachment #9036569 - Attachment description: Bug 1520141 - Correct referrer uri and referrer policy when loading image in iframe We should use parent document's referrer uri and referrer policy in this case → Bug 1520141 - Correct referrer uri and referrer policy when loading image in iframe
Priority: -- → P2
Whiteboard: [domsecurity-active]
Pushed by tnguyen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f880d838bb0 Correct referrer uri and referrer policy when loading image in iframe r=baku
Blocks: 1168540
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66

The comments on GetDocumentURIAsReferrer that this bug added have weird "???" bits in them. Is this purposeful?

Flags: needinfo?(tnguyen)

Hmm, thanks, it was added for a while ago. The logic should be moved into creating a new referrer info object for a fetch request.

Flags: needinfo?(tnguyen)

That doesn't seem to answer my question....

Flags: needinfo?(tnguyen)

Ah sorry, I looked at this too fast and missed your question. I don't see any "???" in the commit, but it was added later in Bug 1513090. I believe it was accidentally added.

Flags: needinfo?(tnguyen)

Oh, I see. The commit for this bug added non-ASCII quotes in the comments, and then someone else's editor got confused by them and converted them to ???...

And looks like it got fixed in a followup to bug 1513090, ok.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: