| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 } | 190 } |
| 191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 192 // for details. All rights reserved. Use of this source code is governed by a | 192 // for details. All rights reserved. Use of this source code is governed by a |
| 193 // BSD-style license that can be found in the LICENSE file. | 193 // BSD-style license that can be found in the LICENSE file. |
| 194 | 194 |
| 195 | 195 |
| 196 @DocsEditable() | 196 @DocsEditable() |
| 197 @DomName('SQLResultSetRowList') | 197 @DomName('SQLResultSetRowList') |
| 198 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist | 198 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist |
| 199 @Experimental() // deprecated | 199 @Experimental() // deprecated |
| 200 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements List<Map> native "SQLResultSetRowList" { | 200 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements List native "SQLResultSetRowList" { |
| 201 | 201 |
| 202 @DomName('SQLResultSetRowList.length') | 202 @DomName('SQLResultSetRowList.length') |
| 203 @DocsEditable() | 203 @DocsEditable() |
| 204 int get length => JS("int", "#.length", this); | 204 int get length => JS("int", "#.length", this); |
| 205 | 205 |
| 206 Map operator[](int index) { | 206 Map operator[](int index) { |
| 207 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 207 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 208 index, index, length)) | 208 index, index, length)) |
| 209 throw new RangeError.range(index, 0, length); | 209 throw new RangeError.range(index, 0, length); |
| 210 return this.item(index); | 210 return this.item(index); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 284 |
| 285 @DocsEditable() | 285 @DocsEditable() |
| 286 @DomName('SQLTransactionSync') | 286 @DomName('SQLTransactionSync') |
| 287 @SupportedBrowser(SupportedBrowser.CHROME) | 287 @SupportedBrowser(SupportedBrowser.CHROME) |
| 288 @SupportedBrowser(SupportedBrowser.SAFARI) | 288 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 289 @Experimental() | 289 @Experimental() |
| 290 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 290 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 291 @Experimental() // deprecated | 291 @Experimental() // deprecated |
| 292 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { | 292 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { |
| 293 } | 293 } |
| OLD | NEW |