| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 if (length == 0) throw new StateError("No elements"); | 376 if (length == 0) throw new StateError("No elements"); |
| 377 throw new StateError("More than one element"); | 377 throw new StateError("More than one element"); |
| 378 } | 378 } |
| 379 | 379 |
| 380 Map min([int compare(Map a, Map b)]) => | 380 Map min([int compare(Map a, Map b)]) => |
| 381 IterableMixinWorkaround.min(this, compare); | 381 IterableMixinWorkaround.min(this, compare); |
| 382 | 382 |
| 383 Map max([int compare(Map a, Map b)]) => | 383 Map max([int compare(Map a, Map b)]) => |
| 384 IterableMixinWorkaround.max(this, compare); | 384 IterableMixinWorkaround.max(this, compare); |
| 385 | 385 |
| 386 void insert(int index, Map element) { |
| 387 throw new UnsupportedError("Cannot add to immutable List."); |
| 388 } |
| 389 |
| 386 Map removeAt(int pos) { | 390 Map removeAt(int pos) { |
| 387 throw new UnsupportedError("Cannot remove from immutable List."); | 391 throw new UnsupportedError("Cannot remove from immutable List."); |
| 388 } | 392 } |
| 389 | 393 |
| 390 Map removeLast() { | 394 Map removeLast() { |
| 391 throw new UnsupportedError("Cannot remove from immutable List."); | 395 throw new UnsupportedError("Cannot remove from immutable List."); |
| 392 } | 396 } |
| 393 | 397 |
| 394 void remove(Object object) { | 398 void remove(Object object) { |
| 395 throw new UnsupportedError("Cannot remove from immutable List."); | 399 throw new UnsupportedError("Cannot remove from immutable List."); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 @DomName('SQLTransactionSync') | 472 @DomName('SQLTransactionSync') |
| 469 @SupportedBrowser(SupportedBrowser.CHROME) | 473 @SupportedBrowser(SupportedBrowser.CHROME) |
| 470 @SupportedBrowser(SupportedBrowser.SAFARI) | 474 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 471 @Experimental | 475 @Experimental |
| 472 class SqlTransactionSync native "*SQLTransactionSync" { | 476 class SqlTransactionSync native "*SQLTransactionSync" { |
| 473 | 477 |
| 474 @DomName('SQLTransactionSync.executeSql') | 478 @DomName('SQLTransactionSync.executeSql') |
| 475 @DocsEditable | 479 @DocsEditable |
| 476 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 480 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 477 } | 481 } |
| OLD | NEW |