What are Mozilla Labs' Jetpack IO capabilities?

蹲街弑〆低调 提交于 2020-01-15 06:35:50

问题


Are you able to access your file-system, using Jetpack, and do operations such as creating or reading files or saving images?


回答1:


The Add-on SDK 1.0b5 (the most recent version at this moment) has a file module for this purpose. Note that it's not a high-level module, meaning it can change incompatibly in future Add-on SDK versions.

[the original answer from 2010/01] No, there's no jetpack-specific APIs for this yet, note the red link on MDC and the lack of a "JEP" about this. You're not prevented from using normal Mozilla APIs for file I/O (yet?), though.




回答2:


Sorry, Nickolay, you're wrong. See file documentation.




来源:https://stackoverflow.com/questions/2051189/what-are-mozilla-labs-jetpack-io-capabilities

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!