W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2011

Calling click() on <input> the Gecko-style

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Tue, 22 Mar 2011 18:06:49 +0200
Message-ID: <12D77752-846D-437E-B44D-1E25F761C31F@nokia.com>
To: "public-device-apis@w3.org Group WG" <public-device-apis@w3.org>
Hi,

Now that the Firefox 4 finally shipped, it's good to note that Gecko 2.0 introduced support for calling click() on <input> elements to open the file picker. This (and its potential privacy and security implications) may be good to keep in mind while crafting APIs that hook into the <input type=file>.

Now I'm wondering if this behavior is currently covered by any spec?

https://developer.mozilla.org/en/Using_files_from_web_applications#Using_hidden_file_input_elements_using_the_click%28%29_method

-Anssi
Received on Tuesday, 22 March 2011 16:08:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:18 GMT