问题
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?
回答1:
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.
回答2:
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:
来源:https://stackoverflow.com/questions/23560090/is-the-fileapi-in-html5-dead