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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 } | 355 } |
356 | 356 |
357 void removeWhere(bool test(Map element)) { | 357 void removeWhere(bool test(Map element)) { |
358 throw new UnsupportedError("Cannot remove from immutable List."); | 358 throw new UnsupportedError("Cannot remove from immutable List."); |
359 } | 359 } |
360 | 360 |
361 void retainWhere(bool test(Map element)) { | 361 void retainWhere(bool test(Map element)) { |
362 throw new UnsupportedError("Cannot remove from immutable List."); | 362 throw new UnsupportedError("Cannot remove from immutable List."); |
363 } | 363 } |
364 | 364 |
365 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { | 365 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { |
366 throw new UnsupportedError("Cannot setRange on immutable List."); | 366 throw new UnsupportedError("Cannot setRange on immutable List."); |
367 } | 367 } |
368 | 368 |
369 void removeRange(int start, int rangeLength) { | 369 void removeRange(int start, int rangeLength) { |
370 throw new UnsupportedError("Cannot removeRange on immutable List."); | 370 throw new UnsupportedError("Cannot removeRange on immutable List."); |
371 } | 371 } |
372 | 372 |
373 void insertRange(int start, int rangeLength, [Map initialValue]) { | 373 void insertRange(int start, int rangeLength, [Map initialValue]) { |
374 throw new UnsupportedError("Cannot insertRange on immutable List."); | 374 throw new UnsupportedError("Cannot insertRange on immutable List."); |
375 } | 375 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // BSD-style license that can be found in the LICENSE file. | 439 // BSD-style license that can be found in the LICENSE file. |
440 | 440 |
441 | 441 |
442 @DocsEditable | 442 @DocsEditable |
443 @DomName('SQLTransactionSync') | 443 @DomName('SQLTransactionSync') |
444 @SupportedBrowser(SupportedBrowser.CHROME) | 444 @SupportedBrowser(SupportedBrowser.CHROME) |
445 @SupportedBrowser(SupportedBrowser.SAFARI) | 445 @SupportedBrowser(SupportedBrowser.SAFARI) |
446 @Experimental | 446 @Experimental |
447 abstract class _SQLTransactionSync native "*SQLTransactionSync" { | 447 abstract class _SQLTransactionSync native "*SQLTransactionSync" { |
448 } | 448 } |
OLD | NEW |