Re: [heycam/webidl] Extend the dfn of object types. (#211)

Two questions for @bzbarsky so I can merge this:

1. In [your bugzilla comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=27605#c1) you say:

    > 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.

    It is not clear, from my perspective, whether "a union of types on which [NewObject] is allowed" means `(object_type or object_type)` or  `(object_type or non_object_type)` (as @annevk needs for "fetch").

2. Do we have to account for null types, especially within unions? See [my previous comment](https://github.com/heycam/webidl/pull/211#issuecomment-256619879).


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/211#issuecomment-258836118

Received on Monday, 7 November 2016 13:34:05 UTC