| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 } | 171 } |
| 172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 173 // for details. All rights reserved. Use of this source code is governed by a | 173 // for details. All rights reserved. Use of this source code is governed by a |
| 174 // BSD-style license that can be found in the LICENSE file. | 174 // BSD-style license that can be found in the LICENSE file. |
| 175 | 175 |
| 176 // WARNING: Do not edit - generated code. | 176 // WARNING: Do not edit - generated code. |
| 177 | 177 |
| 178 | 178 |
| 179 @DocsEditable() | 179 @DocsEditable() |
| 180 @DomName('SQLException') | |
| 181 // http://www.w3.org/TR/webdatabase/#sqlexception | |
| 182 @Experimental() // deprecated | |
| 183 class SqlException extends NativeFieldWrapperClass1 { | |
| 184 | |
| 185 @DomName('SQLException.CONSTRAINT_ERR') | |
| 186 @DocsEditable() | |
| 187 static const int CONSTRAINT_ERR = 6; | |
| 188 | |
| 189 @DomName('SQLException.DATABASE_ERR') | |
| 190 @DocsEditable() | |
| 191 static const int DATABASE_ERR = 1; | |
| 192 | |
| 193 @DomName('SQLException.QUOTA_ERR') | |
| 194 @DocsEditable() | |
| 195 static const int QUOTA_ERR = 4; | |
| 196 | |
| 197 @DomName('SQLException.SYNTAX_ERR') | |
| 198 @DocsEditable() | |
| 199 static const int SYNTAX_ERR = 5; | |
| 200 | |
| 201 @DomName('SQLException.TIMEOUT_ERR') | |
| 202 @DocsEditable() | |
| 203 static const int TIMEOUT_ERR = 7; | |
| 204 | |
| 205 @DomName('SQLException.TOO_LARGE_ERR') | |
| 206 @DocsEditable() | |
| 207 static const int TOO_LARGE_ERR = 3; | |
| 208 | |
| 209 @DomName('SQLException.UNKNOWN_ERR') | |
| 210 @DocsEditable() | |
| 211 static const int UNKNOWN_ERR = 0; | |
| 212 | |
| 213 @DomName('SQLException.VERSION_ERR') | |
| 214 @DocsEditable() | |
| 215 static const int VERSION_ERR = 2; | |
| 216 | |
| 217 @DomName('SQLException.code') | |
| 218 @DocsEditable() | |
| 219 int get code native "SQLException_code_Getter"; | |
| 220 | |
| 221 @DomName('SQLException.message') | |
| 222 @DocsEditable() | |
| 223 String get message native "SQLException_message_Getter"; | |
| 224 | |
| 225 } | |
| 226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 227 // for details. All rights reserved. Use of this source code is governed by a | |
| 228 // BSD-style license that can be found in the LICENSE file. | |
| 229 | |
| 230 // WARNING: Do not edit - generated code. | |
| 231 | |
| 232 | |
| 233 @DocsEditable() | |
| 234 @DomName('SQLResultSet') | 180 @DomName('SQLResultSet') |
| 235 // http://www.w3.org/TR/webdatabase/#sqlresultset | 181 // http://www.w3.org/TR/webdatabase/#sqlresultset |
| 236 @Experimental() // deprecated | 182 @Experimental() // deprecated |
| 237 class SqlResultSet extends NativeFieldWrapperClass1 { | 183 class SqlResultSet extends NativeFieldWrapperClass1 { |
| 238 | 184 |
| 239 @DomName('SQLResultSet.insertId') | 185 @DomName('SQLResultSet.insertId') |
| 240 @DocsEditable() | 186 @DocsEditable() |
| 241 int get insertId native "SQLResultSet_insertId_Getter"; | 187 int get insertId native "SQLResultSet_insertId_Getter"; |
| 242 | 188 |
| 243 @DomName('SQLResultSet.rows') | 189 @DomName('SQLResultSet.rows') |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 @DocsEditable() | 293 @DocsEditable() |
| 348 @DomName('SQLTransactionSync') | 294 @DomName('SQLTransactionSync') |
| 349 @SupportedBrowser(SupportedBrowser.CHROME) | 295 @SupportedBrowser(SupportedBrowser.CHROME) |
| 350 @SupportedBrowser(SupportedBrowser.SAFARI) | 296 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 351 @Experimental() | 297 @Experimental() |
| 352 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | 298 // http://www.w3.org/TR/webdatabase/#sqltransactionsync |
| 353 @Experimental() // deprecated | 299 @Experimental() // deprecated |
| 354 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 300 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
| 355 | 301 |
| 356 } | 302 } |
| OLD | NEW |