| OLD | NEW |
| 1 /** |
| 2 * An API for storing data in the browser that can be queried with SQL. |
| 3 * |
| 4 * **Caution:** this specification is no longer actively maintained by the Web |
| 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
/) |
| 7 * for more information. |
| 8 * |
| 9 * The [dart:html.Storage] or [dart:indexed_db] APIs are recommended |
| 10 * alternatives. |
| 11 */ |
| 1 library dart.dom.web_sql; | 12 library dart.dom.web_sql; |
| 2 | 13 |
| 3 import 'dart:async'; | 14 import 'dart:async'; |
| 4 import 'dart:collection'; | 15 import 'dart:collection'; |
| 5 import 'dart:html'; | 16 import 'dart:html'; |
| 6 import 'dart:html_common'; | 17 import 'dart:html_common'; |
| 7 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin
gBehavior, JSName; | 18 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin
gBehavior, JSName; |
| 8 import 'dart:_foreign_helper' show JS; | 19 import 'dart:_foreign_helper' show JS; |
| 9 // DO NOT EDIT - unless you are editing documentation as per: | 20 // DO NOT EDIT - unless you are editing documentation as per: |
| 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 21 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 @DomName('SQLTransactionSync') | 464 @DomName('SQLTransactionSync') |
| 454 @SupportedBrowser(SupportedBrowser.CHROME) | 465 @SupportedBrowser(SupportedBrowser.CHROME) |
| 455 @SupportedBrowser(SupportedBrowser.SAFARI) | 466 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 456 @Experimental | 467 @Experimental |
| 457 class SqlTransactionSync native "*SQLTransactionSync" { | 468 class SqlTransactionSync native "*SQLTransactionSync" { |
| 458 | 469 |
| 459 @DomName('SQLTransactionSync.executeSql') | 470 @DomName('SQLTransactionSync.executeSql') |
| 460 @DocsEditable | 471 @DocsEditable |
| 461 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 472 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 462 } | 473 } |
| OLD | NEW |