Closed Bug 1550842 Opened 5 years ago Closed 5 years ago

Console warnings make it seem like newtab is using cookies

Categories

(Firefox :: New Tab Page, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 68
Iteration:
68.4 - Apr 29 - May 12
Tracking Status
firefox68 --- verified

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

(Keywords: github-merged)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1546581 +++

I noticed that opening new tabs results in a lot more warnings now that we show more images when the user has set cookie blocking, e.g., unvisited 3rd party:

8x: Request to access cookie or storage on “https://img-getpocket.cdn.mozilla.net/432x216/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https…” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
8x: … https://img-getpocket.cdn.mozilla.net/216x108/…

Bug 1546581 comment 5:

(In reply to :Harald Kirschner :digitarald from comment #3)

Ed, trying to answer your question, I assume crossorigin="anonymous" on the picture element help.

Ah thanks for the pointer! Looks like setting it on the <img crossorigin="anonymous" …/> makes the warnings go away.

Blocks: 1550883
Status: NEW → RESOLVED
Iteration: --- → 68.4 - Apr 29 - May 12
Closed: 5 years ago
Keywords: github-merged
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68

I have verified that this issue is no longer reproducible with the latest Firefox Nightly (68.0a1 Build ID - 20190512214232) installed, on Windows 10 x64, Arch Linux and Mac 10.13.3. Now, the console warnings are no longer displayed.

Status: RESOLVED → VERIFIED
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: