W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 05 Aug 2014 22:24:31 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26517-3890-48b3ReWypg@http.www.w3.org/Bugs/Public/>

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

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