Index: Source/modules/webdatabase/SQLTransaction.idl |
diff --git a/Source/modules/webdatabase/SQLTransaction.idl b/Source/modules/webdatabase/SQLTransaction.idl |
index 2213ed76931e0a8c8e406d4551cddf30bf541490..d1e50feb0290a27a3c430e54d8198afbe35e34dc 100644 |
--- a/Source/modules/webdatabase/SQLTransaction.idl |
+++ b/Source/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; |
+ |
[ |
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); |
}; |