One of the remaining problems that block IDB shutdown is database integrity check which runs as part of database maintenance, see this crash report: https://crash-stats.mozilla.org/report/index/5141c5be-9827-4626-a798-1cdc50190923#allthreads I guess that the integrity check doesn't use the progress handler, so we can't interrupt it when the shutdown is detected.
Bug 1541776 Comment 22 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
One of the remaining problems that block IDB shutdown is database integrity check which runs as part of database maintenance, see this crash report (especially the IndexedDB Mnt #1 thread): https://crash-stats.mozilla.org/report/index/5141c5be-9827-4626-a798-1cdc50190923#allthreads I guess that the integrity check doesn't use the progress handler, so we can't interrupt it when the shutdown is detected.