sort storage items
Categories
(DevTools :: Storage Inspector, enhancement)
Tracking
(Not tracked)
People
(Reporter: v+mozbug, Unassigned, NeedInfo)
Details
Attachments
(1 file)
105.98 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Created some indexeddb
Actual results:
They showed up, but in DevTools the order was not sorted.
Expected results:
It would be nice if they were sorted by name within the server listing in the left panel.
They do get sorted in the right panel when the server name is selected in the left panel.
Reporter | ||
Comment 1•4 years ago
|
||
Well, I misspoke... in my particular display, the right panel seems "more sorted" but if you look at the number part, you'll see that the 2nd pair is not sorted, although the other pairs are.
But in the left panel, the unsorted-ness is more obvious, as even the alphabetic part is unsorted.
And yes, there is a "funny character" between the two parts—this one: ¤
Comment 2•4 years ago
|
||
Assigning "DevTools: Storage Inspector" component.
Comment 3•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Thanks for the report!
Is there any chance to get a test case we could use to see the problem on our machines?
That would be great help!
There is also similar but reported:
Bug 1603831 - Sorting cookies in the storage inspector based on expiry time doesn't seem to work correctly
Perhaps it's the same problem?
Honza
Comment 5•4 years ago
|
||
Reporter | ||
Comment 6•4 years ago
|
||
I can't tell that it is the same bug.
That bug talks about sorting cookies; I'm talking about sorting IndexedDB stuff.
That bug talks about sorting by time; I'm talking about sorting by name.
So they seem quite different in symptom; since both are in the storage inspector, there might be some connection, but unless someone actually debugs it and determines they are the same, I would have to think they are different.
Comment 7•4 years ago
|
||
Thanks for the correction!
Any chance you could provide a test page we could use to see the problem on our machines?
(can be an online page or a file attached to this bug)
That would be great help to make progress on this
Description
•