[w3c/IndexedDB] Define db's associated upgrade tx to align with impls/tests. Resolves #192 (#201)

Implementations and tests have create/deleteObjectStore throw "TransactionInactiveError" if the transaction has aborted but the abort event has not yet fired. The spec disagreed, or at least was imprecise about the definition of "finished". 

To resolve this, databases are given an associated upgrade tx which is nulled out when the event fires, rather than relying on "finished". This simplifies text elsewhere too.

@brettz9 - can you review this change? This should address the outstanding issue you noted over in https://github.com/w3c/web-platform-tests/issues/5612
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/IndexedDB/pull/201

-- Commit Summary --

  * Define db's associated transaction to align with impls/tests. Resolves #192

-- File Changes --

    M index.bs (149)
    M index.html (357)

-- Patch Links --

https://github.com/w3c/IndexedDB/pull/201.patch
https://github.com/w3c/IndexedDB/pull/201.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/201

Received on Thursday, 11 May 2017 19:46:42 UTC