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

Unified Diff: Source/modules/webdatabase/SQLTransaction.idl

Issue 949193002: [bindings] Remove SQLTransaction's usage of custom binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed exception Created 5 years, 9 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 | « Source/modules/webdatabase/SQLTransaction.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « Source/modules/webdatabase/SQLTransaction.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698