DevTools localStorage info. not working on localhost with custom port

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
mircea3
Newbie
Newbie
Posts: 4
Joined: 2023-12-30, 14:31

DevTools localStorage info. not working on localhost with custom port

Unread post by mircea3 » 2025-01-02, 11:12

Clicking on the Storage tab, then Local Storage dropdown, then the host, nothing appears, although data exists (can be accessed using the console). The following error appears in the Linux terminal:

*************************
console.error:
Message: TypeError: type.frontClass is not a constructor
Stack:
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:276:17
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/specs/string.js:85:28
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:220:60
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:327:22
read/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:197:47
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:197:30
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:220:60
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:532:22
read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:700:24
generateRequestMethods/</frontProto[name]/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/protocol.js:1366:31
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:931:38
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:29
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:14

Palemoon v33.5.0 Linux 64-bit GTK2 (also v33.4.1)
On normal websites it works.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: DevTools localStorage info. not working on localhost with custom port

Unread post by Moonchild » 2025-01-02, 11:45

Thanks for reporting. Filed Issue #2675 (UXP)
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite