[xhr] "For the purposes of interaction with other algo..." (#48)

https://xhr.spec.whatwg.org/#interface-formdata

> For the purposes of interaction with other algorithms, an entry's type is "string" if its value is a string and "file" otherwise\. If an entry's type is "file", its filename is "blob" if value is not a File object, and otherwise its filename is the value of entry's value's name attribute\. 

I don't see any good reason to force 'blob' as filename here: a File can have an empty name, and a HTMLInputElement type=file, if not set, contains a blob without name. This makes an inconsistent behavior between a form submission and FormData.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/48

Received on Wednesday, 20 January 2016 17:36:50 UTC