Talk:SessionRestoreAPI

From MozillaWiki
Jump to: navigation, search

I'm not sure if this is covered in the use cases, but an easy way to persist data - especially DOM attributes or JS objects - on a per tab or per window (as opposed to purely per session) basis would be very useful.

For example an extension might let users disable JS on specific tabs, and would want to remember this across sessions or if the tab is closed then restored via "undo close tab" functionality from bug 254021, and would ideally only have to set a special attribute on the tab or call a function for this to happen.

John Mellor (Jomel) 07:21, 21 June 2006 (PDT)