| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // BSD-style license that can be found in the LICENSE file. | 107 // BSD-style license that can be found in the LICENSE file. |
| 108 | 108 |
| 109 // WARNING: Do not edit - generated code. | 109 // WARNING: Do not edit - generated code. |
| 110 | 110 |
| 111 | 111 |
| 112 @DocsEditable | 112 @DocsEditable |
| 113 @DomName('SQLError') | 113 @DomName('SQLError') |
| 114 class SqlError extends NativeFieldWrapperClass1 { | 114 class SqlError extends NativeFieldWrapperClass1 { |
| 115 SqlError.internal(); | 115 SqlError.internal(); |
| 116 | 116 |
| 117 @DomName('SQLError.CONSTRAINT_ERR') |
| 118 @DocsEditable |
| 117 static const int CONSTRAINT_ERR = 6; | 119 static const int CONSTRAINT_ERR = 6; |
| 118 | 120 |
| 121 @DomName('SQLError.DATABASE_ERR') |
| 122 @DocsEditable |
| 119 static const int DATABASE_ERR = 1; | 123 static const int DATABASE_ERR = 1; |
| 120 | 124 |
| 125 @DomName('SQLError.QUOTA_ERR') |
| 126 @DocsEditable |
| 121 static const int QUOTA_ERR = 4; | 127 static const int QUOTA_ERR = 4; |
| 122 | 128 |
| 129 @DomName('SQLError.SYNTAX_ERR') |
| 130 @DocsEditable |
| 123 static const int SYNTAX_ERR = 5; | 131 static const int SYNTAX_ERR = 5; |
| 124 | 132 |
| 133 @DomName('SQLError.TIMEOUT_ERR') |
| 134 @DocsEditable |
| 125 static const int TIMEOUT_ERR = 7; | 135 static const int TIMEOUT_ERR = 7; |
| 126 | 136 |
| 137 @DomName('SQLError.TOO_LARGE_ERR') |
| 138 @DocsEditable |
| 127 static const int TOO_LARGE_ERR = 3; | 139 static const int TOO_LARGE_ERR = 3; |
| 128 | 140 |
| 141 @DomName('SQLError.UNKNOWN_ERR') |
| 142 @DocsEditable |
| 129 static const int UNKNOWN_ERR = 0; | 143 static const int UNKNOWN_ERR = 0; |
| 130 | 144 |
| 145 @DomName('SQLError.VERSION_ERR') |
| 146 @DocsEditable |
| 131 static const int VERSION_ERR = 2; | 147 static const int VERSION_ERR = 2; |
| 132 | 148 |
| 133 @DomName('SQLError.code') | 149 @DomName('SQLError.code') |
| 134 @DocsEditable | 150 @DocsEditable |
| 135 int get code native "SQLError_code_Getter"; | 151 int get code native "SQLError_code_Getter"; |
| 136 | 152 |
| 137 @DomName('SQLError.message') | 153 @DomName('SQLError.message') |
| 138 @DocsEditable | 154 @DocsEditable |
| 139 String get message native "SQLError_message_Getter"; | 155 String get message native "SQLError_message_Getter"; |
| 140 | 156 |
| 141 } | 157 } |
| 142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 143 // for details. All rights reserved. Use of this source code is governed by a | 159 // for details. All rights reserved. Use of this source code is governed by a |
| 144 // BSD-style license that can be found in the LICENSE file. | 160 // BSD-style license that can be found in the LICENSE file. |
| 145 | 161 |
| 146 // WARNING: Do not edit - generated code. | 162 // WARNING: Do not edit - generated code. |
| 147 | 163 |
| 148 | 164 |
| 149 @DocsEditable | 165 @DocsEditable |
| 150 @DomName('SQLException') | 166 @DomName('SQLException') |
| 151 class SqlException extends NativeFieldWrapperClass1 { | 167 class SqlException extends NativeFieldWrapperClass1 { |
| 152 SqlException.internal(); | 168 SqlException.internal(); |
| 153 | 169 |
| 170 @DomName('SQLException.CONSTRAINT_ERR') |
| 171 @DocsEditable |
| 154 static const int CONSTRAINT_ERR = 6; | 172 static const int CONSTRAINT_ERR = 6; |
| 155 | 173 |
| 174 @DomName('SQLException.DATABASE_ERR') |
| 175 @DocsEditable |
| 156 static const int DATABASE_ERR = 1; | 176 static const int DATABASE_ERR = 1; |
| 157 | 177 |
| 178 @DomName('SQLException.QUOTA_ERR') |
| 179 @DocsEditable |
| 158 static const int QUOTA_ERR = 4; | 180 static const int QUOTA_ERR = 4; |
| 159 | 181 |
| 182 @DomName('SQLException.SYNTAX_ERR') |
| 183 @DocsEditable |
| 160 static const int SYNTAX_ERR = 5; | 184 static const int SYNTAX_ERR = 5; |
| 161 | 185 |
| 186 @DomName('SQLException.TIMEOUT_ERR') |
| 187 @DocsEditable |
| 162 static const int TIMEOUT_ERR = 7; | 188 static const int TIMEOUT_ERR = 7; |
| 163 | 189 |
| 190 @DomName('SQLException.TOO_LARGE_ERR') |
| 191 @DocsEditable |
| 164 static const int TOO_LARGE_ERR = 3; | 192 static const int TOO_LARGE_ERR = 3; |
| 165 | 193 |
| 194 @DomName('SQLException.UNKNOWN_ERR') |
| 195 @DocsEditable |
| 166 static const int UNKNOWN_ERR = 0; | 196 static const int UNKNOWN_ERR = 0; |
| 167 | 197 |
| 198 @DomName('SQLException.VERSION_ERR') |
| 199 @DocsEditable |
| 168 static const int VERSION_ERR = 2; | 200 static const int VERSION_ERR = 2; |
| 169 | 201 |
| 170 @DomName('SQLException.code') | 202 @DomName('SQLException.code') |
| 171 @DocsEditable | 203 @DocsEditable |
| 172 int get code native "SQLException_code_Getter"; | 204 int get code native "SQLException_code_Getter"; |
| 173 | 205 |
| 174 @DomName('SQLException.message') | 206 @DomName('SQLException.message') |
| 175 @DocsEditable | 207 @DocsEditable |
| 176 String get message native "SQLException_message_Getter"; | 208 String get message native "SQLException_message_Getter"; |
| 177 | 209 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 298 |
| 267 @DocsEditable | 299 @DocsEditable |
| 268 @DomName('SQLTransactionSync') | 300 @DomName('SQLTransactionSync') |
| 269 @SupportedBrowser(SupportedBrowser.CHROME) | 301 @SupportedBrowser(SupportedBrowser.CHROME) |
| 270 @SupportedBrowser(SupportedBrowser.SAFARI) | 302 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 271 @Experimental | 303 @Experimental |
| 272 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 304 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
| 273 _SQLTransactionSync.internal(); | 305 _SQLTransactionSync.internal(); |
| 274 | 306 |
| 275 } | 307 } |
| OLD | NEW |