Skip to content

Commit 4b8a1c6

Browse files
Update to use IDL this
1 parent 33dde6f commit 4b8a1c6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

index.bs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4635,24 +4635,23 @@ The <dfn method for=IDBCursor>continuePrimaryKey(|key|,
46354635

46364636
The <dfn method for=IDBCursor>close()</dfn> method, when invoked, must run these steps:
46374637

4638-
1. Let |transaction| be this [=cursor=]'s
4639-
[=cursor/transaction=].
4638+
1. Let |transaction| be **this**'s [=cursor/transaction=].
46404639

46414640
1. If |transaction|'s [=transaction/state=] is not [=transaction/active=], then [=throw=] a "{{TransactionInactiveError}}" {{DOMException}}.
46424641

4643-
1. If this [=cursor=]'s [=cursor/source=] or [=effective object store=] has been deleted, [=throw=] an "{{InvalidStateError}}" {{DOMException}}.
4642+
1. If **this**'s [=cursor/source=] or [=effective object store=] has been deleted, then [=throw=] an "{{InvalidStateError}}" {{DOMException}}.
46444643

4645-
1. If this [=cursor=]'s [=cursor/got value flag=] is false
4644+
1. If **this**'s [=cursor/got value flag=] is false
46464645
(indicating that the cursor is being iterated, has iterated past its end, or that {{IDBCursor/close()}} was called),
46474646
then [=throw=] an "{{InvalidStateError}}" {{DOMException}}.
46484647

4649-
1. Set this [=cursor=]'s [=cursor/got value flag=] to false.
4648+
1. Set **this**'s [=cursor/got value flag=] to false.
46504649

4651-
1. Set this [=cursor=]'s [=cursor/key=] to undefined.
4650+
1. Set **this**'s [=cursor/key=] to undefined.
46524651

4653-
1. If this [=cursor=]'s [=cursor/source=] is an [=/index=], then set this [=cursor=]'s [=object store position=] to undefined.
4652+
1. If **this**'s [=cursor/source=] is an [=/index=], then set **this**'s [=object store position=] to undefined.
46544653

4655-
1. If this [=cursor=]'s [=cursor/key only flag=] is false, then set this [=cursor=]'s [=cursor/value=] to undefined.
4654+
1. If **this**'s [=cursor/key only flag=] is false, then set **this**'s [=cursor/value=] to undefined.
46564655

46574656
</div>
46584657

0 commit comments

Comments
 (0)