WebPlatformTest / HTML5test

How well does your browser support HTML5?
https://html5test.com
MIT License
995 stars 193 forks source link

Support for webkitdirectory #492

Closed DanielHerr closed 6 years ago

DanielHerr commented 8 years ago

webkitdirectory should also be listed as the current way to access folders. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitDirectory

dstorey commented 7 years ago

This is non-standard, so I don't believe it should be in the test (no other non-standard APIs are for obvious reasons). Further more, I believe all non-Webkit/blink browsers (specifically Edge and Firefox) had to implement it for interop reasons anyway, so adding it wouldn't have an impact.

fbender commented 7 years ago

This is related to #305. Here's a discussion on the confusing status of the various FileSystem API(s): w3c/filesystem-api#8

What has been implemented and is available in most major engines by now is the File and Directory Entries API, which ultimately superseded the Directory Upload proposal from Microsoft. So from my PoV it makes sense to test for the Entries API, however no points should be allocated since it uses vendor-specific names and is thus poised to be superseded by a more comprehensive API (e.g. FileSystem API) and/or to be included (at least in parts) into the HTML spec. Whenever that happens.

NielsLeenheer commented 6 years ago

Decided not to add webkitdirectory, waiting for consensus between browsers.