| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |