[Bug 27605] [NewObject] and Promise

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27605

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