[Webkit-unassigned] [Bug 271705] iOS: <input type="file" webkitdirectory> doesn't work.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 26 20:12:33 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=271705
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karlcow at apple.com
--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
webkitdirectory was implemented in Gecko (Firefox) on June 2016
https://bugzilla.mozilla.org/show_bug.cgi?id=1258489
This was implemented for compatibility reasons with *Chrome* (when Chrome was using webkit) for websites like mega.nz in the past.
There was at the time a spec issue opened on the compat spec.
https://github.com/whatwg/compat/issues/54
It was eventually added to the File and Directory Entries API, Draft Community Group Report, which is not on the W3C standard track
https://wicg.github.io/entries-api/#html-forms
The document is clear
> NOTE: The APIs described by this document was initially implemented in Google Chrome. Other browsers (at this time: Edge, Firefox and Safari) are starting to support subsets of Chrome’s APIs and behavior. The intent of this document is to specify the common subset to ensure that the implementations are interoperable.
This is also in WebKit code.
https://searchfox.org/mozilla-central/rev/fb2ad9ca7150890da5cadc458acdd10c87fd9a12/dom/html/HTMLInputElement.h#712-714
In addition to Safari on iOS (this bug), note that this is not available on Firefox Android.
I don't remember seeing anything recently about spec work around directly uploads.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240327/f0e028a0/attachment.htm>
More information about the webkit-unassigned
mailing list