DescriptionIndexedDB: Clean up boilerplate when throwing TransactionInactiveError
Chrome's implementation provides different detailed error messages for
the various API methods to distinguish between the transaction being
merely inactive (between event dispatches) and finished (committed or
aborted). Reduce the boilerplate in each method by letting the
transaction introspect to provide the message.
R=dmurph@chromium.org
Review-Url: https://codereview.chromium.org/2808763007
Cr-Commit-Position: refs/heads/master@{#464450}
Committed: https://chromium.googlesource.com/chromium/src/+/96df469774cc96620178f1e666754bdfb27868b2
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 14 (9 generated)
|