Closed Bug 675162 Opened 13 years ago Closed 13 years ago

After update, tabs are restored, but not loaded, except the first one Error: uncaught exception: nsISHEntry.stateData in nsSessionStore.js :: sss_deserializeHistoryEntry :: line 2827

Categories

(SeaMonkey :: Session Restore, defect)

defect
Not set
normal

Tracking

(seamonkey2.3 fixed, seamonkey2.4 fixed, seamonkey2.5 fixed)

RESOLVED FIXED
seamonkey2.5
Tracking Status
seamonkey2.3 --- fixed
seamonkey2.4 --- fixed
seamonkey2.5 --- fixed

People

(Reporter: martijn.martijn, Assigned: misak.bugzilla)

References

Details

Attachments

(1 file)

After getting updated to Seamonkey 2.3, my tabs were restored, but the urls weren't loaded, leaving all tabs empty, except for the first one. Neil Rashbrook did let me do some investigation. I'm seeing the same error with the sessionstore.json file (new profile) in the latest Seamonkey trunk build. I'm not seeing this error using this sessionstore.json file with the latest Firefox desktop trunk build (after having it renamed to sessionstore.js). So I guess Firefox contains already a fix for this error situation. I noticed this error in the error console using the lates Seamonkey trunk build: Error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsISHEntry.stateData]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: jar:file:///C:/Users/mw22/Desktop/seamonkey-2.5a1.en-US.win32/seamonkey/omni.jar!/components/nsSessionStore.js :: sss_deserializeHistoryEntry :: line 2827" data: no] I haven't attached the sessionstore.json file, because I don't know if it contains sensitive data, but if someone needs to have it in order to be able to fix it, let me know and I'll mail it to you.
Summary: After update, tabs are restored, but not loaded, except the first one Error: uncaught exception: nsISHEntry.stateDat in nsSessionStore.js :: sss_deserializeHistoryEntry :: line 2827 → After update, tabs are restored, but not loaded, except the first one Error: uncaught exception: nsISHEntry.stateData in nsSessionStore.js :: sss_deserializeHistoryEntry :: line 2827
We need to port parts of bug 551225.
Assignee: nobody → misak.bugzilla
Depends on: 551225
OS: Windows 7 → All
Hardware: x86 → All
Attached patch patch (deleted) — Splinter Review
patch, incorporates also missed fix from bug 647028.
Attachment #549573 - Flags: review?(neil)
Status: NEW → ASSIGNED
Depends on: 647028
Comment on attachment 549573 [details] [diff] [review] patch >- if (aEntry.stateData) { >+ if (aEntry.stateData != null) { I don't see the point of this change.
Attachment #549573 - Flags: review?(neil) → review+
(In reply to comment #3) > I don't see the point of this change. It's time for me to stop blindly copying code :( Pushed with nit fixed: http://hg.mozilla.org/comm-central/rev/a7169a94d871
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Misak, the reporter was talking about SM 2.3 in the beginning. If this needs to be backported to aurora/beta, please request accordingly. We still have a chance to land things for 2.3, but it won't be long and the door will close.
Comment on attachment 549573 [details] [diff] [review] patch The parent m-c bug 551225 will be in Firefox 6 so this should land on comm-beta as well I think.
Attachment #549573 - Flags: approval-comm-beta?
Attachment #549573 - Flags: approval-comm-aurora?
Attachment #549573 - Flags: approval-comm-beta?
Attachment #549573 - Flags: approval-comm-beta+
Attachment #549573 - Flags: approval-comm-aurora?
Attachment #549573 - Flags: approval-comm-aurora+
Target Milestone: --- → seamonkey2.3
Version: unspecified → Trunk
Target Milestone: seamonkey2.3 → seamonkey2.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: