diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-21 15:16:52 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-21 15:16:52 (GMT) |
commit | bd45c688b3d3aad5d62b85457ce943eaadf989ae (patch) | |
tree | 831d54da85c85f3e998be70241f8ffc3fed7f924 /contrib/dom/idl | |
parent | a52fb3364968e31a1a15c85ac45b68d9f531687b (diff) | |
download | uscxml-bd45c688b3d3aad5d62b85457ce943eaadf989ae.zip uscxml-bd45c688b3d3aad5d62b85457ce943eaadf989ae.tar.gz uscxml-bd45c688b3d3aad5d62b85457ce943eaadf989ae.tar.bz2 |
Added WebStorage object to document
Some refinements to DotWriter
Diffstat (limited to 'contrib/dom/idl')
-rw-r--r-- | contrib/dom/idl/Document.idl | 2 | ||||
-rw-r--r-- | contrib/dom/idl/Storage.idl | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/contrib/dom/idl/Document.idl b/contrib/dom/idl/Document.idl index 7399921..56035b0 100644 --- a/contrib/dom/idl/Document.idl +++ b/contrib/dom/idl/Document.idl @@ -46,4 +46,6 @@ interface Document : Node { // in unsigned short type, // in XPathResult inResult) raises(DOMException); + [CustomGetter] readonly attribute Storage localStorage; + }; diff --git a/contrib/dom/idl/Storage.idl b/contrib/dom/idl/Storage.idl new file mode 100644 index 0000000..e709184 --- /dev/null +++ b/contrib/dom/idl/Storage.idl @@ -0,0 +1,8 @@ +[DontDestroyWrapped] interface Storage { + readonly attribute unsigned long length; + DOMString key(unsigned long index); + getter DOMString getItem(DOMString key); + setter creator void setItem(DOMString key, DOMString value); + deleter void removeItem(DOMString key); + void clear(); +}; |