Closed
Bug 1318029
Opened 8 years ago
Closed 2 years ago
LongStringActor doesn't work in storage inspector with long strings
Categories
(DevTools :: Framework, defect, P3)
DevTools
Framework
Tracking
(firefox110 fixed)
RESOLVED
FIXED
110 Branch
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: miker, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
When bug 1276339 is fixed we need to work out why the LongStringActor doesn't work in devtools/server/actors/storage.js.
STR:
1. Search for this bug number in devtools/server/actors/storage.js and remove the trimming of DB entry values.
2. On about:home open the storage inspector and expand the indexedDB tree for that page.
Actual:
There is a 25,000+ character snippet contained in indexedDB for this page. When the objectStore is expanded and the long string is encountered the following exception is displayed and the objectStore appears empty:
console.error:
Message: TypeError: type.frontClass is not a constructor
Stack:
types.addActorType/type<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:278:17
.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/specs/string.js:86:12
types.addNullableType/<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:329:14
types.addDictType/<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:220:23
types.addNullableType/<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:329:14
types.addArrayType/<.read/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:197:39
types.addArrayType/<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:197:23
types.addDictType/<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:220:23
Expected:
The object stores should be shown and no error should be thrown.
As part of fixing this issue we should resolve the fixme in devtools/server/actors/storage.js.
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Comment 1•2 years ago
|
||
It looks like something that was needed at some point but isn't anymore, as it
works fine without it.
Test cases are added for long indexedDb and webExtensionStorage values.
Updated•2 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2f856203f7df
[devtools] Remove substring of long values in storage actor. r=ochameau.
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•