WPT
wpt / IndexedDB / idbobjectstore_add.any.html
Spec: Indexed DB ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 16/16 | 16/16 | 16/16 | 16/16 | 5/16 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| add() with an inline key | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() with an out-of-line key | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() record with same key already exists | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() where an index has unique:true specified | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() object store's key path is an object attribute | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() autoIncrement and inline keys | PASS | PASS | PASS | PASS | TIMEOUT | — |
| add() autoIncrement and out-of-line keys | PASS | PASS | PASS | PASS | TIMEOUT | — |
| Object store has autoIncrement:true and the key path is an object attribute | PASS | PASS | PASS | PASS | TIMEOUT | — |
| Attempt to 'add()' a record that does not meet the constraints of an object store's inline key requirements | PASS | PASS | PASS | PASS | PASS | — |
| Attempt to call 'add()' without a key parameter when the object store uses out-of-line keys | PASS | PASS | PASS | PASS | PASS | — |
| Attempt to 'add()' a record where the record's key does not meet the constraints of a valid key | PASS | PASS | PASS | PASS | PASS | — |
| Attempt to 'add()' a record where the record's in-line key is not defined | PASS | PASS | PASS | PASS | PASS | — |
| Attempt to 'add()' a record where the out of line key provided does not meet the constraints of a valid key | PASS | PASS | PASS | PASS | PASS | — |
| add() a record where a value being indexed does not meet the constraints of a valid key | PASS | PASS | PASS | PASS | TIMEOUT | — |
| If the transaction this IDBObjectStore belongs to has its mode set to readonly, throw ReadOnlyError | PASS | PASS | PASS | PASS | TIMEOUT | — |
| If the object store has been deleted, the implementation must throw a DOMException of type InvalidStateError | PASS | PASS | PASS | PASS | TIMEOUT | — |