mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
47979996e8
This is a naive-but-somewhat-functional initial implementation of HTML Storage. Note that there is no persistence yet, everything is in-process only, and one local Storage object per origin.
11 lines
308 B
Text
11 lines
308 B
Text
[Exposed=Window]
|
|
interface Storage {
|
|
|
|
readonly attribute unsigned long length;
|
|
DOMString? key(unsigned long index);
|
|
getter DOMString? getItem(DOMString key);
|
|
setter undefined setItem(DOMString key, DOMString value);
|
|
deleter undefined removeItem(DOMString key);
|
|
undefined clear();
|
|
|
|
};
|