Closed Bug 1799305 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36833 - Add IDBIndex array keypath tests

Categories

(Core :: Storage: IndexedDB, task, P4)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 36833 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/36833
Details from upstream follow.

Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> wrote:

Add IDBIndex array keypath tests

Adds WPT for validating IDBIndex array key path.

I wrote this to help surface a bug in the WebKit IDB implementation where single field array key paths (e.g. ['a']) get incorrectly coerced to scalar keys. Reference: https://github.com/w3c/IndexedDB/issues/394

(I also added a case to IndexedDB/keypath.htm that tests single-key IDBObjectStore key paths. WebKit is behaving as expected there.)

Component: web-platform-tests → Storage: IndexedDB
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd8cc71485c8 [wpt PR 36833] - Add IDBIndex array keypath tests, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.