Closed Bug 2071669 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62569 - indexeddb: Allow duplicate index names in different tables

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Leo Watts <leowatts34@gmail.com> wrote:

indexeddb: Allow duplicate index names in different tables

Change the indexes SQLite table to only require the combination of object store id and index name to be unique. See the spec:

If an index named name already exists in store, throw a "ConstraintError" DOMException.

Testing: Added WPT. Test for negative case with duplicate names in same table already exists and is still passing so no regression there.
Fixes: #<!-- nolink -->47927

Reviewed in servo/servo#47936

Component: web-platform-tests → Storage: IndexedDB
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 817 tests and 1 subtests

Status Summary

Firefox

OK : 4[GitHub] 626[Gecko-windows11-32-25h2-debug] 640[Gecko-windows11-64-25h2-debug] 814[Gecko-windows11-32-25h2-opt] 815[Gecko-android-em-14-x86_64-debug-geckoview] 816[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
PASS: 88[GitHub] 3889[Gecko-windows11-64-25h2-debug] 3895[Gecko-windows11-32-25h2-debug] 5826[Gecko-android-em-14-x86_64-debug-geckoview] 5831[Gecko-windows11-32-25h2-opt] 5833[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 5836[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL: 8[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

OK : 4
PASS: 88

Safari

OK : 4
PASS: 88

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/88c2f0695f1c https://hg.mozilla.org/integration/autoland/rev/aa77bc490424 [wpt PR 62569] - indexeddb: Allow duplicate index names in different tables, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: