W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2009

html5/webdatabase Overview.html,1.14,1.15

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 18 Aug 2009 02:58:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1MdEtc-0006KF-AW@lionel-hutz.w3.org>
Update of /sources/public/html5/webdatabase
In directory hutz:/tmp/cvs-serv24301

Modified Files:
	Overview.html 
Log Message:
Ensure that the version number only gets bumped if the transaction commits properly. (whatwg r3651)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/webdatabase/Overview.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.html	18 Aug 2009 01:13:31 -0000	1.14
+++ Overview.html	18 Aug 2009 02:57:58 -0000	1.15
@@ -733,17 +733,20 @@
 
     </ol></li>
 
-   <li><p>If a <i>postflight operation</i> was defined for this
-   instance of the transaction steps, run that. If it fails, then jump
-   to the last step. <!--The operation, if any, might depend
-   <i>callback-canceled</i>.--> (This is basically a hook for the
-   <code title="dom-database-changeVersion"><a href="#dom-database-changeversion">changeVersion()</a></code>
-   method.)</li>
+   <li>
 
-   <li><p>Commit the transaction.</li>
+    <p>If a <i>postflight operation</i> was defined for this instance
+    of the transaction steps, then: as one atomic operation, commit
+    the transaction and run the <i>postflight operation</i>. If either
+    fails, then do neither, and instead jump to the last step. (This
+    is basically a hook for the <code title="dom-database-changeVersion"><a href="#dom-database-changeversion">changeVersion()</a></code>
+    method.)</p>
 
-   <li><p>If an error occurred in the committing of the transaction,
-   jump to the last step.</li>
+    <p>Otherwise: commit the transaction and run the <i>postflight
+    operation</i>. If an error occurred in the committing of the
+    transaction, jump to the last step.</p>
+
+   </li>
 
    <li><p><span>Queue a task</span> to invoke the <i>success
    callback</i>.</li>
Received on Tuesday, 18 August 2009 02:58:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 August 2009 02:58:12 GMT