HTMLScriptElement.idl 1.2 KB

1234567891011121314151617181920212223242526272829
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/Scripting/Fetching.idl>
  3. // https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
  4. [Exposed=Window]
  5. interface HTMLScriptElement : HTMLElement {
  6. [HTMLConstructor] constructor();
  7. [CEReactions, Reflect] attribute DOMString src;
  8. [CEReactions, Reflect] attribute DOMString type;
  9. [CEReactions, Reflect=nomodule] attribute boolean noModule;
  10. // FIXME: [CEReactions] attribute boolean async;
  11. [CEReactions, Reflect] attribute boolean defer;
  12. [CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
  13. // FIXME: [CEReactions] attribute DOMString text;
  14. [CEReactions, Reflect] attribute DOMString integrity;
  15. [CEReactions, Reflect=referrerpolicy] attribute DOMString referrerPolicy;
  16. // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
  17. // FIXME: [CEReactions] attribute DOMString fetchPriority;
  18. static boolean supports(DOMString type);
  19. // Obsolete
  20. [CEReactions, Reflect] attribute DOMString charset;
  21. [CEReactions, Reflect] attribute DOMString event;
  22. [CEReactions, Reflect=for] attribute DOMString htmlFor;
  23. };