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