mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
added docstrings
added docstrings Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
f88452a98e
commit
cb8653b26c
1 changed files with 5 additions and 2 deletions
|
@ -35,14 +35,17 @@ use crate::task_source::TaskSource;
|
|||
#[dom_struct]
|
||||
pub struct IDBDatabase {
|
||||
eventtarget: EventTarget,
|
||||
/// <https://w3c.github.io/IndexedDB/#database-name>
|
||||
name: DOMString,
|
||||
/// <https://w3c.github.io/IndexedDB/#database-version>
|
||||
version: Cell<u64>,
|
||||
/// <https://w3c.github.io/IndexedDB/#object-store>
|
||||
object_store_names: DomRefCell<Vec<DOMString>>,
|
||||
|
||||
// No specification below this line
|
||||
/// <https://w3c.github.io/IndexedDB/#database-upgrade-transaction>
|
||||
upgrade_transaction: MutNullableDom<IDBTransaction>,
|
||||
|
||||
// Flags
|
||||
/// https://w3c.github.io/IndexedDB/#connection-close-pending-flag
|
||||
closing: Cell<bool>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue