Closed Bug 1486703 Opened 6 years ago Closed 6 years ago

Developer Tools -> Storage -> Cookie Displays wrong values

Categories

(DevTools :: Storage Inspector, defect, P2)

61 Branch
defect

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: michal.holecek, Assigned: jdescottes)

Details

Attachments

(2 files)

Attached image cookie_hostonly_bug.png
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180704192850

Steps to reproduce:

When I've displayed cookies on Devtools -> Storage in almost every cookie "hostonly" parameter for each cookie had different values in the table, and the detailed view (see attached screenshot). 


Actual results:

Cookie parameter, boolean "hostonly" had true and false displayed at the same time.


Expected results:

The values are supposed to be same.
Summary: Developer Tools -> Storage -> Cookie -> HostOnly bug → Developer Tools -> Storage -> Cookie Displays wrong values
Component: Networking: Cookies → Storage Inspector
Product: Core → DevTools
Indeed, thanks for logging!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Cookies are displayed in the sidebar and in the table. The StorageInspector maps some cookie values to custom column names/property names. For instance it maps isDomain to hostOnly. When displayed in the sidebar it also uses the opposite value of isDomain. However the table has no idea that it should use the opposite value, so it just displays "isDomain" in the "hostOnly" column. 

Not sure how some rows could be in sync though. In my testing so far they are always consistently wrong.
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Comment on attachment 9005441 [details]
Bug 1486703 - Display correct hostOnly values in storage inspector;r=miker

Mike Ratcliffe [:miker] [:mratcliffe] [:mikeratcliffe] has approved the revision.
Attachment #9005441 - Flags: review+
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d18bb6911bb3
Display correct hostOnly values in storage inspector;r=miker
https://hg.mozilla.org/mozilla-central/rev/d18bb6911bb3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: