1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

LibWeb: Stub out Document.cookie

We don't get/set anything, but at least scripts that access document
cookies can now progress further. :^)
This commit is contained in:
Andreas Kling 2021-03-14 16:35:28 +01:00
parent 3596c42deb
commit 36ea9fbd9e
3 changed files with 16 additions and 0 deletions

View file

@ -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);