fridojet
fridojet

Reputation: 1296

Chrome API: What Happened to `chrome(.experimental).sockets`

There's documentation about chrome.sockets on http://developer.chrome.com/ , but I can't find anything concerning chrome.experimental.sockets on http://code.google.com/ any more. Dear Chromium developers, please tell me: What happened? Thanks. (I don't want to miss this wonderful API.)

Upvotes: 2

Views: 2378

Answers (1)

Rob W
Rob W

Reputation: 349142

The Socket API is only available to Packaged apps (source). This is the reason why the API is listed at the /apps/ API index, but not /extensions/.

If you try to use the API in an ordinary extension, the extension will fail to load, or be loaded with the following message:
There were warnings when trying to install this extension: 'socket' is not allowed for specified package type (theme, app, etc.).

Upvotes: 4

Related Questions