mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 22:49:47 +00:00
LibWeb: Extend src attribute of HTMLScriptElement with TrustedTypes
The field does no longer have the Reflect and URL attributes so we remove it from our internal unit test.
This commit is contained in:
parent
664a3b536a
commit
f65dca1b53
Notes:
github-actions[bot]
2025-09-16 08:58:57 +00:00
Author: https://github.com/tete17
Commit: f65dca1b53
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
6 changed files with 24 additions and 3 deletions
|
@ -8,7 +8,6 @@ interface HTMLScriptElement : HTMLElement {
|
|||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect] attribute DOMString type;
|
||||
[CEReactions, Reflect, URL] attribute USVString src;
|
||||
[CEReactions, Reflect=nomodule] attribute boolean noModule;
|
||||
[CEReactions] attribute boolean async;
|
||||
[CEReactions, Reflect] attribute boolean defer;
|
||||
|
@ -20,6 +19,7 @@ interface HTMLScriptElement : HTMLElement {
|
|||
|
||||
// https://www.w3.org/TR/trusted-types/#enforcement-in-scripts
|
||||
[CEReactions] attribute (TrustedScript or Utf16DOMString) text;
|
||||
[CEReactions] attribute (TrustedScriptURL or Utf16USVString) src;
|
||||
|
||||
static boolean supports(DOMString type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue