gecko-dev/mobile/android/components
Jan Henning c2c425bc88 Bug 1320550 - Part 2 - Clear closed tabs when max_tabs_undo is set to 0. r=sebastian
Currently, we stop updating closed tabs if max_tabs_undo is set to 0, however we don't clear that data and carry it around indefinitely unless the user clears the browser history.

This means that when closing a tab, we still show the "Undo close tab" snackbar, however with its contents referring to the last tab the user closed before setting browser.sessionstore.max_tabs_undo to 0.

With this patch, we clear all closed tabs (and don't reload them from disc on startup) if max_tabs_undo is 0, which also stops the snackbar from showing after closing a tab.

MozReview-Commit-ID: PEtminpW4B

--HG--
extra : rebase_source : 7c8039db1d1d7c5bc127cdc11fbc0a1387694ef9
2016-11-27 16:59:53 +01:00
..
build merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
extensions Bug 1287007 - Remove .contentWindow from ProxyContext r=billm 2016-09-13 16:02:03 -07:00
AboutRedirector.js Bug 1253673, r=bz 2016-04-19 09:56:19 +01:00
AddonUpdateService.js Bug 1221270 - Schedule and perform GMP updates in AddonUpdateService; r=snorp 2015-11-23 23:31:49 -05:00
BlocklistPrompt.js
BrowserCLH.js Bug 1285572 - Remove Fennec command-line handler; r=snorp 2016-07-20 21:43:34 -04:00
ColorPicker.js
ContentDispatchChooser.js Bug 1278581 - Show neterror page if you enter an unknown URI scheme into urlbar on Android r=sebastian 2016-09-29 08:27:54 -05:00
ContentPermissionPrompt.js Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-09-08 14:36:53 -04:00
DirectoryProvider.js Bug 1272439 - Make distribution.searchplugins.defaultLocale work on Fennec. r=margaret 2016-05-31 13:04:35 -05:00
FilePicker.js Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
FxAccountsPush.js No bug - Fix variable shadowing in messageAndCryptoParams. r=me 2016-10-07 12:01:32 -07:00
HelperAppDialog.js Bug 1270543 - Part 2: Enable choosing an app by double tapping in the download prompt. r=liuche 2016-05-05 19:01:05 +02:00
ImageBlockingPolicy.js Bug 1225225 - Incorrect pref type and name used ImageBlockingPolicy r=mfinkle 2015-11-16 15:37:34 -05:00
LoginManagerPrompter.js Bug 1298543 - Fix test_prompt_http.html for e10s. r=Dolske 2016-09-08 02:12:25 -07:00
MobileComponents.manifest Bug 1305352 - (Part 2) Implement PresentationRequestUIGlue on Fennec. r=schien,snorp 2016-08-30 18:16:31 +08:00
moz.build Bug 1305352 - (Part 2) Implement PresentationRequestUIGlue on Fennec. r=schien,snorp 2016-08-30 18:16:31 +08:00
NSSDialogService.js Bug 1281665 - Change nsIClientAuthDialogs.chooseCertificate() to use hostname instead of CN. r=keeler 2016-07-26 20:16:58 +08:00
PersistentNotificationHandler.js Bug 1282222 - Make the PersistentNotificationHandler handle 'persistent-notification-close' ;r=kitcambridge 2016-06-25 23:58:03 +08:00
PresentationDevicePrompt.js Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
PresentationRequestUIGlue.js Bug 1305352 - (Part 2) Implement PresentationRequestUIGlue on Fennec. r=schien,snorp 2016-08-30 18:16:31 +08:00
PromptService.js Bug 1277895 - Remove one new line from http auth prompt message. r=dolske 2016-09-16 09:24:26 +02:00
SessionStore.idl
SessionStore.js Bug 1320550 - Part 2 - Clear closed tabs when max_tabs_undo is set to 0. r=sebastian 2016-11-27 16:59:53 +01:00
SiteSpecificUserAgent.js
Snippets.js Bug 1227743 - Remove snippet (id) from rotation after the user clicks on it. r=mfinkle 2016-02-11 15:29:25 -05:00
TabSource.js
XPIDialogService.js