[Bug 23479] File Constructor and Blob Constructor should have same signature

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23479

--- Comment #9 from Arun <arun@mozilla.com> ---
(In reply to Jonas Sicking from comment #8)
> One option would be to use the syntax:
> 
> new File([data], name, { options });
> 
> That way you could even wrap a named File around a Blob while forwarding all
> options by doing
> 
> myFile = new File([myBlob], "filename", myBlob);

I like this syntax the best, because I don't think name should be optional. 
This seems like what the spec. should say.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 28 October 2013 19:51:21 UTC