From 1aa58b6d8c07c9bcd40d974e10b1faa592981523 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Fri, 31 May 2024 21:21:45 +0100 Subject: [PATCH] LibWeb: Implement HTMLImageElement.referrerPolicy --- Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl index 209d682d064..5885af6c9b0 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl @@ -1,3 +1,4 @@ +#import #import #import @@ -20,7 +21,7 @@ interface HTMLImageElement : HTMLElement { readonly attribute unsigned long naturalHeight; readonly attribute boolean complete; readonly attribute USVString currentSrc; - [FIXME, CEReactions] attribute DOMString referrerPolicy; + [CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy; [FIXME, CEReactions] attribute DOMString decoding; [CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading; [CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;