From f659e17be81b9c8d5ddc63fec80951d6924c1f05 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 21 Apr 2017 16:27:25 -0700 Subject: [PATCH] Transaction-is-active test can be an assertion (noted in issue #192) --- index.bs | 11 +++++++++-- index.html | 12 ++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/index.bs b/index.bs index 0c659bf..2de017e 100644 --- a/index.bs +++ b/index.bs @@ -5531,8 +5531,7 @@ created [=request=] belongs to is [=transaction/aborted=] using the steps to 1. Let |transaction| be the [=/transaction=] associated with |source|. -2. If |transaction| is not [=transaction/active=], [=throw=] a - "{{TransactionInactiveError}}" {{DOMException}}. +2. Assert: |transaction| is [=transaction/active=]. 3. If |request| was not given, let |request| be a new |request| with [=request/source=] as |source|. @@ -7149,6 +7148,14 @@ document's Revision History. StructuredDeserialize hooks. (bug #170) +* Use [{{SameObject}}]/[{{NewObject}}] in IDL where appropriate. + (issue #193, + issue #194) + +* Transaction-is-[=active=] test can be an assertion in + the [=asynchronously execute a request=] steps. + (issue #192) +

Acknowledgements

diff --git a/index.html b/index.html index c65daf1..2be69e2 100644 --- a/index.html +++ b/index.html @@ -5398,8 +5398,7 @@

Let transaction be the transaction associated with source.

  • -

    If transaction is not active, throw a -"TransactionInactiveError" DOMException.

    +

    Assert: transaction is active.

  • If request was not given, let request be a new request with source as source.

  • @@ -6680,6 +6679,13 @@

    Use [HTML]'s StructuredSerialize and StructuredDeserialize hooks. (bug #170)

    +
  • +

    Use [SameObject]/[NewObject] in IDL where appropriate. +(issue #193, issue #194)

    +
  • +

    Transaction-is-active test can be an assertion in +the asynchronously execute a request steps. +(issue #192)

    11. Acknowledgements

    Special thanks to Nikunj Mehta, the original author of the first @@ -8205,6 +8211,7 @@

    I
  • 4.6. The IDBIndex interface (2) (3) (4) (5) (6) (7) (8) (9) (10)
  • 4.8. The IDBCursor interface (2) (3) (4) (5) (6) (7) (8)
  • 5.6. Asynchronously executing a request +
  • 10. Revision History