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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26774

Joshua Bell <jsbell@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jsbell@google.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Joshua Bell <jsbell@google.com> ---
Both methods say "[run] the steps for storing a record into an object store..."

add() has:

"...with the no-overwrite flag flag set to true."

put() has:

...with the no-overwrite flag flag set to false."

which is the crux of the difference between them. The operation steps later in
the spec detail how the no-overwrite flag is interpreted.

(I'm guessing you missed this. If so, no worries. If not, my apologies - what
am *I* missing?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 10 September 2014 17:43:39 UTC