Index: core/events/ErrorEvent.idl |
diff --git a/core/events/ErrorEvent.idl b/core/events/ErrorEvent.idl |
index ad122859002899c966451cb6c679891dea3cc3da..a26bac625bc44de1e3e9c7155ffe9b6ce7f617f7 100644 |
--- a/core/events/ErrorEvent.idl |
+++ b/core/events/ErrorEvent.idl |
@@ -28,13 +28,15 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/multipage/webappapis.html#the-errorevent-interface |
+ |
[ |
- EventConstructor, |
+ Constructor(DOMString type, optional ErrorEventInit eventInitDict), |
+ // TODO(philipj): Exposed=(Window,Worker) |
] interface ErrorEvent : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString message; |
- [InitializedByEventConstructor] readonly attribute DOMString filename; |
- [InitializedByEventConstructor] readonly attribute unsigned long lineno; |
- [InitializedByEventConstructor] readonly attribute unsigned long colno; |
- [Custom=Getter, InitializedByEventConstructor] readonly attribute any error; |
+ readonly attribute DOMString message; |
+ readonly attribute DOMString filename; |
+ readonly attribute unsigned long lineno; |
+ readonly attribute unsigned long colno; |
+ [Custom=Getter] readonly attribute any error; |
}; |
- |