Open Bug 1559338 Opened 5 years ago Updated 2 years ago

Cookies panel not updated for private window

Categories

(DevTools :: Storage Inspector, defect, P3)

66 Branch
defect

Tracking

(Not tracked)

People

(Reporter: martijn, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Trying to inspect cookies for a website running in a Private window.

Actual results:

Cookies are not updated when they change. They are not updated when you change then, delete them, refresh them, all from the Storage inspector. When some javascript changes a cookie, that change is also not reflected.

Even when deleting all cookies (the cookies remain there as if nothing happened) they remain inspectable.

They are actually sort of deleted. The next refresh of the page shows no cookies. So something did happen, but it just wasn't reflected in the inspector.

Expected results:

Cookies should update right when they change.

Workaround is to close and reopen devtools. Or, if possible, refresh the page.

The priority flag is not set for this bug.
:miker, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mratcliffe)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mratcliffe)
Priority: -- → P3
See Also: → 1467463

Ran into this issue too. I have made quick investigation and seems it's because class CookiePrivateStorage uses topic private-cookie-changed to notify but DevTools's Storage Actor only observes cookie-changed topic. Added private topic to observe and seems it is helped.

Seems in process I have found another issue. Open two tabs with same pages, open storage devtools for both, add a cookie on the tab where devtools opened firstly => new cookie is displayed on other tab. It is reproduces even for private and container tabs. Check out the video

(In reply to Stanislav Goncharov from comment #4)

Created attachment 9150839 [details]
Screen Recording 2020-05-21 at 20.56.31.mov

Seems in process I have found another issue. Open two tabs with same pages, open storage devtools for both, add a cookie on the tab where devtools opened firstly => new cookie is displayed on other tab. It is reproduces even for private and container tabs. Check out the video

Created as separated bug 1640118

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: