| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 module storage { | 26 module storage { |
| 27 | 27 |
| 28 interface [ | 28 interface [ |
| 29 Conditional=INDEXED_DATABASE | 29 Conditional=INDEXED_DATABASE |
| 30 ] IDBFactory { | 30 ] IDBFactory { |
| 31 [CallWith=ScriptExecutionContext, ImplementedAs=getDatabaseNames] IDBReq
uest webkitGetDatabaseNames(); | 31 [CallWith=ScriptExecutionContext, ImplementedAs=getDatabaseNames] IDBReq
uest webkitGetDatabaseNames(); |
| 32 | 32 // FIXME: Make this [EnforceRange] unsigned long long once webkit.org/b/
96798 lands. |
| 33 [CallWith=ScriptExecutionContext] IDBOpenDBRequest open(in DOMString nam
e, in [Optional] unsigned long long version) | 33 [CallWith=ScriptExecutionContext] IDBOpenDBRequest open(in DOMString nam
e, in [Optional] long long version) |
| 34 raises (IDBDatabaseException); | 34 raises (IDBDatabaseException); |
| 35 [CallWith=ScriptExecutionContext] IDBVersionChangeRequest deleteDatabase
(in DOMString name) | 35 [CallWith=ScriptExecutionContext] IDBVersionChangeRequest deleteDatabase
(in DOMString name) |
| 36 raises (IDBDatabaseException); | 36 raises (IDBDatabaseException); |
| 37 | 37 |
| 38 short cmp(in IDBKey first, in IDBKey second) | 38 short cmp(in IDBKey first, in IDBKey second) |
| 39 raises (IDBDatabaseException); | 39 raises (IDBDatabaseException); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } | 42 } |
| OLD | NEW |