Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 13528004: Remove addLast from List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove typo Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 Map elementAt(int index) { 343 Map elementAt(int index) {
344 return this[index]; 344 return this[index];
345 } 345 }
346 346
347 // From Collection<Map>: 347 // From Collection<Map>:
348 348
349 void add(Map value) { 349 void add(Map value) {
350 throw new UnsupportedError("Cannot add to immutable List."); 350 throw new UnsupportedError("Cannot add to immutable List.");
351 } 351 }
352 352
353 void addLast(Map value) {
354 throw new UnsupportedError("Cannot add to immutable List.");
355 }
356
357 void addAll(Iterable<Map> iterable) { 353 void addAll(Iterable<Map> iterable) {
358 throw new UnsupportedError("Cannot add to immutable List."); 354 throw new UnsupportedError("Cannot add to immutable List.");
359 } 355 }
360 356
361 // From List<Map>: 357 // From List<Map>:
362 void set length(int value) { 358 void set length(int value) {
363 throw new UnsupportedError("Cannot resize immutable List."); 359 throw new UnsupportedError("Cannot resize immutable List.");
364 } 360 }
365 361
366 void clear() { 362 void clear() {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 @SupportedBrowser(SupportedBrowser.SAFARI) 496 @SupportedBrowser(SupportedBrowser.SAFARI)
501 @Experimental 497 @Experimental
502 class SqlTransactionSync extends NativeFieldWrapperClass1 { 498 class SqlTransactionSync extends NativeFieldWrapperClass1 {
503 SqlTransactionSync.internal(); 499 SqlTransactionSync.internal();
504 500
505 @DomName('SQLTransactionSync.executeSql') 501 @DomName('SQLTransactionSync.executeSql')
506 @DocsEditable 502 @DocsEditable
507 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa ctionSync_executeSql_Callback"; 503 SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransa ctionSync_executeSql_Callback";
508 504
509 } 505 }
OLDNEW
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698