Open Bug 1903112 Opened 9 months ago Updated 20 hours ago

Extend local logging to cover session serialization and backup writing

Categories

(Firefox :: Session Restore, task, P2)

task

Tracking

()

People

(Reporter: sfoster, Unassigned)

References

(Blocks 4 open bugs)

Details

(Whiteboard: [fidefe-session-restore])

Bug 1854373 added a framework for local debug logging of session store operations, but it focused mostly on the startup flow and decisions and conditions encountered during the restore of a session. Clearly in many cases the interesting bit happens before the restart - when we update and serialize the browser state to the filesystem. We need to add more logging there to be able to understand how the end-state encountered during the next startup came to be.

Whiteboard: [fidefe-session-restore]
Blocks: 1906367
Blocks: 1928876
Blocks: 1932876
Blocks: 1940033
Blocks: 1939250

When we set the crashReasons.FINAL_STATE_WRITING_INCOMPLETE we should log out any detail from that crash that the crash reporter has captured.

(In reply to Sam Foster [:sfoster] (he/him) from comment #1)

When we set the crashReasons.FINAL_STATE_WRITING_INCOMPLETE we should log out any detail from that crash that the crash reporter has captured.

I filed bug 1950169 for this. The logging needs to happen at the next startup - which is a phase we have already instrumented.

Blocks: 1950960
You need to log in before you can comment on or make changes to this bug.