[REGRESSION] The local storage editor is not updating after page reload
Categories
(DevTools :: Storage Inspector, defect, P2)
Tracking
(Fission Milestone:M7, firefox-esr78 unaffected, firefox84 wontfix, firefox85 wontfix, firefox86 wontfix, firefox87 wontfix, firefox88 fixed)
Fission Milestone | M7 |
People
(Reporter: darek, Assigned: ladybenko)
References
Details
(Keywords: regression)
Attachments
(1 file)
455 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
On the 4th of December, 2020, I have noticed (sorry for waiting so long to report) a bug in the local storage editor inside Firefox for Developers. It can be reproduced on Nightly as of 16th of December, 2020.
This is definitely a regression, probably introduced around November/beginning of December.
Please see the demo: https://streamable.com/fbswc7
Steps to reproduce:
- Open attached index.html on localhost
- Open devtools and click the 'add' button (it adds a simple entry to LS)
- The devtools should correctly show added items
- Refresh the page
- Click the 'add' button
Actual results:
The devtools are not showing newly added entries. Moreover, clicking on the "refresh" button inside the LS completely hides all LS entries.
Expected results:
I would expect devtools to reflect the current state of LS.
Reporter | ||
Comment 1•4 years ago
|
||
This is what appears in the console, when the bug occurs (on Trunk). One of the cases is when clicking the refresh button:
console.error: "Error while calling actor 'localStorage's method 'getStoreObjects'" "can't access dead object"
console.error: "getValuesForHost@resource://devtools/server/actors/storage.js:1264:23\ngetStoreObjects@resource://devtools/server/actors/storage.js:428:30\nhandler@resource://devtools/shared/protocol/Actor.js:172:37\nonPacket@resource://devtools/server/devtools-server-connection.js:379:58\nreceiveMessage@resource://devtools/shared/transport/child-transport.js:68:16\n"
console.error: (new Error("Protocol error (TypeError): can't access dead object from: server0.conn1.child3/localStorage27 (resource://devtools/server/actors/storage.js:1264:23)", "resource://devtools/shared/protocol/Front.js", 361))
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
After some testing, here are Firefox stable versions and what is their behavior:
- 82.0 - everything works as expected
- 83.0 - after the page refresh (step 4), clicking the button (step 5) does not update the list, but clicking on the refresh LS table button works
- 84.0 - same as above, but clicking on the refresh LS table button does not work (same behavior as Trunk)
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 3•4 years ago
|
||
Following a suggestion of :ladybenko, I am leaving a comment to let a reader know, this is a possible duplicate of 1679725
Assignee | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Tracking dt-fission-m3-mvp bugs for Fission M8 (blocking Release channel experiment, but not Beta experiment).
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Isn't this a dupe of Bug 1685474 which is about navigation issues in the storage panel?
Comment 6•4 years ago
|
||
Moving dt-fission-m3-mvp bugs from Fission M8 to M7 (blocking Beta experiment).
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Adding is as duplicate, since the patch being worked on 1685474 seems to fix this issue.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•