W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

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

From: Charles McCathie Nevile <chaals@yandex-team.ru>
Date: Tue, 29 Jan 2013 14:36:48 +0100
To: olli@pettay.fi, "Anne van Kesteren" <annevk@annevk.nl>
Message-ID: <op.wrodfmsxy3oazb@chaals.local>
Cc: WHATWG <whatwg@whatwg.org>, Elliott Sprehn <esprehn@gmail.com>
On Tue, 29 Jan 2013 11:28:01 +0100, Anne van Kesteren <annevk@annevk.nl>  

> 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?


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT