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

hixie: Ensure that the version number only gets bumped if the transaction commits properly. (whatwg r3651)

From: poot <cvsmail@w3.org>
Date: Tue, 18 Aug 2009 11:58:23 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090818025823.88EF82BBFD@toro.w3.mag.keio.ac.jp>
hixie: Ensure that the version number only gets bumped if the
transaction commits properly. (whatwg r3651)

http://dev.w3.org/cvsweb/html5/webdatabase/Overview.html?r1=1.14&r2=1.15&f=h
http://html5.org/tools/web-apps-tracker?from=3650&to=3651

===================================================================
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:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:09 GMT