Commit Graph
15 Commits
Author SHA1 Message Date
Jan Henning b3fd300d2d Bug 1346171 - Part 2 - Test synchronous session file deletion on clearing history. r=sebastian
MozReview-Commit-ID: JUrbSD2t41t
2017-03-12 11:13:33 +01:00
Jan Henning 5e080f0706 Bug 1148797 - Don't offer "Undo close tab" for empty tabs with no session history. r=ahunt
MozReview-Commit-ID: CsYgUDrCmUQ
2017-01-30 22:40:58 +01:00
Jan Henning f56b57f890 Bug 1333046 - Part 1 - Expose a method to restore delay-loaded tabs via the tab object. r=ahunt
Actors outside of the session store shouldn't have to poke around within the session store's data structure and end up reimplementing parts of the session store code (and cause data loss if the implementation is incomplete) in order to restore delay loaded zombie tabs. Therefore, we simply expose a method for this via BrowserApp's tab object.

To simplify handling and make the method a little more fool-proof for external callers, the check whether the tab is actually zombified is moved into the restoreZombieTab() function.

Later on, we can also hook up this method to the appropriate web extension API (see bug 1322485).

MozReview-Commit-ID: 85lnbCpMcP3
2017-01-25 21:33:33 +01:00
Jan Henning 882fcecb23 Bug 1329330 - Remove old session store code that's no longer needed. r=sebastian
We've been parsing the session store file and doing the initial tab creation on the Java side for a long time now, so the code to open completely new tabs on the session store side instead of using tab stubs is no longer necessary.

Besides, because of bug 1301160 the on-disk session file is now containing tab IDs as well, so this distinction between tabs read directly from the raw session file and those contained in a session string passed over from the Java UI is no longer available.

MozReview-Commit-ID: Hmq0TwClqMQ
2017-01-07 22:26:51 +01:00
Wes Johnston 0cfad90a6e Bug 1052387 - Don't save session history if clearing history on exit. r=bnicholson 2014-08-21 11:35:16 -07:00
Brian Nicholson 113964396a Bug 1035439 - Part 4: Change undoCloseTab to accept closed tab data. r=margaret 2014-07-14 17:21:14 -07:00
Margaret Leibovic 4f0709c0a3 Bug 1018661 - Use session store data instead of current browser data for undo close tab toast. r=bnicholson 2014-06-04 19:10:05 -07:00
Brian Nicholson 1aa6132b32 Bug 931876 - Rev UUID for SessionStore.idl. r=mfinkle 2013-10-28 12:15:13 -07:00
Brian Nicholson 7cd9736413 Bug 896170 - Part 2: Use intent extra to trigger restore on restart. r=mfinkle 2013-09-10 11:17:42 -07:00
Brian Nicholson f1cfd28e8e Bug 889554 - Save session between app upgrades. r=mfinkle 2013-07-03 15:24:57 -07:00
Brian Nicholson 26f9ccae79 Bug 722661 - Part 2: Stub tabs in Java when doing an OOM restore. r=mfinkle 2012-10-29 16:34:29 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Finkle e6429f9212 Bug 738526 - SessionStore TabValue APIs are busted r=bnicholson 2012-03-23 16:53:40 -04:00
Brian Nicholson 176d85d441 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -08:00
Doug Turner 91813a81fd Bug 701833 - hg move /mobile to /mobile/android r=mfinkle CLOSED TREE 2011-11-17 09:24:55 -05:00