| OLD | NEW |
| 1 /** | 1 /** |
| 2 * An API for storing data in the browser that can be queried with SQL. | 2 * An API for storing data in the browser that can be queried with SQL. |
| 3 * | 3 * |
| 4 * **Caution:** this specification is no longer actively maintained by the Web | 4 * **Caution:** this specification is no longer actively maintained by the Web |
| 5 * Applications Working Group and may be removed at any time. | 5 * Applications Working Group and may be removed at any time. |
| 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) | 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) |
| 7 * for more information. | 7 * for more information. |
| 8 * | 8 * |
| 9 * The [dart:indexed_db] APIs is a recommended alternatives. | 9 * The [dart:indexed_db] APIs is a recommended alternatives. |
| 10 */ | 10 */ |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 @SupportedBrowser(SupportedBrowser.SAFARI) | 278 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 279 @Experimental() | 279 @Experimental() |
| 280 // http://www.w3.org/TR/webdatabase/#sqltransaction | 280 // http://www.w3.org/TR/webdatabase/#sqltransaction |
| 281 @deprecated // deprecated | 281 @deprecated // deprecated |
| 282 class SqlTransaction extends Interceptor native "SQLTransaction" { | 282 class SqlTransaction extends Interceptor native "SQLTransaction" { |
| 283 // To suppress missing implicit constructor warnings. | 283 // To suppress missing implicit constructor warnings. |
| 284 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } | 284 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } |
| 285 | 285 |
| 286 @DomName('SQLTransaction.executeSql') | 286 @DomName('SQLTransaction.executeSql') |
| 287 @DocsEditable() | 287 @DocsEditable() |
| 288 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native; | 288 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) native; |
| 289 } | 289 } |
| 290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 291 // for details. All rights reserved. Use of this source code is governed by a | 291 // for details. All rights reserved. Use of this source code is governed by a |
| 292 // BSD-style license that can be found in the LICENSE file. | 292 // BSD-style license that can be found in the LICENSE file. |
| 293 | 293 |
| 294 | 294 |
| 295 @DocsEditable() | 295 @DocsEditable() |
| 296 @DomName('SQLTransactionSync') | 296 @DomName('SQLTransactionSync') |
| 297 @SupportedBrowser(SupportedBrowser.CHROME) | 297 @SupportedBrowser(SupportedBrowser.CHROME) |
| 298 @SupportedBrowser(SupportedBrowser.SAFARI) | 298 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 299 @Experimental() | 299 @Experimental() |
| 300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 301 @Experimental() // deprecated | 301 @Experimental() // deprecated |
| 302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { | 302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { |
| 303 // To suppress missing implicit constructor warnings. | 303 // To suppress missing implicit constructor warnings. |
| 304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 305 } | 305 } |
| OLD | NEW |