Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: modules/webdatabase/SQLTransaction.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/webdatabase/SQLResultSetRowList.idl ('k') | modules/webgl/ANGLEInstancedArrays.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webdatabase/SQLTransaction.idl
diff --git a/modules/webdatabase/SQLTransaction.idl b/modules/webdatabase/SQLTransaction.idl
index cc8b2bb2180b986e932c288694afdc1fbf7bdd54..d1e50feb0290a27a3c430e54d8198afbe35e34dc 100644
--- a/modules/webdatabase/SQLTransaction.idl
+++ b/modules/webdatabase/SQLTransaction.idl
@@ -26,13 +26,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/webdatabase/#sqltransaction
+
+typedef sequence<any> ObjectArray;
+
[
- WillBeGarbageCollected,
+ GarbageCollected,
NoInterfaceObject,
] interface SQLTransaction {
- [Custom] void executeSql(DOMString sqlStatement,
- object[] arguments,
- optional SQLStatementCallback callback,
- optional SQLStatementErrorCallback errorCallback);
+ // The spec defines |arguments| to be an "optional ObjectArray" though it defines the
+ // behavior when null is being passed.
+ [RaisesException, CallWith=ScriptState] void executeSql(DOMString sqlStatement,
+ optional ObjectArray? arguments,
+ optional SQLStatementCallback callback,
+ optional SQLStatementErrorCallback errorCallback);
};
« no previous file with comments | « modules/webdatabase/SQLResultSetRowList.idl ('k') | modules/webgl/ANGLEInstancedArrays.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698