MS has a proposal for a minimal set of functionality to support directory picking via <input> and to support directory drag and drop.

  https://microsoftedge.github.io/directory-upload/proposal.html

This spec is a work in progress but we now have an implementation for platforms that have a native directory picker (desktop) landed and turned on in Nightly only (the boolean pref is dom.input.dirpicker). The bug for keeping pace with spec changes and eventually shipping is:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1188880

Currently we're waiting for MS to officially take their proposal to one of the W3C groups, probably either one of:

  https://lists.w3.org/Archives/Public/public-webapps/
  https://lists.w3.org/Archives/Public/public-wicg/

Once that happens my expectation is that the proposal will change as feedback comes in. Once things look stable enough to ship I'll send out an intent to ship.

For those who are interested I have a test page that demonstrates the API at:

  https://jwatt.org/tmp/directory.html

If you file any bugs please CC me and mark them as blocking bug 1188880.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to