[w3c/IndexedDB] Do not include databases with version 0 in databases() results (PR #448)

When a database is first created it is treated as an upgrade from version 0 to the new version (the default is 1). Per WPT, all implementations exclude these in-progress databases from the enumeration returned by databases(), so reflect this in the algorithm steps.

Closes #442


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/IndexedDB/pull/448.html" title="Last updated on Apr 11, 2025, 7:42 PM UTC (fb85794)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/IndexedDB/448/1b311f3...fb85794.html" title="Last updated on Apr 11, 2025, 7:42 PM UTC (fb85794)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/IndexedDB/pull/448

-- Commit Summary --

  * Do not include databases with version 0 in databases() results

-- File Changes --

    M index.bs (3)

-- Patch Links --

https://github.com/w3c/IndexedDB/pull/448.patch
https://github.com/w3c/IndexedDB/pull/448.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/448
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/pull/448@github.com>

Received on Friday, 11 April 2025 19:43:16 UTC