- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 20 Apr 2017 08:14:55 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 20 April 2017 15:15:37 UTC
I have mixed feelings about BeforeUnloadEvent. On the one hand, constructors are a good thing, and maybe people want it for mocking or something. On the other hand, beforeunload is a terrible event that nobody should use, so making it more "magic" by making it only browser-constructible might be nice. Given that nobody implements a constructor, I'm not sure it's worth adding one. I'm not sure where that leaves us for createEvent though. -- 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/362#issuecomment-295774000
Received on Thursday, 20 April 2017 15:15:37 UTC