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

On 29 January 2013 05:36, Charles McCathie Nevile <chaals@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?

Received on Tuesday, 29 January 2013 15:38:39 UTC