【发布时间】:2013-10-31 17:25:04
【问题描述】:
我的清单具有以下权限行:
"permissions": ["https://api.vineapp.com/*", "storage", "webRequest","http://platform.vine.co/*", "background","*://davine.co/*", "notifications"]
我已开始将我的应用上传并发布到 Chrome 网上应用店,但它返回以下错误,
An error occurred: Failed to process your item.
The field permissions.https://api.vineapp.com/* is not allowed in manifest.
The field permissions.http://platform.vine.co/* is not allowed in manifest.
The field permissions.*://davine.co/* is not allowed in manifest.
但 Chrome 应用程序文档中明确指出,您计划向其发出 ajax/xhr 请求的任何域都应在清单的权限中说明。我尝试从我的清单中删除它们并再次上传,它通过了,但我得到了大量的 CORS 错误,并且我的应用被禁止发出请求。
【问题讨论】:
标签: google-chrome google-chrome-app chrome-web-store