Commit graph

24 commits

Author SHA1 Message Date
Bastien Orivel
75c746655c The WS protocols should be case sensitive, not insensitive 2018-08-16 15:50:50 +02:00
Bastien Orivel
73ef02ff17 Handle secure websockets
Fixes #20816
2018-08-16 00:24:19 +02:00
Josh Matthews
1f531f66ea Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
Josh Matthews
b9e57e1fc1 Disable 013.html 2016-10-13 07:25:53 -04:00
Ms2ger
ebddcc2d7f Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f 2016-05-07 23:23:48 +02:00
Simon Sapin
7932ab6ac2 Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
Ms2ger
abcd4b654f Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64 2016-04-21 12:30:36 +02:00
Jaydeep
c96c26b4f7 Implement HTMLHyperlinkElementUtils for HTMLAnchorElement 2016-03-24 21:14:28 -04:00
Sam Gibson
4f736e6f7c Trigger WebSocket error event
Trigger a WebSocket error after receiving an invalid message from the server
2016-02-26 09:43:12 +01:00
James Sanders
0bffffd8f5 Make WebSocket constructor take (DOMString or sequence<DOMString>) 2016-01-17 21:33:04 -07:00
jmr0
7d0bede8ba adding initial support for websocket subprotocol negotation 2015-12-17 09:17:15 -05:00
Ms2ger
352229b6fa Implement WebSocket#onmessage. 2015-08-08 10:29:03 +02:00
Ms2ger
2a97ab36f7 Dispatch message events for WebSocket. 2015-08-07 10:58:33 +02:00
Josh Matthews
d385cb701b Reject websocket protocol requests that don't match https://tools.ietf.org/html/rfc6455#section-4.1 . 2015-07-22 09:35:07 -04:00
Ms2ger
86e94786ae Stop panicking while establishing a WebSocket connection. 2015-07-14 16:01:59 +02:00
Josh Matthews
15102d9c53 Update web-platform-tests expected data 2015-07-13 12:23:54 -04:00
Jinwoo Song
7781f331d3 WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.

Fixes #6082.
2015-06-16 09:45:42 +02:00
Ms2ger
e8d691aa03 Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-14 20:38:04 +02:00
Ms2ger
c670894aed Update wptrunner. 2015-06-14 18:52:07 +02:00
Ms2ger
230c4201f3 Revert "WebSocket constructor should not panic"
This reverts commit 877c369e0b.
2015-06-12 09:40:57 +02:00
Jinwoo Song
877c369e0b WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSockect connection to be closed when the connection could
not be established.

Fixes #6082.
2015-06-11 13:58:04 +02:00
Ms2ger
881fe95cd1 Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d. 2015-05-29 17:53:09 +02:00
Paul Faria
31b709a7c2 Initial work on #6061. 2015-05-19 23:54:29 -04:00
William Galliher
5afec62f07 Implement incomplete opening, sending, and closing behaviour for WebSockets using rust-websocket.
Authors:
Shivaji Vidhale <savidhal@ncsu.edu>
William Galliher <wpgallih@ncsu.edu>
Allen Chen <achen4@ncsu.edu>
Rucha Jogaikar <rsjogaik@ncsu.edu>
2015-05-05 12:17:35 -04:00