mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +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:
@@ -696,4 +696,15 @@ void Document::completely_finish_loading()
|
||||
dispatch_event(DOM::Event::create(HTML::EventNames::load));
|
||||
}
|
||||
|
||||
String Document::cookie() const
|
||||
{
|
||||
// FIXME: Support cookies!
|
||||
return {};
|
||||
}
|
||||
|
||||
void Document::set_cookie(String)
|
||||
{
|
||||
// FIXME: Support cookies!
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user