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

On Tue, 29 Jan 2013 11:28:01 +0100, Anne van Kesteren <annevk@annevk.nl>  
wrote:

> On Mon, Jan 28, 2013 at 11:41 PM, Olli Pettay <Olli.Pettay@helsinki.fi>  
> wrote:
>> WebSocket, EventSource etc ctors do have "side effects".
>
> 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?

cheers

-- 
Charles McCathie Nevile - Consultant (web standards) CTO Office, Yandex
       chaals@yandex-team.ru         Find more at http://yandex.com

Received on Tuesday, 29 January 2013 13:37:42 UTC