| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 // for details. All rights reserved. Use of this source code is governed by a | 205 // for details. All rights reserved. Use of this source code is governed by a |
| 206 // BSD-style license that can be found in the LICENSE file. | 206 // BSD-style license that can be found in the LICENSE file. |
| 207 | 207 |
| 208 // WARNING: Do not edit - generated code. | 208 // WARNING: Do not edit - generated code. |
| 209 | 209 |
| 210 | 210 |
| 211 @DocsEditable() | 211 @DocsEditable() |
| 212 @DomName('SQLResultSetRowList') | 212 @DomName('SQLResultSetRowList') |
| 213 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist | 213 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist |
| 214 @Experimental() // deprecated | 214 @Experimental() // deprecated |
| 215 class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>,
ImmutableListMixin<Map> implements List { | 215 class SqlResultSetRowList extends NativeFieldWrapperClass2 with ListMixin<Map>,
ImmutableListMixin<Map> implements List<Map> { |
| 216 // To suppress missing implicit constructor warnings. | 216 // To suppress missing implicit constructor warnings. |
| 217 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported");
} | 217 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported");
} |
| 218 | 218 |
| 219 @DomName('SQLResultSetRowList.length') | 219 @DomName('SQLResultSetRowList.length') |
| 220 @DocsEditable() | 220 @DocsEditable() |
| 221 int get length native "SQLResultSetRowList_length_Getter"; | 221 int get length native "SQLResultSetRowList_length_Getter"; |
| 222 | 222 |
| 223 Map operator[](int index) { | 223 Map operator[](int index) { |
| 224 if (index < 0 || index >= length) | 224 if (index < 0 || index >= length) |
| 225 throw new RangeError.range(index, 0, length); | 225 throw new RangeError.range(index, 0, length); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 @SupportedBrowser(SupportedBrowser.CHROME) | 305 @SupportedBrowser(SupportedBrowser.CHROME) |
| 306 @SupportedBrowser(SupportedBrowser.SAFARI) | 306 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 307 @Experimental() | 307 @Experimental() |
| 308 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 308 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 309 @Experimental() // deprecated | 309 @Experimental() // deprecated |
| 310 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { | 310 abstract class _SQLTransactionSync extends NativeFieldWrapperClass2 { |
| 311 // To suppress missing implicit constructor warnings. | 311 // To suppress missing implicit constructor warnings. |
| 312 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 312 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 313 | 313 |
| 314 } | 314 } |
| OLD | NEW |