[whatwg] [Notifications] Constructor should not have side effects

Jake Archibald jaffathecake at gmail.com
Tue Jan 29 07:38:13 PST 2013

On 29 January 2013 05:36, Charles McCathie Nevile <chaals at yandex-team.ru> wrote:
>> Exactly. And if we designed XMLHttpRequest from scratch it would have them
>> too.
> Really? This doesn't seem like a good idea, so I'd be interested to know
> why. Is there an explanation laid out somewhere?

Why doesn't it seem like a good idea? Is there a use-case for creating
a Notification/XMLHttpRequest/WebSocket/EventSource without performing
their action?

More information about the whatwg mailing list