mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibWeb: Add naive support for the Document.referrer attribute
It always returns the empty string for now.
This commit is contained in:
parent
4acdea7cfe
commit
5c905acf1d
Notes:
sideshowbarker
2024-07-18 04:17:07 +09:00
Author: https://github.com/awesomekling
Commit: 5c905acf1d
3 changed files with 11 additions and 1 deletions
|
@ -964,4 +964,10 @@ bool Document::has_a_style_sheet_that_is_blocking_scripts() const
|
|||
return browsing_context()->container_document()->m_script_blocking_style_sheet_counter > 0;
|
||||
}
|
||||
|
||||
String Document::referrer() const
|
||||
{
|
||||
// FIXME: Return the document's actual referrer.
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue