This would be my suggestion (if possible):

1. Read sessionstore.js;

2. Open first window, don't reload tabs, restore size on the right screen if 
multi-screen;

3. For each window in sessionstore.js, in the order in which the windows
have been opened initially, trigger window opening;

4. After all windows are open, select them in the order they were last 
selected, last selected window as last and  restore "max. window" if it was (on 
the right screen), restore "min. window" if it was;

5. Now restore tabs in windows in order the windows where opened last, last 
selected window as first, then back (maybe manage resources like CPU and 
bandwidth via focus);

6. Try to update the preview in the taskbar without make windows big again.


This should _really_ restore the FF Session as it was before.


Tobias.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to