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

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

From: Jake Archibald <jaffathecake@gmail.com>
Date: Tue, 29 Jan 2013 07:38:13 -0800
Message-ID: <CAJ5xic_H8JMQ5SC18Sw_aswNN63P0954FpfTgwXLzi31M8A3kw@mail.gmail.com>
To: Charles McCathie Nevile <chaals@yandex-team.ru>
Cc: WHATWG <whatwg@whatwg.org>, olli@pettay.fi, Elliott Sprehn <esprehn@gmail.com>
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 GMT

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