This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13989 - Need a spec for ErrorEvent constructor
Summary: Need a spec for ErrorEvent constructor
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Web Workers (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 11:06 UTC by Kentaro Hara
Modified: 2011-09-10 04:22 UTC (History)
4 users (show)

See Also:


Attachments

Description Kentaro Hara 2011-09-01 11:06:16 UTC
Background: We are planning to make all Events constructable. For example, CustomEvent already has the spec for its constructor (http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-customevent).

We propose a spec for ErrorEvent constructor as follows:

[Constructor(DOMString type, optional ErrorEventInit eventInitDict)]
dictionary ErrorEventInit : EventInit {
    DOMString message;
    DOMString filename;
    unsigned long lineno;
}
Comment 1 Ian 'Hixie' Hickson 2011-09-10 01:27:04 UTC
Done. http://html5.org/r/6551