Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: correctly support the webkitdirectory input attr #18343
The implementation here was loosely inspired by the implementation in
Notes: Fixed support for the
Fixes #839 The implementation here was loosely inspired by the implentation in //chrome found in their FileSelectHelper. I.e. That's where the usage of net::DirectoryLister comes frome. Refs: https://cs.chromium.org/chromium/src/chrome/browser/file_select_helper.cc
So previously I was able to get the path of the directory selected. However with the "fixed" version I'm only able to get a list of files within that directory, how to get the directory path if there are no files inside said directory since the target.files array is empty?