Re: [dom-futures] Making ProgressFuture use real events

2013-04-12 Thread Elliott Sprehn
On Wed, Apr 3, 2013 at 11:45 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Apr 3, 2013 at 10:43 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The ProgressFuture strawman at https://github.com/slightlyoff/DOMFuture/blob/master/ProgressFuture.idl augments a future with an analog of

Re: [dom-futures] Making ProgressFuture use real events

2013-04-12 Thread Anne van Kesteren
On Fri, Apr 12, 2013 at 11:43 AM, Elliott Sprehn espr...@gmail.com wrote: Sure they do, they allow future extensibility. If we had used Futures for everything from the start the world would be quite different since we couldn't add any new information to the notifications. I can't think of many

Re: [dom-futures] Making ProgressFuture use real events

2013-04-12 Thread Tab Atkins Jr.
On Fri, Apr 12, 2013 at 10:02 AM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, Apr 12, 2013 at 11:43 AM, Elliott Sprehn espr...@gmail.com wrote: Sure they do, they allow future extensibility. If we had used Futures for everything from the start the world would be quite different since we

[dom-futures] Making ProgressFuture use real events

2013-04-03 Thread Tab Atkins Jr.
The ProgressFuture strawman at https://github.com/slightlyoff/DOMFuture/blob/master/ProgressFuture.idl augments a future with an analog of progress events. Why isn't this just using actual events? That is, make ProgressFuture an eventTarget as well, which fires progress events. I'm fine with

Re: [dom-futures] Making ProgressFuture use real events

2013-04-03 Thread Jonas Sicking
On Wed, Apr 3, 2013 at 10:43 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The ProgressFuture strawman at https://github.com/slightlyoff/DOMFuture/blob/master/ProgressFuture.idl augments a future with an analog of progress events. Why isn't this just using actual events? That is, make

Re: [dom-futures] Making ProgressFuture use real events

2013-04-03 Thread Tab Atkins Jr.
On Wed, Apr 3, 2013 at 11:45 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Apr 3, 2013 at 10:43 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The ProgressFuture strawman at https://github.com/slightlyoff/DOMFuture/blob/master/ProgressFuture.idl augments a future with an analog of progress