Re: [w3c/FileAPI] Readonly attributes without setters? (#126)

@andrew-aladev Why is the name of the `File` object or instance important? 

What does `.toNativeFile()` do? Is the context JavaScript?





If the requirement is to create a "file" that can be changed you can utilize `data URL` (`data URI`).

`let file = "data:text/plain,abc"` 

If you are _offering_ the file for download you can _suggest_ a file name, though the user can change the name of the file at any time.

You can "name" the file anything you decide to. A user can change the name of a file anytime they decide to.

Still not gathering the use case? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/126#issuecomment-480952429

Received on Monday, 8 April 2019 18:35:39 UTC