HTMLScriptElement.idl 1.1 KB

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