Re: HTML 5.1 MediaProvider and File objects

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 Sunday, 5 July 2015 03:33:26 UTC