mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
comment out unimplemented methods
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
ddb5145f4e
commit
c99252de82
2 changed files with 36 additions and 36 deletions
|
@ -509,29 +509,29 @@ impl IDBObjectStoreMethods<crate::DomTypeHolder> for IDBObjectStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getkey
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getkey
|
||||||
fn GetKey(&self, _cx: SafeJSContext, _query: HandleValue) -> DomRoot<IDBRequest> {
|
// fn GetKey(&self, _cx: SafeJSContext, _query: HandleValue) -> DomRoot<IDBRequest> {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getall
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getall
|
||||||
fn GetAll(
|
// fn GetAll(
|
||||||
&self,
|
// &self,
|
||||||
_cx: SafeJSContext,
|
// _cx: SafeJSContext,
|
||||||
_query: HandleValue,
|
// _query: HandleValue,
|
||||||
_count: Option<u32>,
|
// _count: Option<u32>,
|
||||||
) -> DomRoot<IDBRequest> {
|
// ) -> DomRoot<IDBRequest> {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getallkeys
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-getallkeys
|
||||||
fn GetAllKeys(
|
// fn GetAllKeys(
|
||||||
&self,
|
// &self,
|
||||||
_cx: SafeJSContext,
|
// _cx: SafeJSContext,
|
||||||
_query: HandleValue,
|
// _query: HandleValue,
|
||||||
_count: Option<u32>,
|
// _count: Option<u32>,
|
||||||
) -> DomRoot<IDBRequest> {
|
// ) -> DomRoot<IDBRequest> {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-count
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-count
|
||||||
fn Count(&self, cx: SafeJSContext, query: HandleValue) -> Fallible<DomRoot<IDBRequest>> {
|
fn Count(&self, cx: SafeJSContext, query: HandleValue) -> Fallible<DomRoot<IDBRequest>> {
|
||||||
|
@ -571,19 +571,19 @@ impl IDBObjectStoreMethods<crate::DomTypeHolder> for IDBObjectStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-keypath
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-keypath
|
||||||
fn KeyPath(&self, _cx: SafeJSContext, _val: MutableHandleValue) {
|
// fn KeyPath(&self, _cx: SafeJSContext, _val: MutableHandleValue) {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-indexnames
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-indexnames
|
||||||
fn IndexNames(&self) -> DomRoot<DOMStringList> {
|
// fn IndexNames(&self) -> DomRoot<DOMStringList> {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-transaction
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-transaction
|
||||||
fn Transaction(&self) -> DomRoot<IDBTransaction> {
|
// fn Transaction(&self) -> DomRoot<IDBTransaction> {
|
||||||
unimplemented!();
|
// unimplemented!();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-autoincrement
|
// https://www.w3.org/TR/IndexedDB-2/#dom-idbobjectstore-autoincrement
|
||||||
fn AutoIncrement(&self) -> bool {
|
fn AutoIncrement(&self) -> bool {
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
[Pref="dom_indexeddb_enabled", Exposed=(Window,Worker)]
|
[Pref="dom_indexeddb_enabled", Exposed=(Window,Worker)]
|
||||||
interface IDBObjectStore {
|
interface IDBObjectStore {
|
||||||
attribute DOMString name;
|
attribute DOMString name;
|
||||||
readonly attribute any keyPath;
|
// readonly attribute any keyPath;
|
||||||
readonly attribute DOMStringList indexNames;
|
// readonly attribute DOMStringList indexNames;
|
||||||
[SameObject] readonly attribute IDBTransaction transaction;
|
// [SameObject] readonly attribute IDBTransaction transaction;
|
||||||
readonly attribute boolean autoIncrement;
|
readonly attribute boolean autoIncrement;
|
||||||
|
|
||||||
[NewObject, Throws] IDBRequest put(any value, optional any key);
|
[NewObject, Throws] IDBRequest put(any value, optional any key);
|
||||||
|
@ -21,11 +21,11 @@ interface IDBObjectStore {
|
||||||
[NewObject, Throws] IDBRequest delete(any query);
|
[NewObject, Throws] IDBRequest delete(any query);
|
||||||
[NewObject, Throws] IDBRequest clear();
|
[NewObject, Throws] IDBRequest clear();
|
||||||
[NewObject, Throws] IDBRequest get(any query);
|
[NewObject, Throws] IDBRequest get(any query);
|
||||||
[NewObject] IDBRequest getKey(any query);
|
// [NewObject] IDBRequest getKey(any query);
|
||||||
[NewObject] IDBRequest getAll(optional any query,
|
// [NewObject] IDBRequest getAll(optional any query,
|
||||||
optional [EnforceRange] unsigned long count);
|
// optional [EnforceRange] unsigned long count);
|
||||||
[NewObject] IDBRequest getAllKeys(optional any query,
|
// [NewObject] IDBRequest getAllKeys(optional any query,
|
||||||
optional [EnforceRange] unsigned long count);
|
// optional [EnforceRange] unsigned long count);
|
||||||
[NewObject, Throws] IDBRequest count(optional any query);
|
[NewObject, Throws] IDBRequest count(optional any query);
|
||||||
|
|
||||||
// [NewObject] IDBRequest openCursor(optional any query,
|
// [NewObject] IDBRequest openCursor(optional any query,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue