W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

Re: Add extra argument to addEventListener with the context

From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 18 Jun 2012 19:06:44 -0500
Message-ID: <CABirCh_WHKV8vK05C_68xmttQHjfKedmmuULTA6f-OwQX0QSpA@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Elliott Sprehn <esprehn@gmail.com>, www-dom@w3.org
On Mon, Jun 18, 2012 at 1:15 PM, Elliott Sprehn <esprehn@gmail.com> wrote:

> Sure it would. toBlob has no concept of canceling, and setInterval and
> setTimeout both have canceling systems that require passing a numeric
> identity instead of the original arguments.

Using a completely different binding method depending on where the callback
is going would just be piling more inconsistencies onto the platform.

Glenn Maynard
Received on Tuesday, 19 June 2012 00:08:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:00 UTC