| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce url::Origin to represent a serialized Web Origin defined in RFC6455.
This class wraps a string representation of blink-side SecurityOrigin object.
BUG=339373
R=tyoshino@chromium.org, ricea@chromium.org
Review URL: https://codereview.chromium.org/170843007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256789 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to set |wasClean| property of CloseEvent and show the failure message
correctly, The blink-side WebSocket need to know whether the connection
is dropped because of a server request.
Blink side change is: https://codereview.chromium.org/36033003/
BUG=310405
Review URL: https://codereview.chromium.org/34753008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232921 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://docs.google.com/a/chromium.org/document/d/1fMxcEFiVj-H5vmuxhPqsxJAl98GS6_yZ-wqB6j9Wmy0/pub
for motivation and design.
Also add tests that it doesn't crash when deleted.
Also add the WebSocketDispatcherHost to the filters for IPC channels.
BUG=305515
Review URL: https://codereview.chromium.org/26544003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230712 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=307807
Review URL: https://codereview.chromium.org/27137005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229763 0039d316-1c4b-4281-b951-d872f2087c98
|
|
WebSocketDispatcherHost creates, destroys and routes messages to WebSocketHost objects. WebSocketHost objects own and communicate with net::WebSocketChannel.
Input validation is delegated to net::WebSocketChannel.
Unit tests seem to be unfashionable for these sorts of glue classes, so I haven't created any.
The code to insert WebSocketDispatcherHost as a message filter is not included in this CL, so WebSocket IPCs are still unhandled and this CL changes no behaviour.
There is a known bug in this CL that the WebSocketChannel can be deleted while it is looping through incoming messages, causing a use-after-free error. This will be fixed in a followup CL. See design for fix at https://docs.google.com/document/d/1fMxcEFiVj-H5vmuxhPqsxJAl98GS6_yZ-wqB6j9Wmy0/pub
BUG=301353
Review URL: https://codereview.chromium.org/12637007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227435 0039d316-1c4b-4281-b951-d872f2087c98
|