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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 } | 374 } |
375 | 375 |
376 void removeWhere(bool test(Map element)) { | 376 void removeWhere(bool test(Map element)) { |
377 throw new UnsupportedError("Cannot remove from immutable List."); | 377 throw new UnsupportedError("Cannot remove from immutable List."); |
378 } | 378 } |
379 | 379 |
380 void retainWhere(bool test(Map element)) { | 380 void retainWhere(bool test(Map element)) { |
381 throw new UnsupportedError("Cannot remove from immutable List."); | 381 throw new UnsupportedError("Cannot remove from immutable List."); |
382 } | 382 } |
383 | 383 |
384 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { | 384 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount=0]) { |
385 throw new UnsupportedError("Cannot setRange on immutable List."); | 385 throw new UnsupportedError("Cannot setRange on immutable List."); |
386 } | 386 } |
387 | 387 |
388 void removeRange(int start, int end) { | 388 void removeRange(int start, int end) { |
389 throw new UnsupportedError("Cannot removeRange on immutable List."); | 389 throw new UnsupportedError("Cannot removeRange on immutable List."); |
390 } | 390 } |
391 | 391 |
392 void replaceRange(int start, int end, Iterable<Map> iterable) { | 392 void replaceRange(int start, int end, Iterable<Map> iterable) { |
393 throw new UnsupportedError("Cannot modify an immutable List."); | 393 throw new UnsupportedError("Cannot modify an immutable List."); |
394 } | 394 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 451 |
452 @DocsEditable | 452 @DocsEditable |
453 @DomName('SQLTransactionSync') | 453 @DomName('SQLTransactionSync') |
454 @SupportedBrowser(SupportedBrowser.CHROME) | 454 @SupportedBrowser(SupportedBrowser.CHROME) |
455 @SupportedBrowser(SupportedBrowser.SAFARI) | 455 @SupportedBrowser(SupportedBrowser.SAFARI) |
456 @Experimental | 456 @Experimental |
457 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 457 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
458 _SQLTransactionSync.internal(); | 458 _SQLTransactionSync.internal(); |
459 | 459 |
460 } | 460 } |
OLD | NEW |