| Index: Source/modules/webdatabase/SQLTransaction.idl
|
| diff --git a/Source/modules/webdatabase/SQLTransaction.idl b/Source/modules/webdatabase/SQLTransaction.idl
|
| index 2213ed76931e0a8c8e406d4551cddf30bf541490..42340fec6e4874937117ccee5b8685ba6207b725 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] void executeSql(DOMString sqlStatement,
|
| + optional ObjectArray? arguments,
|
| + optional SQLStatementCallback callback,
|
| + optional SQLStatementErrorCallback errorCallback);
|
|
|
| };
|
|
|