FileAPI在HTML5中死了吗?

前端之家收集整理的这篇文章主要介绍了FileAPI在HTML5中死了吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
特别提到 HTML5 FileAPI.

我正在通过W3C规范提案,
从这里可以看到: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.”

FileAPI不再是HTML5规范,还是意味着它的实现细节只会改变?

解决方法

File APIFile API – Directories and System不同.

File API本身不仅没有死机,而且还是reasonably well-supported.(IE8是唯一重要的[和快乐后退]桌面浏览器,无需支持.)

目录和系统文件

…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.

显然有问题,所以努力被放弃,可能有利于做别的事情.

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

你可能会发现this thread有趣.基本上只有Chrome才有了. Mozilla,Apple和Microsoft(和其他人)不想实现它.例如:Google决定不再需要它,但是他们从不说服其他供应商是值得实施的.仅由一个供应商实施的Web标准不是Web标准.最后的指甲是announced here.

猜你在找的HTML5相关文章