[w3c/IndexedDB] Specify the error code for failures when reading a value from disk (PR #430)

This PR:
- Updates the description of `UnknownError` to convey that it should be used for transient reasons, per the [Web IDL Standard](https://webidl.spec.whatwg.org/#unknownerror).
- Adds `NotReadableError` from the [Web IDL Standard](https://webidl.spec.whatwg.org/#notreadableerror) to the list of possible exceptions.
- Specifies `NotReadableError` to be returned when reading the value from the underlying storage fails in the `object-store-retrieval-operation` algorithms.

Closes #423

The following tasks have been completed:

 * [ ] Confirmed there are no ReSpec/BikeShed errors or warnings.
 * [ ] Modified Web platform tests (link to pull request)

Implementation commitment:

 * [ ] WebKit (https://bugs.webkit.org/show_bug.cgi?id=)
 * [ ] Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=)
 * [ ] Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=)


<!--
    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/430.html" title="Last updated on Oct 8, 2024, 10:57 AM UTC (0c09c71)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/IndexedDB/430/010ecb2...0c09c71.html" title="Last updated on Oct 8, 2024, 10:57 AM UTC (0c09c71)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Specify NotReadableError for read failures arising from the underlying storage

-- File Changes --

    M index.bs (17)

-- Patch Links --

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

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

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

Received on Tuesday, 8 October 2024 10:57:29 UTC