[Bug 16441] Spec should note that onsuccess shouldn’t be used for writes.

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

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |eliotgra@microsoft.com
         Resolution|                            |FIXED

--- Comment #2 from Eliot Graff <eliotgra@microsoft.com> 2012-07-16 21:49:56 UTC ---
Added this note to Transaction.oncomplete and also for IDBObjectstore.add().

To determine if a transaction has completed successfully, listen to the
transaction’s complete event rather than the IDBObjectStore.add request’s
success event, because the transaction may still fail after the success event
fires.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 16 July 2012 21:49:57 UTC