Skip to content

indexeddb: Allow duplicate index names in different tables - #62569

Open
servo-wpt-sync wants to merge 1 commit into
web-platform-tests:masterfrom
servo:servo_export_47936
Open

indexeddb: Allow duplicate index names in different tables#62569
servo-wpt-sync wants to merge 1 commit into
web-platform-tests:masterfrom
servo:servo_export_47936

Conversation

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

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: #47927

Reviewed in servo/servo#47936

…ndex name

Signed-off-by: Leo Watts <leowatts34@gmail.com>

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants