This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In Fetch I'm trying to make what can be returned from a stream somewhat more readable by defining an alias for JSON as object. See bug 25986. However, that does not work as OR'ing with object causes a failure of sorts.
This seems similar to things like number-vs-string and whatnot. I think we should just make 'object' distinguishable from interface types and pick the interface type if it matches.
FWIW, I no longer need this functionality (not entirely sure what changed meanwhile). I'm going to close this since it's old, but if someone considers this important please raise it over at https://github.com/heycam/webidl.