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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 } | 373 } |
374 | 374 |
375 void removeWhere(bool test(Map element)) { | 375 void removeWhere(bool test(Map element)) { |
376 throw new UnsupportedError("Cannot remove from immutable List."); | 376 throw new UnsupportedError("Cannot remove from immutable List."); |
377 } | 377 } |
378 | 378 |
379 void retainWhere(bool test(Map element)) { | 379 void retainWhere(bool test(Map element)) { |
380 throw new UnsupportedError("Cannot remove from immutable List."); | 380 throw new UnsupportedError("Cannot remove from immutable List."); |
381 } | 381 } |
382 | 382 |
383 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { | 383 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { |
384 throw new UnsupportedError("Cannot setRange on immutable List."); | 384 throw new UnsupportedError("Cannot setRange on immutable List."); |
385 } | 385 } |
386 | 386 |
387 void removeRange(int start, int rangeLength) { | 387 void removeRange(int start, int rangeLength) { |
388 throw new UnsupportedError("Cannot removeRange on immutable List."); | 388 throw new UnsupportedError("Cannot removeRange on immutable List."); |
389 } | 389 } |
390 | 390 |
391 void insertRange(int start, int rangeLength, [Map initialValue]) { | 391 void insertRange(int start, int rangeLength, [Map initialValue]) { |
392 throw new UnsupportedError("Cannot insertRange on immutable List."); | 392 throw new UnsupportedError("Cannot insertRange on immutable List."); |
393 } | 393 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 | 462 |
463 @DocsEditable | 463 @DocsEditable |
464 @DomName('SQLTransactionSync') | 464 @DomName('SQLTransactionSync') |
465 @SupportedBrowser(SupportedBrowser.CHROME) | 465 @SupportedBrowser(SupportedBrowser.CHROME) |
466 @SupportedBrowser(SupportedBrowser.SAFARI) | 466 @SupportedBrowser(SupportedBrowser.SAFARI) |
467 @Experimental | 467 @Experimental |
468 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 468 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
469 _SQLTransactionSync.internal(); | 469 _SQLTransactionSync.internal(); |
470 | 470 |
471 } | 471 } |
OLD | NEW |