| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 [ | 36 [ |
| 37 ActiveDOMObject, | 37 ActiveDOMObject, |
| 38 GarbageCollected, | 38 GarbageCollected, |
| 39 ] interface IDBDatabase : EventTarget { | 39 ] interface IDBDatabase : EventTarget { |
| 40 readonly attribute DOMString name; | 40 readonly attribute DOMString name; |
| 41 [CallWith=ScriptState] readonly attribute any version; | 41 [CallWith=ScriptState] readonly attribute any version; |
| 42 readonly attribute DOMStringList objectStoreNames; | 42 readonly attribute DOMStringList objectStoreNames; |
| 43 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional
Dictionary options); | 43 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional
Dictionary options); |
| 44 [RaisesException] void deleteObjectStore(DOMString name); | 44 [RaisesException] void deleteObjectStore(DOMString name); |
| 45 // FIXME: should be union type http://crbug.com/240176 | 45 // FIXME: should be union type http://crbug.com/240176 |
| 46 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS
tring storeName, optional IDBTransactionMode mode = "readonly"); | 46 [CallWith=ScriptState, RaisesException] IDBTransaction transaction(DOMString
storeName, optional IDBTransactionMode mode = "readonly"); |
| 47 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequ
ence<DOMString> storeNames, optional IDBTransactionMode mode = "readonly"); | 47 [CallWith=ScriptState, RaisesException] IDBTransaction transaction(sequence<
DOMString> storeNames, optional IDBTransactionMode mode = "readonly"); |
| 48 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS
tringList storeNames, optional IDBTransactionMode mode = "readonly"); | 48 [CallWith=ScriptState, RaisesException] IDBTransaction transaction(DOMString
List storeNames, optional IDBTransactionMode mode = "readonly"); |
| 49 void close(); | 49 void close(); |
| 50 attribute EventHandler onabort; | 50 attribute EventHandler onabort; |
| 51 attribute EventHandler onclose; | 51 attribute EventHandler onclose; |
| 52 attribute EventHandler onerror; | 52 attribute EventHandler onerror; |
| 53 attribute EventHandler onversionchange; | 53 attribute EventHandler onversionchange; |
| 54 }; | 54 }; |
| OLD | NEW |