[html5] r1545 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue May 6 21:06:57 PDT 2008


Author: ianh
Date: 2008-05-06 21:06:56 -0700 (Tue, 06 May 2008)
New Revision: 1545

Modified:
   index
   source
Log:
[e] (0) Skip calling a callback if it wasn't specified.

Modified: index
===================================================================
--- index	2008-05-07 04:03:40 UTC (rev 1544)
+++ index	2008-05-07 04:06:56 UTC (rev 1545)
@@ -33517,8 +33517,8 @@
    <li>
     <p>While there are any statements queued up in the transaction, perform
      the following steps for each queued up statement in the transaction,
-     oldest first. Each statement has a statement, a result set callback, and
-     optionally an error callback.</p>
+     oldest first. Each statement has a statement, optionally a result set
+     callback, and optionally an error callback.</p>
 
     <ol>
      <li>
@@ -33537,9 +33537,10 @@
        object that represents the result of the statement.
 
      <li>
-      <p><!-- XXX queue --> Invoke the statement's result set callback with
-       the <code><a href="#sqltransaction">SQLTransaction</a></code> object
-       as its first argument and the new <code><a
+      <p><!-- XXX queue --> If the statement has a result set callback,
+       invoke it with the <code><a
+       href="#sqltransaction">SQLTransaction</a></code> object as its first
+       argument and the new <code><a
        href="#sqlresultset">SQLResultSet</a></code> object as its second
        argument.
 

Modified: source
===================================================================
--- source	2008-05-07 04:03:40 UTC (rev 1544)
+++ source	2008-05-07 04:06:56 UTC (rev 1545)
@@ -31302,8 +31302,9 @@
 -->
    <li><p>While there are any statements queued up in the transaction,
    perform the following steps for each queued up statement in the
-   transaction, oldest first. Each statement has a statement, a result
-   set callback, and optionally an error callback.</p>
+   transaction, oldest first. Each statement has a statement,
+   optionally a result set callback, and optionally an error
+   callback.</p>
 
     <ol>
 
@@ -31319,10 +31320,10 @@
      <li><p>Create a <code>SQLResultSet</code> object that represents
      the result of the statement.</p></li>
 
-     <li><p><!-- XXX queue --> Invoke the statement's result set
-     callback with the <code>SQLTransaction</code> object as its first
-     argument and the new <code>SQLResultSet</code> object as its
-     second argument.</p></li>
+     <li><p><!-- XXX queue --> If the statement has a result set
+     callback, invoke it with the <code>SQLTransaction</code> object
+     as its first argument and the new <code>SQLResultSet</code>
+     object as its second argument.</p></li>
 
      <li><p>If the callback was invoked and raised an exception, jump
      to the last step in the overall steps.</p></li>




More information about the Commit-Watchers mailing list