mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
LibWeb: Add IDBKeyRange
This commit is contained in:
parent
20a92a81c4
commit
48fae7b64f
Notes:
github-actions[bot]
2024-11-26 13:52:44 +00:00
Author: https://github.com/stelar7
Commit: 48fae7b64f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2236
Reviewed-by: https://github.com/gmta ✅
8 changed files with 80 additions and 0 deletions
14
Libraries/LibWeb/IndexedDB/IDBKeyRange.idl
Normal file
14
Libraries/LibWeb/IndexedDB/IDBKeyRange.idl
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
interface IDBKeyRange {
|
||||
[FIXME] readonly attribute any lower;
|
||||
[FIXME] readonly attribute any upper;
|
||||
[FIXME] readonly attribute boolean lowerOpen;
|
||||
[FIXME] readonly attribute boolean upperOpen;
|
||||
|
||||
[FIXME, NewObject] static IDBKeyRange only(any value);
|
||||
[FIXME, NewObject] static IDBKeyRange lowerBound(any lower, optional boolean open = false);
|
||||
[FIXME, NewObject] static IDBKeyRange upperBound(any upper, optional boolean open = false);
|
||||
[FIXME, NewObject] static IDBKeyRange bound(any lower, any upper, optional boolean lowerOpen = false, optional boolean upperOpen = false);
|
||||
|
||||
[FIXME] boolean includes(any key);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue