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); |
}; |