W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2016

[Bug 25048] consider whether an IDL attribute of type Promise<T> should catch exceptions and wrap them up as a rejected Promise like they are for operations

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Oct 2016 14:03:52 +0000
To: public-script-coord@w3.org
Message-ID: <bug-25048-3890-10Tz32arbO@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25048

--- Comment #9 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Its synchronous analogue is saying that getter.call(obj), when it fails,
> should always throw the same error.

This argument basically says to me that the basic idea of getters with Promise
return values is wacky and we should be using a method instead...  But I accept
that others disagree on this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 13 October 2016 14:04:01 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 13 October 2016 14:04:01 UTC