Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
NTD 04454cec94 Update any source files to account for refactoring 2018-07-24 23:13:16 +08:00
NTD 0db22e1346 Obliterate Browser 38 2018-07-24 23:13:02 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00