Skip to content

Clarify post abort state of newly created DB in 5.8 (physical persistence vs observable state) #491

@Taym95

Description

@Taym95

Part of Servo IndexedDB implementation we noticed In 5.8 ("Aborting an upgrade transaction"), for a newly created DB, the algorithm says:

  • connection.version -> 0
  • connection.object store set -> empty set

What is unclear is whether user must:

  1. delete the physical backing store, or
  2. keep it but make it logically non existent / not visible to web eexposed APIs.

observed behavior (needs confirmation):

  • Firefox: physical SQLite file appears to remain.
  • Safari: physical DB appears to remain in tooling.
  • Chrome: DB may not appear in DevTools after abort.

Questions:

  • Is physical on disk deletion intentionally non normative?
  • What is the required behavior for indexedDB.databases() after aborting the initial upgrade?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions