套接字的Chrome API现在无法使用。
我有以下清单:
{
"name": "My name",
"version": "0.1",
"manifest_version": 2,
"background": {
"page": "background.html"
},
"browser_action": {
"default_icon": "ico16.png",
"default_title": "My extension",
"default_popup": "popup.html"
},
"description": "bla bla bla",
"minimum_chrome_version": "23",
"icons": {
"ico128": "ico128.png",
"ico16": "ico16.png",
"icon_logo": "icon_logo.png"
},
"options_page": "options.html",
"permissions": ["experimental",
{"socket": [
"udp-send-to"
]},
"notifications",
"background"]
}
但是在加载扩展程序后显示以下警告:
指定的包类型(主题,应用等)不允许'socket'。
我已经测试了版本 23.0.1246.0 canary和23.0.1246.0 dev-m