Open Bug 871246 Opened 7 years ago Updated 6 years ago
[Session Restore] Provide an API for accessing metadata
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.)
You need to log in before you can comment on or make changes to this bug.