> I was worried this would appear next week. :-) To me, the "accept" attribute > seems to be designed by someone who thinks that a name defines an object, > which is silly.
Where do names appear? It's designed by someone who assumes that given an object you can get meta-information about its type from the OS (which you can on sane OSes; see BeOS). > Sure, but is the overhead of examining the content worth it, particularly > since the results will be useless almost immediately. In 99.99% of cases, the file type will in fact not be changing any time soon. Let's not call things "useless" when they are at worst slightly unreliable. Realistically, in all cases I deal with, the chance of a power outage during the file upload is higher than the chance of a file being overwritten in the time while I am selecting files to upload. Perhaps the files on your system all get replaced a lot? > I think it's necessary. Mozilla (and its descendents) currently assumes it has > complete control over the machine. That's bad. Removing special cases should > also improve size and probably speed. There would be no "removing special cases" involved. File upload has to do special things with the file no matter what (prepend various headers to it), so here would be no improvement in perf or footprint of any kind involved. In fact, there would likely be a perf loss due to the extra copying and function alls. Boris -- Computer, n: A device to speed up and automate errors
