Hi Philip,

Here is a comprehensive list of web tests that verify storageBuckets
behavior. We do feel the size of this list aligns well with the spec,
which is fairly concise. As you can see, some are spread out in directories
for the other storage APIs that storageBuckets brokers.

That said, not all behavior is verifiable from the web. For example, it's
not possible to reliably trigger an automatic eviction event from the web,
so we can't really know if `persisted` is *actually* respected. Browser
tests provide that kind of coverage.

Some of the WPT are internal but they can/should be moved
<https://chromium-review.googlesource.com/c/chromium/src/+/5072535> to the
external WPT directory. Thanks for the prompt.

external/wpt/IndexedDB/storage-buckets.https.any.js:
external/wpt/fs/script-tests/FileSystemBaseHandle-buckets.js:
external/wpt/service-workers/cache-storage/cache-storage-buckets.https.any.js:
external/wpt/storage/buckets/bucket-quota-indexeddb.tentative.https.any.js:
external/wpt/storage/buckets/bucket-storage-policy.tentative.https.any.js:
external/wpt/web-locks/storage-buckets.tentative.https.any.js:
http/tests/inspector-protocol/storage/cache-storage-request-cache-names.js:
http/tests/inspector-protocol/storage/cache-storage-storage-key-request-cache-names.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-clear.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-delete-db.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-delete-object-store-entries.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-get-metadata.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-request-data.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-request-database-names.js:
http/tests/inspector-protocol/storage/indexed-db-storage-key-request-database.js:
http/tests/inspector-protocol/storage/storage-bucket-storage-key-track-untrack.js:
http/tests/inspector-protocol/storage/storage-buckets-delete-storage-bucket.js:
wpt_internal/storage/buckets/bucket_names.tentative.https.any.js:
wpt_internal/storage/buckets/buckets_basic.tentative.https.any.js:
wpt_internal/storage/buckets/buckets_storage_policy.tentative.https.any.js:
wpt_internal/storage/buckets/detached-iframe.https.html:
wpt_internal/storage/buckets/idlharness-worker.https.any.js:
wpt_internal/storage/buckets/opaque-origin.https.window.js:
wpt_internal/storage/buckets/resources/opaque-origin-sandbox.html:
wpt_internal/storage/buckets/storage_bucket_object.tentative.https.any.js:

-- Evan Stade


On Wed, Nov 29, 2023 at 9:02 AM Philip Jägenstedt <foo...@chromium.org>
wrote:

> Hi Evan,
>
> Is
> https://wpt.fyi/results/storage/buckets?label=experimental&label=master&aligned
> the full set of tests? Given the size of the spec, does that cover the
> whole feature well?
>
> Best regards,
> Philip
>
> On Wed, Nov 29, 2023 at 5:58 PM Evan Stade <est...@chromium.org> wrote:
>
>> [reply-all this time]
>>
>> Hi Philip,
>>
>> thanks for pointing out those two oversights. I have fixed the checkboxes
>> on the chromestatus entry. It is in fact tested by WPT and supported on all
>> Blink platforms.
>>
>> On Wed, Nov 29, 2023 at 8:43 AM Philip Jägenstedt <foo...@chromium.org>
>> wrote:
>>
>>> Hi Evan,
>>>
>>> A few questions inline.
>>>
>>> On Tue, Nov 14, 2023 at 9:38 PM Evan Stade <est...@chromium.org> wrote:
>>>
>>>>
>>>> Will this feature be supported on all six Blink platforms (Windows,
>>>> Mac, Linux, Chrome OS, Android, and Android WebView)?
>>>>
>>>> No
>>>>
>>>
>>> Which platform will this not be supported on?
>>>
>>>
>>>> Is this feature fully tested by web-platform-tests
>>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
>>>> ?
>>>>
>>>> No
>>>>
>>>
>>> Can this be fully tested in WPT? If it's not tested in WPT, how is it
>>> currently tested?
>>>
>>> Best regards,
>>> Philip
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAO4XGS9eLOkG5WAhH33XWBYW-gNEwzaF5q_p0R8Y6Br9yb8ntg%40mail.gmail.com.

Reply via email to