W3C home > Mailing lists > Public > public-html@w3.org > July 2015

Re: HTML 5.1 MediaProvider and File objects

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sat, 04 Jul 2015 23:32:56 -0400
Message-ID: <5598A568.40108@mit.edu>
To: public-html@w3.org
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:44 UTC