https://www.w3.org/Bugs/Public/show_bug.cgi?id=26774
Bug ID: 26774
Summary: Specification does not distinguish between
`IDBObjectStore` `add` and `put`
Product: WebAppsWG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Indexed Database API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
The specification for `add` and `put` are seemingly identical in the current
working draft perhaps bar a typo referring to structured cloning.
Are they intentionally identical?
The naming suggests that `put` would be idempotent and add would _always_
create a new entry or error if it's not possible. If they are intentionally
identical are two functions absolutely necessary?
--
You are receiving this mail because:
You are on the CC list for the bug.