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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 } | 356 } |
357 | 357 |
358 void removeWhere(bool test(Map element)) { | 358 void removeWhere(bool test(Map element)) { |
359 throw new UnsupportedError("Cannot remove from immutable List."); | 359 throw new UnsupportedError("Cannot remove from immutable List."); |
360 } | 360 } |
361 | 361 |
362 void retainWhere(bool test(Map element)) { | 362 void retainWhere(bool test(Map element)) { |
363 throw new UnsupportedError("Cannot remove from immutable List."); | 363 throw new UnsupportedError("Cannot remove from immutable List."); |
364 } | 364 } |
365 | 365 |
366 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { | 366 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount=0]) { |
367 throw new UnsupportedError("Cannot setRange on immutable List."); | 367 throw new UnsupportedError("Cannot setRange on immutable List."); |
368 } | 368 } |
369 | 369 |
370 void removeRange(int start, int end) { | 370 void removeRange(int start, int end) { |
371 throw new UnsupportedError("Cannot removeRange on immutable List."); | 371 throw new UnsupportedError("Cannot removeRange on immutable List."); |
372 } | 372 } |
373 | 373 |
374 void replaceRange(int start, int end, Iterable<Map> iterable) { | 374 void replaceRange(int start, int end, Iterable<Map> iterable) { |
375 throw new UnsupportedError("Cannot modify an immutable List."); | 375 throw new UnsupportedError("Cannot modify an immutable List."); |
376 } | 376 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 // BSD-style license that can be found in the LICENSE file. | 432 // BSD-style license that can be found in the LICENSE file. |
433 | 433 |
434 | 434 |
435 @DocsEditable | 435 @DocsEditable |
436 @DomName('SQLTransactionSync') | 436 @DomName('SQLTransactionSync') |
437 @SupportedBrowser(SupportedBrowser.CHROME) | 437 @SupportedBrowser(SupportedBrowser.CHROME) |
438 @SupportedBrowser(SupportedBrowser.SAFARI) | 438 @SupportedBrowser(SupportedBrowser.SAFARI) |
439 @Experimental | 439 @Experimental |
440 abstract class _SQLTransactionSync native "*SQLTransactionSync" { | 440 abstract class _SQLTransactionSync native "*SQLTransactionSync" { |
441 } | 441 } |
OLD | NEW |