Re: File constructor

On Jul 16, 2013, at 8:40 AM, Anne van Kesteren wrote:

> On Mon, Jul 15, 2013 at 11:37 PM, Arun Ranganathan <arun@mozilla.com> wrote:
>> On Jul 15, 2013, at 8:01 PM, Anne van Kesteren wrote:
>>> So exposing FormData's contents came up again.
>> 
>> Can you send me a pointer to that discussion, so I can plug into it?
> 
> My bad: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22680
> 
> 
>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=20887
>> 
>> Sounds like mapping FormData to a File hasn't come up yet.
> 
> That's the third thread referenced in that bug. Seems like there's not
> much actual objections. I thought implementers had concerns.


I don't think there's actual technical objections (though at one point, I did argue for leaving File as something that held "real file objects" from the underlying file system, and exposing a name on Blob).  But I think a File constructor can be added.

-- A*

Received on Tuesday, 16 July 2013 16:43:44 UTC