ErrorEvent.idl 553 B

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