Modern IDB: Prevent the same transaction from being commited/aborted twice
Rarely, due to page navigation or worker shutdown, a transaction might be either committed or aborted after it has already been committed or aborted.
I could not reproduce this with a targeted test case attempting to reproduce it, but it is showing up as a source of at least some of the mysterious flakes (https://bugs.webkit.org/show_bug.cgi?id=154968)
By detecting this situation and turning it into an explicit error, we'll turn at least some mysterious timeouts into errors that will then become more actionable.
Created attachment 278455 [details]
Comment on attachment 278455 [details]
Clearing flags on attachment: 278455
Committed r200598: <http://trac.webkit.org/changeset/200598>
All reviewed patches have been landed. Closing bug.