Re: HTML 5.1 MediaProvider and File objects

Thank you both for clarifying this for me.

Matt

On Sat, Jul 4, 2015 at 8:36 PM Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 7/4/15 6:23 PM, Philip Jägenstedt wrote:
> > File inherits from Blob, so from the point of view of the IDL
> > MediaProvider can be a File
>
> Yep.
>
> > and an explicit "Blob or File" would
> > presumably violate Web IDL in some way.
>
> Yes, because those interfaces are not "distinguishable" in IDL terms:
> there are objects that are both a Blob and a File (to whit, any File).
>
> -Boris
>
>

Received on Monday, 6 July 2015 17:22:37 UTC