Snappy/AsyncShutdown: Difference between revisions

Jump to navigation Jump to search
(→‎Use cases: Add Downloads API)
Line 16: Line 16:


Being able to force an asynchronous write of the JSON file in case the browser is closed during the 1.5 seconds window might be useful.
Being able to force an asynchronous write of the JSON file in case the browser is closed during the 1.5 seconds window might be useful.
== OS.File data must be fully written before we remove the profile ==
Any call to OS.File.writeAtomic that is placed before the completion of profile-before-change must be completed before we actually remove the profile.
e.g. Bug 911820 for an example of actual dataloss.
== Session Restore data must be fully written before we remove the profile ==
(TBD)


= Related bugs =
= Related bugs =
- https://bugzilla.mozilla.org/show_bug.cgi?id=722648 - Asynchronous observers.
- https://bugzilla.mozilla.org/show_bug.cgi?id=722648 - Asynchronous observers.
- https://bugzilla.mozilla.org/show_bug.cgi?id=881667 - Expose startup/shutdown stage to components.
- https://bugzilla.mozilla.org/show_bug.cgi?id=881667 - Expose startup/shutdown stage to components.
184

edits

Navigation menu