Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the FileAPI in HTML5 dead?

Tags:

html

fileapi

Referring to the HTML5 FileAPI in particular.

I am going through the W3C specification proposals, and from what one can read here: http://www.w3.org/TR/file-system-api/

"Work on this document has been discontinued and it should not be referenced or used as a basis for implementation."


Is the FileAPI no longer an HTML5 specification or does it mean that it's implementation details will just change?

like image 855
nicholaswmin Avatar asked May 09 '14 08:05

nicholaswmin


2 Answers

Update May 2021: There's a new effort to enable some form of file system access in browsers, the File System Access API. As of this writing it's only supported by Chromium-based browsers (including the Chromium-based Microsoft Edge). Mozilla's position (for Firefox) is "wait and see." I haven't found a position from Apple (for Safari and iOS Safari)


The File API is distinct from the File API - Directories and System.

The File API itself is not only not dead, but reasonably well-supported. (IE8 being the only significant [and happily receding] desktop browser without support.)

The Directories and System document...

...defines an API to navigate file system hierarchies, and defines a means by which a user agent may expose sandboxed sections of a user's local filesystem to web applications. It builds on File API, which in turn built on File API: Writer, each adding a different kind of functionality.

Apparently there were issues with it and so that effort is being abandoned, probably in favor of doing something else.


...I can't seem to grasp how can browsers implement a feature and then suddenly realise they no longer want to support it

You may find this thread interesting. Basically, only Chrome ever had it. Mozilla, Apple, and Microsoft (and others) didn't want to implement it. E.g., it's not that Google decided they they didn't want it anymore, but that they never convinced the other vendors it was worth implementing. A web standard only implemented by one vendor isn't a web standard. The final nail was announced here.

like image 154
T.J. Crowder Avatar answered Nov 04 '22 18:11

T.J. Crowder


I think the FileSystem API is dead already. When I search it in the MDN web docs, I saw these:

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Also I search it in https://caniuse.com/ too, and the result is:

enter image description here

like image 28
omgdog Avatar answered Nov 04 '22 18:11

omgdog