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

[Bug 27605] [NewObject] and Promise

From: <bugzilla@jessica.w3.org>
Date: Mon, 15 Dec 2014 05:16:30 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27605-3890-oXc1OillMH@http.www.w3.org/Bugs/Public/>

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
I think restricting [NewObject] to only things that return interface types is
just wrong.  It should be allowed if the return value is any object type. 
Specifically, any interface type, "object", a promise, an Error, a
DOMException, any buffer source type, or a union of types on which [NewObject]
is allowed.

If no one gets to this before I get back from vacation in January, I'll fix
webidl accordingly.

> For now, Fetch uses [NewObject]

Yes, please!

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 15 December 2014 05:16:32 UTC

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