| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 } | 196 } |
| 197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 198 // for details. All rights reserved. Use of this source code is governed by a | 198 // for details. All rights reserved. Use of this source code is governed by a |
| 199 // BSD-style license that can be found in the LICENSE file. | 199 // BSD-style license that can be found in the LICENSE file. |
| 200 | 200 |
| 201 | 201 |
| 202 @DocsEditable() | 202 @DocsEditable() |
| 203 @DomName('SQLResultSetRowList') | 203 @DomName('SQLResultSetRowList') |
| 204 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist | 204 // http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist |
| 205 @Experimental() // deprecated | 205 @Experimental() // deprecated |
| 206 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements List native "SQLResultSetRowList" { | 206 class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
Mixin<Map> implements List<Map> native "SQLResultSetRowList" { |
| 207 // To suppress missing implicit constructor warnings. | 207 // To suppress missing implicit constructor warnings. |
| 208 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported");
} | 208 factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported");
} |
| 209 | 209 |
| 210 @DomName('SQLResultSetRowList.length') | 210 @DomName('SQLResultSetRowList.length') |
| 211 @DocsEditable() | 211 @DocsEditable() |
| 212 int get length => JS("int", "#.length", this); | 212 int get length => JS("int", "#.length", this); |
| 213 | 213 |
| 214 Map operator[](int index) { | 214 Map operator[](int index) { |
| 215 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 215 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 216 index, index, length)) | 216 index, index, length)) |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 @DomName('SQLTransactionSync') | 296 @DomName('SQLTransactionSync') |
| 297 @SupportedBrowser(SupportedBrowser.CHROME) | 297 @SupportedBrowser(SupportedBrowser.CHROME) |
| 298 @SupportedBrowser(SupportedBrowser.SAFARI) | 298 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 299 @Experimental() | 299 @Experimental() |
| 300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 300 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 301 @Experimental() // deprecated | 301 @Experimental() // deprecated |
| 302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { | 302 abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSyn
c" { |
| 303 // To suppress missing implicit constructor warnings. | 303 // To suppress missing implicit constructor warnings. |
| 304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | 304 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} |
| 305 } | 305 } |
| OLD | NEW |