[Bug 26774] New: Specification does not distinguish between `IDBObjectStore` `add` and `put`

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: dave.null@w3.org
          Reporter: sam.e.giles@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

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.

Received on Wednesday, 10 September 2014 17:07:16 UTC