Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
IDB.js library code doesn't handle transaction abort events #1043
Similar to how IndexedDB.jsm in the firefox tree needed to be updated to properly translate "abort" events to reject promises in https://bugzilla.mozilla.org/show_bug.cgi?id=1542181 in https://phabricator.services.mozilla.com/D36822, the code around
The general context in which this is a problem is when Firefox/Gecko is shutting down and QuotaManager shuts down but code like kinto and RemoteSettings are still active. QuotaManager will abort the outstanding transaction without necessarily firing an error event.