author | Guillermo López <willyaranda@mozilla-hispano.org> |
Wed, 07 Nov 2012 12:06:22 -0800 | |
changeset 112602 | 2e6726f79a3b8de41d680715561c4db117df73cb |
parent 112597 | bc32dff943f6962ecf8c0b3e72677de5a2ef64c6 |
child 112603 | 13cf8566804c43365ae71b9e1a0f10350ccefad0 |
push id | 23833 |
push user | emorley@mozilla.com |
push date | Thu, 08 Nov 2012 10:20:57 +0000 |
treeherder | mozilla-central@e0d7b394462b [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jduell, bz |
bugs | 807276 |
milestone | 19.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/netwerk/protocol/websocket/nsIWebSocketChannel.idl +++ b/netwerk/protocol/websocket/nsIWebSocketChannel.idl @@ -7,20 +7,24 @@ interface nsIURI; interface nsIInterfaceRequestor; interface nsILoadGroup; interface nsIWebSocketListener; interface nsIInputStream; #include "nsISupports.idl" -/** - * You probably want nsI{Moz}WebSocket.idl +/** + * Low-level websocket API: handles network protocol. + * + * This is primarly intended for use by the higher-level nsIWebSocket.idl. + * We are also making it scriptable for now, but this may change once we have + * WebSockets for Workers. */ -[uuid(0683E9A4-994D-11E1-9478-1E356188709B)] +[scriptable, uuid(0683E9A4-994D-11E1-9478-1E356188709B)] interface nsIWebSocketChannel : nsISupports { /** * The original URI used to construct the protocol connection. This is used * in the case of a redirect or URI "resolution" (e.g. resolving a * resource: URI to a file: URI) so that the original pre-redirect * URI can still be obtained. This is never null. */