Closed
Bug 1454781
Opened 7 years ago
Closed 6 years ago
Show a warning in the devtools console when SameSite value is unrecognized
Categories
(Core :: Networking: Cookies, enhancement, P3)
Core
Networking: Cookies
Tracking
()
RESOLVED
FIXED
mozilla76
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: francois, Assigned: baku)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(5 files, 1 obsolete file)
Right now, we silently ignore the SameSite cookie attribute if its value is anything other than `lax` or `strict`.
We should add an `else` clause and show a devtools console warning: https://searchfox.org/mozilla-central/rev/f65d7528e34ef1a7665b4a1a7b7cdb1388fcd3aa/netwerk/cookie/nsCookieService.cpp#4005
Updated•7 years ago
|
Priority: -- → P3
Whiteboard: [necko-triaged]
| Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D65241
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D65242
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
Depends on D65243
Comment 6•6 years ago
|
||
Comment on attachment 9130642 [details]
Bug 1454781 - SameSite policy logged in the console - part 3 - report and flush console events, r?dragana
Revision D65243 was moved to bug 1619971. Setting attachment 9130642 [details] to obsolete.
Attachment #9130642 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9130757 -
Attachment description: Bug 1454781 - SameSite policy logged in the console - part 4 - log invalid sameSite values, r?ehsan → Bug 1454781 - SameSite policy logged in the console - part 3 - log invalid sameSite values, r?ehsan
Updated•6 years ago
|
Attachment #9130755 -
Attachment description: Bug 1454781 - SameSite policy logged in the console - part 5 - tests, r?ehsan → Bug 1454781 - SameSite policy logged in the console - part 4 - tests, r?ehsan
| Assignee | ||
Comment 7•6 years ago
|
||
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/538840a78b48
SameSite policy logged in the console - part 1 - more data shown in MOZ_LOG, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/b0a160275ad6
SameSite policy logged in the console - part 2 - Console messages, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/48192dbaa130
SameSite policy logged in the console - part 3 - log invalid sameSite values, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/8e8c6ec56d02
SameSite policy logged in the console - part 4 - tests, r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/bd7e270da86d
SameSite policy logged in the console - part 5 - Console messages for beta, r=Ehsan
Comment 9•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/538840a78b48
https://hg.mozilla.org/mozilla-central/rev/b0a160275ad6
https://hg.mozilla.org/mozilla-central/rev/48192dbaa130
https://hg.mozilla.org/mozilla-central/rev/8e8c6ec56d02
https://hg.mozilla.org/mozilla-central/rev/bd7e270da86d
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•