Closed Bug 1629112 Opened 4 years ago Closed 4 years ago

Group sameSite invalid value console logs

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox77 fixed)

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: Harald, Assigned: baku)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Invalid “sameSite“ value for cookie “”. The supported values are: “lax“, “strict“, “none“. is spamming the Console on bbc.com.

Flags: needinfo?(amarchesini)

There are a few issues here:

  1. First of all, the reason why we don't show the cookie name is that bbc.com tries to set document.cookie to the following value: "=removed;expires=Thu, 01 Jan 1970 00:00:00 GMT;sameSite=undefined;secure"

  2. That message is not grouped together with the other 'sameSite' messages, because it is considered an error such as 'path oversize'.

I can provide a fix for the second issue.

Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attachment #9140323 - Attachment description: Bug 1629112 - Group sameSite invalid value console logs, r?nchevobbe → Bug 1629112 - Group console warnings about invalid sameSite cookie attributes, r?nchevobbe
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7332cecb58a
Group console warnings about invalid sameSite cookie attributes, r=nchevobbe
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: