| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 } | 347 } |
| 348 | 348 |
| 349 Map removeLast() { | 349 Map removeLast() { |
| 350 throw new UnsupportedError("Cannot remove from immutable List."); | 350 throw new UnsupportedError("Cannot remove from immutable List."); |
| 351 } | 351 } |
| 352 | 352 |
| 353 void remove(Object object) { | 353 void remove(Object object) { |
| 354 throw new UnsupportedError("Cannot remove from immutable List."); | 354 throw new UnsupportedError("Cannot remove from immutable List."); |
| 355 } | 355 } |
| 356 | 356 |
| 357 void removeAll(Iterable elements) { | |
| 358 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 359 } | |
| 360 | |
| 361 void retainAll(Iterable elements) { | |
| 362 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 363 } | |
| 364 | |
| 365 void removeWhere(bool test(Map element)) { | 357 void removeWhere(bool test(Map element)) { |
| 366 throw new UnsupportedError("Cannot remove from immutable List."); | 358 throw new UnsupportedError("Cannot remove from immutable List."); |
| 367 } | 359 } |
| 368 | 360 |
| 369 void retainWhere(bool test(Map element)) { | 361 void retainWhere(bool test(Map element)) { |
| 370 throw new UnsupportedError("Cannot remove from immutable List."); | 362 throw new UnsupportedError("Cannot remove from immutable List."); |
| 371 } | 363 } |
| 372 | 364 |
| 373 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { | 365 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { |
| 374 throw new UnsupportedError("Cannot setRange on immutable List."); | 366 throw new UnsupportedError("Cannot setRange on immutable List."); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 // BSD-style license that can be found in the LICENSE file. | 439 // BSD-style license that can be found in the LICENSE file. |
| 448 | 440 |
| 449 | 441 |
| 450 @DocsEditable | 442 @DocsEditable |
| 451 @DomName('SQLTransactionSync') | 443 @DomName('SQLTransactionSync') |
| 452 @SupportedBrowser(SupportedBrowser.CHROME) | 444 @SupportedBrowser(SupportedBrowser.CHROME) |
| 453 @SupportedBrowser(SupportedBrowser.SAFARI) | 445 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 454 @Experimental | 446 @Experimental |
| 455 abstract class _SQLTransactionSync native "*SQLTransactionSync" { | 447 abstract class _SQLTransactionSync native "*SQLTransactionSync" { |
| 456 } | 448 } |
| OLD | NEW |