Re: [w3c/IndexedDB] Add IDBCursor.close() (#185)

This would be easiest to define and test if we allow calling `close()` at the same times that we allow calling `continue()`, namely when the owning transaction is active and the cursor's _got value_ flag is true, and throw otherwise.

Otherwise, it's racy: there could be an outstanding `continue()` (or `advance()` etc) call running, with the associated request in a pending state. 

@aliams @pwnall @asutherland - does that restriction sound acceptable?

-- 
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/issues/185#issuecomment-536097226

Received on Friday, 27 September 2019 21:09:17 UTC