- From: Jake Archibald <notifications@github.com>
- Date: Wed, 14 Mar 2018 13:10:51 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 March 2018 13:11:17 UTC
In Safari/Edge, it seems like `new Event()` is behaving like:
```js
class Event {
constructor() {
return Object.create(Event.prototype);
}
}
```
Which you could argue is correct according to:
> **event = new Event(type [, eventInitDict])**
> Returns a new event…
Although this is in a non-normative section. There aren't any normative steps for the event constructor.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/598#issuecomment-373015141
Received on Wednesday, 14 March 2018 13:11:17 UTC