| 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 if (length == 0) throw new StateError("No elements"); | 398 if (length == 0) throw new StateError("No elements"); |
| 399 throw new StateError("More than one element"); | 399 throw new StateError("More than one element"); |
| 400 } | 400 } |
| 401 | 401 |
| 402 Map min([int compare(Map a, Map b)]) => | 402 Map min([int compare(Map a, Map b)]) => |
| 403 IterableMixinWorkaround.min(this, compare); | 403 IterableMixinWorkaround.min(this, compare); |
| 404 | 404 |
| 405 Map max([int compare(Map a, Map b)]) => | 405 Map max([int compare(Map a, Map b)]) => |
| 406 IterableMixinWorkaround.max(this, compare); | 406 IterableMixinWorkaround.max(this, compare); |
| 407 | 407 |
| 408 void insert(int index, Map element) { |
| 409 throw new UnsupportedError("Cannot add to immutable List."); |
| 410 } |
| 411 |
| 408 Map removeAt(int pos) { | 412 Map removeAt(int pos) { |
| 409 throw new UnsupportedError("Cannot remove from immutable List."); | 413 throw new UnsupportedError("Cannot remove from immutable List."); |
| 410 } | 414 } |
| 411 | 415 |
| 412 Map removeLast() { | 416 Map removeLast() { |
| 413 throw new UnsupportedError("Cannot remove from immutable List."); | 417 throw new UnsupportedError("Cannot remove from immutable List."); |
| 414 } | 418 } |
| 415 | 419 |
| 416 void remove(Object object) { | 420 void remove(Object object) { |
| 417 throw new UnsupportedError("Cannot remove from immutable List."); | 421 throw new UnsupportedError("Cannot remove from immutable List."); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 @SupportedBrowser(SupportedBrowser.SAFARI) | 495 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 492 @Experimental | 496 @Experimental |
| 493 class SqlTransactionSync extends NativeFieldWrapperClass1 { | 497 class SqlTransactionSync extends NativeFieldWrapperClass1 { |
| 494 SqlTransactionSync.internal(); | 498 SqlTransactionSync.internal(); |
| 495 | 499 |
| 496 @DomName('SQLTransactionSync.executeSql') | 500 @DomName('SQLTransactionSync.executeSql') |
| 497 @DocsEditable | 501 @DocsEditable |
| 498 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; | 502 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa
ctionSync_executeSql_Callback"; |
| 499 | 503 |
| 500 } | 504 } |
| OLD | NEW |