[Bug 26517] Methods that return promises are unable to throw exceptions


Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
                 CC|                            |jonas@sicking.cc

--- Comment #10 from Jonas Sicking <jonas@sicking.cc> ---
>    interface Whatever { };
>    typedef (Promise<Foo> or Whatever) PromiseFoo;
>    PromiseFoo bar();

As an implementer, I certainly have no interest in implementing something like
this. We should come to an agreement of what best practice is, encode that into
WebIDL, and then stick to it.

If every spec editor spec their own personal favorite API patterns then we'll
get neither consistency nor quality in the web platform.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 5 August 2014 22:24:32 UTC