Commit graph

43 commits

Author SHA1 Message Date
Josh Matthews
665817d2a6 Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
Ms2ger
4fadf9b0b6 Update web-platform-tests to revision 7a767a52741f628430ffbbed46e7f3df68ba3534
Fixes #15648.
2017-02-20 13:52:41 +01:00
Ms2ger
d6ba94ca28 Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e 2016-12-28 11:34:21 +01:00
Ms2ger
ccdb0a3458 Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d 2016-11-15 09:35:34 +01:00
Ms2ger
79b1e6c40c Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7 2016-06-24 11:36:34 +02:00
bors-servo
f60598909a Auto merge of #11048 - servo:wpt-20160506, r=Ms2ger
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11048)
<!-- Reviewable:end -->
2016-05-10 01:12:33 -07:00
mrmiywj
dfaad2dab2 'closeevent' argument for Document::createEvent
fix alphabetical order

delete unused tests
2016-05-08 14:40:12 +08:00
Ms2ger
ebddcc2d7f Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f 2016-05-07 23:23:48 +02:00
Ms2ger
abcd4b654f Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64 2016-04-21 12:30:36 +02:00
bors-servo
0008c07dc3 Auto merge of #10014 - saurvs:pr1, r=KiChjang
Update WebSocket blocked ports to match the Fetch spec

Adresses #9949.

This adds a function that tests whether a request should be blocked or not based on it's url's scheme and port. It also adds testing for port restriction to the `main_fetch` method. More info in eb07418c83.

@Ms2ger In https://github.com/whatwg/html/issues/841, @annevk proposes to remove port restrictions from websockets. Should we go ahead do that, given that the spec hasn't been changed yet?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10014)
<!-- Reviewable:end -->
2016-03-18 00:31:24 +05:30
Saurav Sachidanand
4ddf4e7bdc Update WebSocket blocked ports to match the Fetch spec 2016-03-17 18:21:20 +05:30
Ms2ger
a91433f0c8 Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947 2016-03-15 16:34:24 +01:00
Greg Guthe
b408f840a0 test websocket origin set in worker
refs: https://github.com/servo/servo/issues/9535
2016-02-29 18:22:18 -05:00
Ms2ger
62a9bebeef Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60 2016-02-24 11:04:43 +01:00
Ms2ger
e8ed816728 Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394 2016-02-12 09:41:14 +01:00
Manish Goregaokar
396533c479 Use a .worker.js test 2016-02-04 19:27:06 +05:30
Manish Goregaokar
853d4c0e39 Add test for websockets being used from a worker 2016-02-04 00:32:13 +05:30
Manish Goregaokar
4f878b2244 Fix crash when websocket.js is used from a worker 2016-02-04 00:03:22 +05:30
bors-servo
e74021baaa Auto merge of #9400 - jmr0:websocket, r=nox
Fixing websocket subprotocol header validation

This takes care of https://github.com/servo/servo/issues/9034

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9400)
<!-- Reviewable:end -->
2016-01-25 17:01:39 +05:30
jmr0
3846cf52f2 fix websocket header validation, ensure it meets token requirements, add
testing
2016-01-24 18:31:21 -05:00
James Graham
7e8624d921 Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a 2016-01-21 10:28:30 +00:00
James Sanders
a640b9aaea Echo close reason and close code
Set code to None if it is STATUS_NO_STATUS_RECEIVED, which should not be
sent across the wire.
2016-01-18 17:37:16 -07:00
Ms2ger
1f5d8fedd4 Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390 2016-01-18 13:24:36 +01:00
Ms2ger
32efe41299 Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c 2015-11-17 10:54:05 +01:00
Nikki
1d280289f1 Fixes #8213: Implement Blob variant of WebSocket.send() 2015-11-04 21:42:10 -07:00
Ms2ger
163009575a Update web-platform-tests to revision 71a0d51d14d8b0f1b53cda3a7d39ef8765164485 2015-09-17 18:32:13 +02:00
Ms2ger
5b2ca4d132 Update web-platform-tests to revision 12d3e15e5ecae695e1216c358d613705fbff6b68 2015-07-27 16:31:27 +02:00
Ms2ger
0888e1acac Add a test for clamping in WebSocket#close. 2015-07-22 17:01:21 +02:00
Ms2ger
4c0c60a4d6 Return the parsed URL from WebSocket#url. 2015-07-13 14:21:18 +02:00
Ms2ger
c66c6af0ba Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572 2015-06-28 22:52:24 +02:00
Ms2ger
4a90f21e42 Use hostname rather than host when appending a port manually.
The host attribute returns the port as well as the hostname.
2015-06-21 16:52:17 +02:00
Ms2ger
deef342ed8 Don't try to connect to a non-existent WebSocket server on location.host:80. 2015-06-20 17:10:47 +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
d9995d9541 Revert "Don't try to connect to "ws://"+location.host+"/" in WebSocket tests."
This reverts commit 61a9f9d7d4.
2015-06-12 10:43:33 +02:00
Ms2ger
2212cacef2 Revert "Remove the SCHEME_AND_DOMAIN constant."
This reverts commit 8ddb9cfcb6.
2015-06-12 10:43:19 +02:00
Ms2ger
8ddb9cfcb6 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-11 21:25:08 +02:00
Ms2ger
61a9f9d7d4 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-11 21:16:57 +02:00
Ms2ger
881fe95cd1 Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d. 2015-05-29 17:53:09 +02:00
Ms2ger
b9a01881f8 Update web-platform-tests to revision 1d3af70cfecdc12d737f50cda0f402b092797201. 2015-05-17 14:28:10 +02:00
Ms2ger
2d49203b9c Update web-platform-tests to revision 000905d008db2538360020335bc2dbba16d322b5. 2015-04-16 18:58:53 +02:00
Ms2ger
71008d816d Update web-platform-tests. 2015-04-09 14:38:04 +02:00
James Graham
1a81b18b9f Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255 2015-04-03 23:28:54 +01:00