mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb/HTML: Update HTMLScriptElement.idl to match current spec
Corresponds to e21d9ff0d6
As far as I can tell, none of the rest of this change requires
modifications on our end.
This commit is contained in:
parent
0cfa243baa
commit
5c365884dd
Notes:
github-actions[bot]
2025-07-08 16:10:08 +00:00
Author: https://github.com/AtkinsSJ
Commit: 5c365884dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5353
Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 6 additions and 7 deletions
|
@ -5,20 +5,20 @@
|
||||||
// https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
|
// https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface HTMLScriptElement : HTMLElement {
|
interface HTMLScriptElement : HTMLElement {
|
||||||
|
|
||||||
[HTMLConstructor] constructor();
|
[HTMLConstructor] constructor();
|
||||||
|
|
||||||
[CEReactions, Reflect, URL] attribute USVString src;
|
|
||||||
[CEReactions, Reflect] attribute DOMString type;
|
[CEReactions, Reflect] attribute DOMString type;
|
||||||
|
[CEReactions, Reflect, URL] attribute USVString src;
|
||||||
[CEReactions, Reflect=nomodule] attribute boolean noModule;
|
[CEReactions, Reflect=nomodule] attribute boolean noModule;
|
||||||
[CEReactions] attribute boolean async;
|
[CEReactions] attribute boolean async;
|
||||||
[CEReactions, Reflect] attribute boolean defer;
|
[CEReactions, Reflect] attribute boolean defer;
|
||||||
[CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
|
|
||||||
[CEReactions] attribute DOMString text;
|
|
||||||
[CEReactions, Reflect] attribute DOMString integrity;
|
|
||||||
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
|
|
||||||
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
||||||
|
[CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
|
||||||
|
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
|
||||||
|
[CEReactions, Reflect] attribute DOMString integrity;
|
||||||
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;
|
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;
|
||||||
|
|
||||||
|
[CEReactions] attribute DOMString text;
|
||||||
|
|
||||||
static boolean supports(DOMString type);
|
static boolean supports(DOMString type);
|
||||||
|
|
||||||
|
@ -26,5 +26,4 @@ interface HTMLScriptElement : HTMLElement {
|
||||||
[CEReactions, Reflect] attribute DOMString charset;
|
[CEReactions, Reflect] attribute DOMString charset;
|
||||||
[CEReactions, Reflect] attribute DOMString event;
|
[CEReactions, Reflect] attribute DOMString event;
|
||||||
[CEReactions, Reflect=for] attribute DOMString htmlFor;
|
[CEReactions, Reflect=for] attribute DOMString htmlFor;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue