Re: Directory Upload

Thanks for the status update, Ali! And kudos for the transparency around
your plans for the prefixed APIs.

Re: the new directory upload proposal [1]

It looks like there's some recent discussion [2] by Moz folks about moving
forward with implementation. On the Chrome side, we're definitely eager to
hear about implementer experience and developer feedback on the proposed
API. We'd love to start the work to deprecate Chrome's prefixed APIs once
we've got a good path forward charted.

For those who are looking to check some boxes: you can cite this as
"positive signals" from Chrome, although we have no commitment to implement
at this time.

[1] https://wicg.github.io/directory-upload/proposal.html
[2]
https://groups.google.com/forum/#!msg/mozilla.dev.platform/Q3BLd4Cwj6Q/HYwoASlJBgAJ

On Thu, Sep 3, 2015 at 12:01 PM, Ali Alabbas <alia@microsoft.com> wrote:

> Hello WebApps WG and Incubator CG members,
>
> As you may know, we (Microsoft) have been collaborating with Mozilla on
> evolving the new directory upload proposal [1]. It has recently been added
> to the Incubator Community Group and we are looking forward to have
> everyone get involved with providing feedback on this initial proposal. If
> you haven't already made a first-pass read of the spec, I invite you to
> take some time to do that as it is a relatively short document that we are
> trying to get some more eyes on.
>
> As we wait for the spec to stabilize, and to solve the existing interop
> gap with Chrome with regards to directory uploads, we are implementing the
> webkitRelativePath property for the File interface and webkitdirectory
> attribute for the input tag [2]. This allows sites to show a directory
> picker and to identify the relative file structure of the directory a user
> selects.
>
> Supporting webkit-prefixed properties is not an endorsement of the old way
> of doing it - it is an interop realization. For this reason, we will
> consider the webkit-prefixed API as deprecated in Microsoft Edge (as we do
> with other webkit-prefixed APIs we support for compatibility). The old API
> is synchronous and doesn't provide a natural way of traversing directories.
> That is why we are working closely with Mozilla and encouraging everyone in
> the community to look into the directory upload proposal and to provide
> feedback.
>
> Thank you,
> Ali
>
> [1] https://wicg.github.io/directory-upload/proposal.html
> [2]
> https://dev.modern.ie/platform/status/webkitdirectoryandwebkitrelativepath
> [3] https://dev.modern.ie/platform/status/directoryupload/
>
>
>

Received on Wednesday, 23 September 2015 20:09:50 UTC