LibWeb: Implement HTMLImageElement.referrerPolicy

This commit is contained in:
Jamie Mansfield 2024-05-31 21:21:45 +01:00 committed by Andreas Kling
parent f82c727071
commit 1aa58b6d8c
Notes: sideshowbarker 2024-07-17 06:40:35 +09:00

View File

@ -1,3 +1,4 @@
#import <Fetch/Request.idl>
#import <HTML/HTMLElement.idl>
#import <HTML/Scripting/Fetching.idl>
@ -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;