IDB WPTs: Extend IDBObjectStore.clear() to run on workers
This change updates IDBObjectStore.clear() related WPTs to also run on dedicated, service, and shared workers. Currently, these only run in window environments.
Bug: 41455766
Change-Id: I4d89da37833fdf7c50b1ef087708c0dd8ae71a32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5754796
Auto-Submit: Garima Chadha garimachadha@microsoft.com
Reviewed-by: Evan Stade estade@chromium.org
Commit-Queue: Evan Stade estade@chromium.org
Reviewed-by: Rahul Singh rahsin@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1337433}