A kind reminder we would like all registered users to weigh in on one of our forum's security policies.
Please take a moment to read this thread and place a vote.
https://forum.palemoon.org/viewtopic.php?f=17&t=32935

strange SessionStore messages in browser console

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.
thosrtanner
Lunatic
Lunatic
Posts: 437
Joined: 2014-05-10, 18:19
Location: UK

strange SessionStore messages in browser console

Post by thosrtanner » 2025-08-24, 06:59

I was looking at my debug log recently and saw this message come up at startup:

Code: Select all

TypeError: this._prefBranch is undefined
linking to palemoon.res!/modules/sessiostore/SessionStore.jsm line 1884 which contains this code:

Code: Select all

    // Limit number of back/forward button history entries to save
    let oldest, newest;
    let maxSerializeBack = this._prefBranch.getIntPref("sessionstore.max_serialize_back");
So far it doesn't seem to have caused any problems, though I'm not sure whether or not it's related to these messages (at startup again)

Code: Select all

SessionStore: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIObjectInputStream.readObject]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: resource:///modules/sessionstore/SessionStore.jsm :: _deserializeHistoryEntry :: line 3426"  data: no]
or these intermittent messages:

Code: Select all

SessionStore: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIObjectOutputStream.writeCompoundObject]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource:///modules/sessionstore/SessionStore.jsm :: _serializeHistoryEntry :: line 2095"  data: no][code]