Skip to content

Commit f659e17

Browse files
Transaction-is-active test can be an assertion (noted in issue #192)
1 parent 05b2a7c commit f659e17

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

index.bs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5531,8 +5531,7 @@ created [=request=] belongs to is [=transaction/aborted=] using the steps to
55315531
1. Let |transaction| be the [=/transaction=] associated with
55325532
|source|.
55335533

5534-
2. If |transaction| is not [=transaction/active=], [=throw=] a
5535-
"{{TransactionInactiveError}}" {{DOMException}}.
5534+
2. Assert: |transaction| is [=transaction/active=].
55365535

55375536
3. If |request| was not given, let |request| be a new |request| with
55385537
[=request/source=] as |source|.
@@ -7149,6 +7148,14 @@ document's Revision History.
71497148
71507149
71517150

7151+
* Use [{{SameObject}}]/[{{NewObject}}] in IDL where appropriate.
7152+
7153+
7154+
7155+
* Transaction-is-[=active=] test can be an assertion in
7156+
the [=asynchronously execute a request=] steps.
7157+
7158+
71527159

71537160
71547161

Acknowledgements

index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5398,8 +5398,7 @@

53985398
  • 53995399

    Let transaction be the transaction associated with source.

    54005400
  • 5401-

    If transaction is not active, throw a

    5402-
    5401+

    Assert: transaction is active.

    54035402
  • 54045403

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

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

    66806679
  • 66816680
    66826681
    6682+
  • 6683+

    Use [SameObject]/[NewObject] in IDL where appropriate.

    6684+
    6685+
  • 6686+

    Transaction-is-active test can be an assertion in

    6687+
    6688+
    66836689
    66846690

    11. Acknowledgements

    66856691

    Special thanks to Nikunj Mehta, the original author of the first

    @@ -8205,6 +8211,7 @@

    I

    82058211
    82068212
    82078213
    8214+
    82088215
    82098216
    82108217
    @@ -9503,6 +9510,7 @@

    I

    95039510
    95049511
    95059512
    9513+
    95069514
    95079515
    95089516

    0 commit comments

    Comments
     (0)