diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-14 16:35:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-15 21:20:33 +0100 |
commit | 36ea9fbd9eedfa76cb0e068e0b48d09918109f3c (patch) | |
tree | a74de275b74c734ddc70b82c2fdabc7f87955cd3 /Userland/Libraries/LibWeb/DOM/Document.idl | |
parent | 3596c42deb247b2eb71a4e17543e55d7ce3cd034 (diff) | |
download | serenity-36ea9fbd9eedfa76cb0e068e0b48d09918109f3c.zip |
LibWeb: Stub out Document.cookie
We don't get/set anything, but at least scripts that access document
cookies can now progress further. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Document.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.idl b/Userland/Libraries/LibWeb/DOM/Document.idl index a0c37c8a15..2886bdcd3f 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.idl +++ b/Userland/Libraries/LibWeb/DOM/Document.idl @@ -11,6 +11,8 @@ interface Document : Node { readonly attribute Window? defaultView; + attribute DOMString cookie; + Element? getElementById(DOMString id); ArrayFromVector getElementsByName(DOMString name); ArrayFromVector getElementsByTagName(DOMString tagName); |