mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Implement Trusted Types for HTMLIFrameElement#srcdoc
This commit is contained in:
parent
0f3a9a6958
commit
d211df8118
Notes:
github-actions[bot]
2025-11-06 16:46:21 +00:00
Author: https://github.com/Lubrsi
Commit: d211df8118
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6632
Reviewed-by: https://github.com/AtkinsSJ
8 changed files with 49 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue