Skip to content

Mssing step in open a database connection? #434

Closed

Description

@stelar7

In open a database connection, there doesnt seem to be anything that sets the requests processed and done flags..

Step 10.6 sets it via upgrade a database, but in the case that we dont enter step 10, the request is left in the unprocessed state.

This will block some steps like deleting a database step 3, that says Wait until all previous requests in queue have been processed

Am I missing a spot where this would be set? or is it a spec issue?

Activity

  1. inexorabletash commented on Dec 14, 2024

    @inexorabletash
    Member

    The open() steps (5.2.1.3 and 5.2.2.2) set the done flag, but I think you're correct and the processed flag isn't set. So: spec issue, new in "v3"

    I suspect this was introduced back in 671f315 with the processed flag itself.

    PRs welcome!

  2. added this to the V3 milestone on Dec 14, 2024
  3. inexorabletash commented on Feb 28, 2025

    @inexorabletash
    Member

    Thanks @stelar7 ! How should we acknowledge you in https://w3c.github.io/IndexedDB/#acknowledgements ?

  4. stelar7 commented on Mar 1, 2025

    @stelar7
    ContributorAuthor

    Thanks @stelar7 ! How should we acknowledge you in https://w3c.github.io/IndexedDB/#acknowledgements ?

    Thanks for fixing this!

    stelar7 is fine, if you prefer a real name, then Steffen Larssen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions