[w3c/IndexedDB] Extract common steps of `IDBObjectStore`'s `put()` and`add()` (#261)

Currently the 12 steps are almost identical, the only difference being (as far as I can tell) the value of the *no-overwrite* flag passed to [store a record into an object store](https://w3c.github.io/IndexedDB/#store-a-record-into-an-object-store). Extracting them into a separate named procedure would make it easier for users and implementers to understand the difference between the two methods.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/261

Received on Wednesday, 3 April 2019 07:37:04 UTC