Josh Matthews
b9e57e1fc1
Disable 013.html
2016-10-13 07:25:53 -04:00
Ms2ger
00559f18b1
Add missing IsCallable checks.
2016-09-06 13:59:44 +02:00
Ms2ger
ae38c53de7
Dispatch error events at the window object.
2016-09-02 11:44:44 +02: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
Anthony Ramine
ea1c169894
Vindictively disable all intermittent tests that failed #9787
...
This disables the tests mentioned in #8120 , #9014 , #9033 , #9092 , #9148 , #9205 , #9772 and #9803 .
2016-02-29 20:07:07 +01:00
Chandler Abraham
c375ad5e95
disallow restricted XMLHttpRequest header prefixes
2016-02-26 11:04:33 -05: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
Rebecca
cf6fd6dafe
Add support for websocket request and response cookies
...
Also change expected behavior to pass for all in tests/wpt/web-platform-tests/websockets/cookies
2016-02-17 14:50:52 -05:00
Chandler Abraham
1ee9ccba21
add origin to location and url api
2016-01-21 11:06:41 -08:00
James Graham
4864a52312
Update web-platform-tests expected data to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 11:50:33 +00:00
James Sanders
3837b3e508
Update web-platform-tests expected data
2016-01-18 17:50:25 -07:00
bors-servo
03a0b73538
Auto merge of #9360 - jsanders:accept-protocols-sequence, r=KiChjang
...
Accept WebSocket protocols as string or sequence
Fixes #9053
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9360 )
<!-- Reviewable:end -->
2016-01-19 02:18:28 +05:30
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
James Sanders
0bffffd8f5
Make WebSocket constructor take (DOMString or sequence<DOMString>)
2016-01-17 21:33:04 -07:00
bors-servo
63923bc7c9
Auto merge of #8825 - jmr0:master, r=jdm
...
adding initial support for websocket subprotocol negotation
Addresses #8177
I also noticed some bugs/gaps (and at least one of my TODO's can be an E-Easy)
cc @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8825 )
<!-- Reviewable:end -->
2015-12-18 05:23:15 +05:30
jmr0
7d0bede8ba
adding initial support for websocket subprotocol negotation
2015-12-17 09:17:15 -05:00
Keith Yeung
db92a8b030
Treat undefined arguments in JS as missing
2015-12-12 21:13:29 -08:00
Yanir Seroussi
ad9accf8e7
Implement unspecified websocket close code (fixes issue #8158 )
2015-11-30 11:20:41 +11:00
Nikki
1d280289f1
Fixes #8213 : Implement Blob variant of WebSocket.send()
2015-11-04 21:42:10 -07:00
Jim Berlage
380a9ce22b
Adds bufferedAmount to Websocket ( fixes #7856 ).
2015-10-15 17:06:24 -05:00
bors-servo
8c81d9ab28
Auto merge of #7885 - jimberlage:7858/null-message, r=Ms2ger
...
Creates empty string when passed null
This should fix #7858 . An empty `USVString` is now used when `data` is `None`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7885 )
<!-- Reviewable:end -->
2015-10-09 09:02:45 -06:00
Jim Berlage
0ffd2f636f
Require the argument to WebSocket#send() ( fixes #7858 ).
2015-10-08 12:08:26 -05:00
vectorijk
4e21b9fa83
Fix #7855 Implement port blocking
...
For WebSocket connection algorithm
2015-10-06 07:31:33 -07:00
Ms2ger
be4f0ad8de
Update web-platform-tests to revision acd60f9e55532f03fc905e61591b7fd7db2f08d1
2015-08-26 12:14:08 +02:00
Ravi Shankar
f3db59972a
Matching over event listeners and handlers; r=Ms2ger
...
fixup! Matching over event listeners and handlers; r=Ms2ger
2015-08-18 18:11:57 +05:30
Tom Jakubowski
e92f4629db
WebSocket: Implement WebSocket#binaryType
2015-08-15 12:44:22 -07: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
b467f3e9d6
Don't try to send a message in WebSocket#close if the sender isn't present.
2015-07-16 14:29:04 +02:00
Ms2ger
48b94ec02b
Throw an InvalidStateError from WebSocket#send when it is called too early.
2015-07-14 17:27:10 +02: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
Ms2ger
c66c6af0ba
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572
2015-06-28 22:52:24 +02: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
477bfa3675
Remove the SCHEME_AND_DOMAIN constant.
...
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-15 17:29:29 +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
bors-servo
d869a3c7a8
Auto merge of #6127 - Nashenas88:websockets-invalid-urls, r=Ms2ger
...
Fix #6061 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6127 )
<!-- Reviewable:end -->
2015-05-20 01:13:57 -05:00
Paul Faria
66e9b33a52
Fixed definition of Close and Send in WebSocket.webidl and updated implementation in websocket.rs.
2015-05-19 23:59:22 -04:00
Paul Faria
31b709a7c2
Initial work on #6061 .
2015-05-19 23:54:29 -04:00
Keith Yeung
ea2bc0023b
Made open event in WebScoket not cancelable ( fixes #6101 )
2015-05-18 00:35:23 +08:00
Ms2ger
b9a01881f8
Update web-platform-tests to revision 1d3af70cfecdc12d737f50cda0f402b092797201.
2015-05-17 14:28:10 +02:00
Ms2ger
6498240340
Correct the initial value of wasClean in CloseEvent.
2015-05-06 12:36:06 +02:00