浏览器中使用file://调试filesystem报错window.requestFileSystem : An error occured

通过 file://调试,需要在浏览器启动时添加 --allow-file-access-from-files标记,否则就会报错:
浏览器中使用file://调试filesystem报错window.requestFileSystem : An error occured_第1张图片

参考链接:

  • 浏览器支持与存储限制(请求文件系统)
  • https://www.cnblogs.com/zhaoq/p/5060902.html
  • HTML5之本地文件系统API - File System API
  • https://blog.csdn.net/salonzhou/article/details/28275713

你可能感兴趣的:(前端,file://,filesystem,error)