Commit Graph

27 Commits

Author SHA1 Message Date
janekptacijarabaci 41e3c3aaec DevTools - Browser Console - restore sessions 2018-07-25 08:12:04 +08:00
Pale Moon 07458c5a05 Prevent the home page from being loaded when we are restoring a session.
The "average case" is clearly not that loading the session file finishes before the load of the initial tab is started (quite the opposite).
Instead of defaulting to false when the session store has not yet been loaded, we make this dependent on the user preference instead which is a definitive flag that the home page in the first tab WILL be overridden.
This resolves #1310.
2018-07-25 08:10:59 +08:00
janekptacijarabaci 8af783f166 hasRootDomain: nsPrivateBrowsingService.js -> ForgetAboutSite.jsm 2018-07-25 07:10:56 +08:00
Pale Moon d631d4b544 Fix type of _cacheBehavior & let redeclaration 2018-07-25 07:02:47 +08:00
Pale Moon 9fb380c41b Convert option to bypass cache on tab restore to 3-state.
0 = default, use cache for everything and don't check the network
1 = soft refresh on restore (check network, use cached versions as appropriate)
2 = hard refresh on restore (always throw away cached data + input)
2018-07-25 07:02:43 +08:00
Pale Moon 7dca068032 Add option to bypass cached versions of session-stored pages and always refresh from the network.
This will be incompatible with retaining form and session data after a crash.
2018-07-25 07:02:38 +08:00
JustOff 06641d0cb5 Limit number of history entries saved by SessionStore [proper] 2018-07-25 06:53:59 +08:00
Moonchild e326d12926 Revert "Limit number of history entries saved by SessionStore" 2018-07-25 06:53:57 +08:00
JustOff 69df32bd7d More quiet error handling 2018-07-25 06:53:54 +08:00
JustOff 98b6948a5b Limit number of history entries saved by SessionStore 2018-07-25 06:53:52 +08:00
Pale Moon a15843bbfd Fix DOM storage writes to tabs in restored sessions.
This might previously throw in case of tab migration from an old version session.
It'll still throw in case of invalid DOM storage data (when migrating) but should solve the "can't restore tab contents" issue present in 27.0.x
2018-07-25 06:20:50 +08:00
janekptacijarabaci f525d28902 Minor fix: about:sessionrestore - throws a warnings 2018-07-25 01:27:14 +08:00
NTD 539b253588 Move Mozilla DevTools to Platform - Part 9d: Update Resource URIs in browser and b2g 2018-07-25 01:17:49 +08:00
janekptacijarabaci 46850495f9 Minor fix: Menu - "History" - "Recently Closed Tabs" - "Restore All Tabs" 2018-07-25 01:17:06 +08:00
janekptacijarabaci 61e64c2cdc Minor fix: Sessions - throws an error after run, better information on error 2018-07-25 01:15:45 +08:00
Pale Moon abf23ebcc7 Switch SessionStore init to Promise.jsm in toolkit, and move restore previous session command check to the actual menu code.
This resolves #499.
2018-07-25 01:04:07 +08:00
wolfbeast d8d662f920 Don't attempt to restore session data from stored scratchpad sessions if we have no way to handle it. 2018-07-24 23:38:27 +08:00
wolfbeast f49a07e7d2 Change the way tabs are requested from the browser to a Map()
- Increases performance compared to looping over an array
- Makes the browser scale better to large numbers of tabs cf. session restore
2018-07-24 23:25:57 +08:00
NTD 9d469f0384 Add a copy of Jetpack's promises js module to browser until we use toolkit promises directly 2018-07-24 23:17:39 +08:00
wolfbeast 3c863a35af Fix FE components part 1: Convert treeBoxObject calls to WebIDL 2018-07-24 23:13:21 +08:00
NTD 04454cec94 Update any source files to account for refactoring 2018-07-24 23:13:16 +08:00
NTD 066abbbf68 Update build files 2018-07-24 23:13:14 +08:00
NTD ad79a9d62a Transfer Pale Moon Application Specific Code to the repository 2018-07-24 23:13:13 +08:00
NTD 0db22e1346 Obliterate Browser 38 2018-07-24 23:13:02 +08:00
wolfbeast 5ee6187aad Prep tree for forward-porting Goanna, stage 1 2018-07-24 23:10:50 +08:00
wolfbeast 5d59e0437f GUID change 2018-07-24 23:10:33 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00