summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webdatabase/SQLTransaction.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/webdatabase/SQLTransaction.idl')
-rw-r--r--Source/WebCore/Modules/webdatabase/SQLTransaction.idl12
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransaction.idl b/Source/WebCore/Modules/webdatabase/SQLTransaction.idl
index 2eaecd2c4..1f53a1fe8 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransaction.idl
+++ b/Source/WebCore/Modules/webdatabase/SQLTransaction.idl
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3. Neither the name of Apple Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -26,14 +26,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+typedef (DOMString? or unrestricted double) SQLValue;
+
[
- NoInterfaceObject,
- Conditional=SQL_DATABASE,
- JSNoStaticTables,
SkipVTableValidation,
] interface SQLTransaction {
- [Custom] void executeSql(DOMString sqlStatement,
- ObjectArray arguments,
- optional SQLStatementCallback callback,
- optional SQLStatementErrorCallback errorCallback);
+ [MayThrowException] void executeSql(DOMString sqlStatement, optional sequence<SQLValue>? arguments = [], optional SQLStatementCallback? callback, optional SQLStatementErrorCallback? errorCallback);
};