| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 throw new UnsupportedError("Cannot removeRange on immutable List."); | 419 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 420 } | 420 } |
| 421 | 421 |
| 422 void insertRange(int start, int rangeLength, [Map initialValue]) { | 422 void insertRange(int start, int rangeLength, [Map initialValue]) { |
| 423 throw new UnsupportedError("Cannot insertRange on immutable List."); | 423 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 424 } | 424 } |
| 425 | 425 |
| 426 List<Map> getRange(int start, int rangeLength) => | 426 List<Map> getRange(int start, int rangeLength) => |
| 427 Lists.getRange(this, start, rangeLength, <Map>[]); | 427 Lists.getRange(this, start, rangeLength, <Map>[]); |
| 428 | 428 |
| 429 Map<int, Map> asMap() => |
| 430 IterableMixinWorkaround.asMapList(this); |
| 431 |
| 429 // -- end List<Map> mixins. | 432 // -- end List<Map> mixins. |
| 430 | 433 |
| 431 @DomName('SQLResultSetRowList.item') | 434 @DomName('SQLResultSetRowList.item') |
| 432 @DocsEditable | 435 @DocsEditable |
| 433 @Creates('=Object') | 436 @Creates('=Object') |
| 434 Map item(int index) { | 437 Map item(int index) { |
| 435 return convertNativeToDart_Dictionary(_item_1(index)); | 438 return convertNativeToDart_Dictionary(_item_1(index)); |
| 436 } | 439 } |
| 437 @JSName('item') | 440 @JSName('item') |
| 438 @DomName('SQLResultSetRowList.item') | 441 @DomName('SQLResultSetRowList.item') |
| (...skipping 26 matching lines...) Expand all Loading... |
| 465 @DomName('SQLTransactionSync') | 468 @DomName('SQLTransactionSync') |
| 466 @SupportedBrowser(SupportedBrowser.CHROME) | 469 @SupportedBrowser(SupportedBrowser.CHROME) |
| 467 @SupportedBrowser(SupportedBrowser.SAFARI) | 470 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 468 @Experimental | 471 @Experimental |
| 469 class SqlTransactionSync native "*SQLTransactionSync" { | 472 class SqlTransactionSync native "*SQLTransactionSync" { |
| 470 | 473 |
| 471 @DomName('SQLTransactionSync.executeSql') | 474 @DomName('SQLTransactionSync.executeSql') |
| 472 @DocsEditable | 475 @DocsEditable |
| 473 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 476 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 474 } | 477 } |
| OLD | NEW |