When accessing ipv6 page address, document.cookie is empty in firefox 84.0
Categories
(Core :: DOM: Networking, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox84 | --- | wontfix |
firefox85 | --- | wontfix |
firefox86 | --- | wontfix |
firefox87 | --- | fixed |
People
(Reporter: ljx666123, Assigned: kershaw)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [necko-triaged])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Steps to reproduce:
用firefox 84.0新版本访问ipv6页面地址,document.cookie获取为空, 查看浏览器下存在cookie, 修改添加删除cookie也不会同步, 需要清除缓刷新才可以.
新版本访问ipv4地址没有问题. 老版本火狐ipv4 ipv6都没有问题. 求大神指导!!!
Actual results:
用firefox 84.0新版本访问ipv6页面地址,document.cookie获取为空
Expected results:
用firefox 84.0新版本访问ipv6地址,document.cookie可以正常获取
Comment 1•3 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Hi Reporter,
I'd like to ask for more information. What web site do you use to reproduce this problem?
Could you try to use mozregression to find out the regression range?
If you feel not comfortable with replying comments in English, feel free to send the information to my email (kershaw at mozilla dot com) in Chinese. I can help to translate.
Thanks.
Comment 3•3 years ago
|
||
Reporter said they found this from the internal network of their company.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Locally I was testing using ipv4 vs ipv6 server
(python -m http.server 8000 --bind 127.0.0.1
vs
https://gist.github.com/chrisklaiber/54511886e8e4c18126792fc634f44d57)
and then
document.cookie = "foo=bar"; document.cookie;
in the browser console.
Assignee | ||
Comment 5•3 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #4)
Locally I was testing using ipv4 vs ipv6 server
(python -m http.server 8000 --bind 127.0.0.1
vs
https://gist.github.com/chrisklaiber/54511886e8e4c18126792fc634f44d57)
and then
document.cookie = "foo=bar"; document.cookie;
in the browser console.
Thanks for doing this.
Updated•3 years ago
|
document.cookie is empty on [::1] but also any other ipv6 addresses I could try.
Setting a cookie via document.cookie does work, and the inspector storage tab shows all cookies correctly.
Note that sometimes inspector storage tab also fails to show cookies until I close and re-open the inspector.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Jens, could you perhaps find someone to take a look at this regression?
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/52e904eba871 Use bracketed IPv6 address to get cookies r=baku
Comment 10•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Updated•3 years ago
|
Comment 11•3 years ago
|
||
The patch landed in nightly and beta is affected.
:kershaw, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Description
•