Closed Bug 1622306 Opened 5 years ago Closed 5 years ago

Group sameSite console info logs

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: Harald, Assigned: baku)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image image.png

… “sameSite” policy set to “lax” because it is missing a “sameSite” attribute and other warnings can be very frequent.

We should group them and reconsider if they are a warning or should be shown in other places like Network details.

Baku, bug 1454781 mentions warnings, but the logs are "info", which is unusual for platform warnings. Is there a reason for the specific severity?

Also are you able to help us group those messages for console, similar to how we did it for Tracking Protection in bug 1524276?

Flags: needinfo?(amarchesini)

Baku, bug 1454781 mentions warnings, but the logs are "info", which is unusual for platform warnings. Is there a reason for the specific severity?

There 2 different kinds of messages related to cookie sameSite:

  • info in nightly to inform that firefox has taken the decision to treat cookie X as "lax" because the attribute "sameSite" is missing.
  • in beta/release we have warning messages saying that, soon, we will treat cookies as sameSite lax if nothing has is specified.

Also are you able to help us group those messages for console, similar to how we did it for Tracking Protection in bug 1524276?

Yes. I can help here. I take this bug.

Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)

in beta/release we have warning messages saying that, soon, we will treat cookies as sameSite lax if nothing has is specified.

Should we fix those as well or assume that sameSite-lax rolls out soon so we don't need the warnings? I'd leave that to you to decide, since you track it closer.

Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/385bf7e04abb Group cookie console info/warning logs, r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/d972e8f4606f Group cookie console info/warning logs - tests, r=nchevobbe
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
Blocks: 1629112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: