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

LibWeb: Add naive support for the Document.referrer attribute

It always returns the empty string for now.
This commit is contained in:
Andreas Kling 2021-09-11 12:29:06 +02:00
parent 4acdea7cfe
commit 5c905acf1d
3 changed files with 11 additions and 1 deletions

View file

@ -13,6 +13,8 @@ interface Document : Node {
attribute DOMString cookie;
readonly attribute USVString referrer;
Element? getElementById(DOMString id);
HTMLCollection getElementsByName(DOMString name);
HTMLCollection getElementsByTagName(DOMString tagName);