mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
05c501b32c
Experimenting with the shutdown sequence for Part 1 has thrown up a few edge cases that aren't yet properly handled by the session store: - If Gecko is busy (e.g. loading a resource-intensive page), shutdown of the UI can be delayed for a bit - if the user then manually switches away from Firefox, we might get an application-background message which needs to be ignored if we're already quitting - Backgrounding of the app while quitting can change the event ordering - the "browser:purge-session-history" notification might arrive *after* we've received "quit-application", in which case we need to flush the session history to disk again after having handled the "purge-session-history" notification. - clearDisk() should rather delete the session store files synchronously when quitting, because otherwise there's a chance that the delete operation runs *after* the new state has already been written out MozReview-Commit-ID: LZzGcJHxqhz --HG-- extra : rebase_source : 9f18b99ae92a8ff0753375ea1e279df08d61640e |
||
---|---|---|
.. | ||
build | ||
extensions | ||
AboutRedirector.js | ||
AddonUpdateService.js | ||
BlocklistPrompt.js | ||
BrowserCLH.js | ||
ColorPicker.js | ||
ContentDispatchChooser.js | ||
ContentPermissionPrompt.js | ||
DirectoryProvider.js | ||
FilePicker.js | ||
FxAccountsPush.js | ||
HelperAppDialog.js | ||
ImageBlockingPolicy.js | ||
LoginManagerPrompter.js | ||
MobileComponents.manifest | ||
moz.build | ||
NSSDialogService.js | ||
PersistentNotificationHandler.js | ||
PresentationDevicePrompt.js | ||
PresentationRequestUIGlue.js | ||
PromptService.js | ||
SessionStore.idl | ||
SessionStore.js | ||
SiteSpecificUserAgent.js | ||
Snippets.js | ||
TabSource.js | ||
XPIDialogService.js |