Open Bug 871246 Opened 11 years ago Updated 2 years ago

[Session Restore] Provide an API for accessing metadata

Categories

(Firefox :: Session Restore, defect)

defect

Tracking

()

People

(Reporter: Yoric, Unassigned)

References

(Blocks 1 open bug)

Details

Many add-ons seem to rely on the internal data structures used by Session Restore. As we are currently in the process of cleaning up the code and refactoring these data structures, we need to provide public APIs to the same effect.

Opening this bug to determine exactly which APIs we need to expose and what they should look like.
I request an API to tell a tab is restoring or not. Until a tab is fully loaded/restored, the API should return true, otherwise false.
Another API I want is to cancel restoring a tab, after "SSTabRestoring" event but before real restoring/loading.
(In reply to ithinc from comment #2)
> Another API I want is to cancel restoring a tab, after "SSTabRestoring"
> event but before real restoring/loading.

First, please file separate bugs for any API you want instead of commenting in unrelated bugs. Second, can you elaborate on your use case and why you'd want that? (But please don't elaborate here but in the other bugs.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.