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

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Jul 2012 21:49:56 +0000
Message-Id: <E1SqtAy-0004u5-HR@jessica.w3.org>
To: public-webapps@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:53 GMT