Skip to content

Correct createIndex exception wording - #45592

Open
leowatts wants to merge 1 commit into
mdn:mainfrom
leowatts:patch-1
Open

Correct createIndex exception wording#45592
leowatts wants to merge 1 commit into
mdn:mainfrom
leowatts:patch-1

Conversation

@leowatts

@leowatts leowatts commented Sep 9, 2026

Copy link
Copy Markdown

Description

The spec states:

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

I have changed the docs to refer to the object store rather than the database.

Motivation

This confused me when reading as a newbie to IndexedDB

@leowatts
leowatts requested a review from a team as a code owner September 9, 2026 14:29
@leowatts
leowatts requested review from wbamberg and removed request for a team September 9, 2026 14:29
@github-actions github-actions Bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants