ErrorEvent.idl 597 B

123456789101112131415161718192021
  1. #import <DOM/Event.idl>
  2. // https://html.spec.whatwg.org/#errorevent
  3. [Exposed=(Window,Worker)]
  4. interface ErrorEvent : Event {
  5. constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
  6. readonly attribute DOMString message;
  7. readonly attribute USVString filename;
  8. readonly attribute unsigned long lineno;
  9. readonly attribute unsigned long colno;
  10. readonly attribute any error;
  11. };
  12. dictionary ErrorEventInit : EventInit {
  13. DOMString message = "";
  14. USVString filename = "";
  15. unsigned long lineno = 0;
  16. unsigned long colno = 0;
  17. any error = null;
  18. };