mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb: Implement Trusted Types for HTMLIFrameElement#srcdoc
This commit is contained in:
Notes:
github-actions[bot]
2025-11-06 16:46:21 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/d211df81185 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6632 Reviewed-by: https://github.com/AtkinsSJ
@@ -1,6 +1,7 @@
|
||||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/Scripting/Fetching.idl>
|
||||
#import <DOM/Document.idl>
|
||||
#import <TrustedTypes/TrustedHTML.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
|
||||
[Exposed=Window]
|
||||
@@ -9,7 +10,7 @@ interface HTMLIFrameElement : HTMLElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect, URL] attribute USVString src;
|
||||
[CEReactions, Reflect] attribute DOMString srcdoc;
|
||||
[CEReactions] attribute (TrustedHTML or Utf16DOMString) srcdoc;
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
|
||||
[CEReactions, Reflect] attribute DOMString allow;
|
||||
|
||||
Reference in New Issue
Block a user