我试图在chrome 31中使用HTML5文件系统API.不幸的是,我在用户授予对文件系统配额的访问权限后收到错误.
这是错误:
Error DOMError {message: "The implementation did not support the requested type of object or operation.", name: "NotSupportedError"}
我正在使用的代码:
JavaScript File System
该应用程序仅在本地进行测试(即只需使用Chrome打开html文件).
我也试过filer.js,但我得到了同样的错误.
我想你的问题可能在这里:
该应用程序仅在本地进行测试(即只需使用Chrome打开html文件).
当你在file:///协议上运行时,你没有获得与http/s:///相同的权限
如果我是你,我会尝试通过网络服务器运行它.