W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Sep 2014 17:07:07 +0000
To: public-webapps@w3.org
Message-ID: <bug-26774-2927@http.www.w3.org/Bugs/Public/>

            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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC